Community
Participate
Working Groups
I didn't found any report on this, but I think it is a bug. TableEditorImpl calls ICellModifier (at line 314) like this cellModifier.modify(tableItem, property, cellEditor.getValue()); but I think it should be cellModifier.modify(tableItem.getData(), property, cellEditor.getValue()); ^^^^^^^^^^ so that it's symmetrical with ICellModifier.getValue regards, Vlad
It is ridiculous that both the ICellModifier#getValue and ICellModifier#canModify methods both use the user's domain object while the ICellModifier#modify method uses the eclipse TableItem object.
I agree, unfortunately published API (even when broken) is cast in stone once published since we have no way of knowing who we'd break if we changed the semantics of the call. That's likely why the javadoc gives the workaround... Things like this usually get picked up in a 'sweep' that results in new API while honoring the old API (and we recognize that the CellEditor / PropertySheetPage etc desperately need one...;-).
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.