The ICellEditor is never triggered? [message #998633] |
Thu, 10 January 2013 06:47  |
Eclipse User |
|
|
|
I created an ICellEditor and registered it as following:
configRegistry.registerConfigAttribute(EditConfigAttributes.CELL_EDITABLE_RULE, IEditableRule.ALWAYS_EDITABLE, DisplayMode.EDIT, "LABEL1");
configRegistry.registerConfigAttribute(EditConfigAttributes.CELL_EDITOR, new Table_CellEditor(), DisplayMode.EDIT, "LABEL1");
When using the TextCellEditor instead of Table_CellEditor - it works.
But none of the methods inside the Table_CellEditor is triggered.
What could be the reason?
[Updated on: Thu, 10 January 2013 06:47] by Moderator
|
|
|
|
|
Re: The ICellEditor is never triggered? [message #1005899 is a reply to message #998765] |
Tue, 29 January 2013 04:09  |
Eclipse User |
|
|
|
With the current refactoring of editing in NatTable, the BodyCellEditorMouseEventMatcher is deprecated, replaced with the CellEditorMouseEventMatcher. The first one checked if an editor is registered and if it is of the specified type. The new one only checks if an editor is registered. This has the advantage that you do not have to register a matcher for every cell editor you are adding. For editors that should not be activated if you click at any position of a cell (e.g. CheckboxCellEditor), you still need to register a special matcher.
|
|
|
Powered by
FUDForum. Page generated in 0.05408 seconds