Class CellEditorCreatedEvent
java.lang.Object
org.eclipse.nebula.widgets.nattable.edit.CellEditorCreatedEvent
- All Implemented Interfaces:
ILayerEvent
The
CellEditorCreatedEvent
is fired by the
EditController whenever a editor has
been created.
Please keep in mind that there is no event fired when the editor is destroyed. Clients should associate a dispose listener to the editor widget to be informed whenever the editor get destroyed.
This event is typically consumed by the NatTable
itself to keep track
of the active editor. Any other layer may also consume this event to do
whatever necessary.
-
Constructor Summary
ConstructorDescriptionCellEditorCreatedEvent
(ICellEditor editor) Creates a new event passing the created editor -
Method Summary
Modifier and TypeMethodDescriptionboolean
convertToLocal
(ILayer localLayer) Convert the column/row positions carried by the event to the layer about to handle the event.Returns the editor associated with this event.
-
Constructor Details
-
CellEditorCreatedEvent
Creates a new event passing the created editor- Parameters:
editor
- the new editor
-
-
Method Details
-
convertToLocal
Description copied from interface:ILayerEvent
Convert the column/row positions carried by the event to the layer about to handle the event.- Specified by:
convertToLocal
in interfaceILayerEvent
- Parameters:
localLayer
- layer about to receive the event- Returns:
- TRUE if successfully converted, FALSE otherwise
-
cloneEvent
- Specified by:
cloneEvent
in interfaceILayerEvent
- Returns:
- A cloned copy of the event. This cloned copy is provided to each listener.
-
getEditor
Returns the editor associated with this event.- Returns:
- the created editor
-