public interface ICellEditorListener
This interface should be implemented by classes that wish to react to cell editor activity.
Note: the cell editor is not passed as a parameter to any of these methods; so the assumption is that the listener knows which cell editor is talking to it.
|Modifier and Type||Method and Description|
Notifies that the end user has requested applying a value.
Notifies that the end user has canceled editing.
Notifies that the end user is changing the value in the cell editor.
The normal reaction is to update the model with the current cell editor value. However, if the value is not valid, it should not be applied. A typical text-based cell editor would send this message when the end user hits Return, whereas other editors would send it whenever their value changes.
void editorValueChanged(boolean oldValidState, boolean newValidState)
newValidState parameter is
the new value may be retrieved by calling
on the appropriate cell editor.
oldValidState- the valid state before the end user changed the value
newValidState- the current valid state
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.