public interface IModelCellEditor
Modifier and Type | Method and Description |
---|---|
Control |
activateCell(Composite parent,
java.lang.Object originalValue,
IModelCellEditHandler editHandler,
EStructuralFeature feature,
EObject source)
Initialize a cell for edition.
|
java.lang.Object |
getValue() |
Control activateCell(Composite parent, java.lang.Object originalValue, IModelCellEditHandler editHandler, EStructuralFeature feature, EObject source)
parent
- the SWT control that must contain the cell editororiginalValue
- the original value of the cell being edited (that should be
displayed in the control initially)editHandler
- call IModelCellEditHandler.commit()
when the user
"commits" the value (for example by hitting enter in a text
cell editor)feature
- the model feature for which the value is editedsource
- the object containing the attribute or referenceControl
to be used for capturing the new cell
valuejava.lang.Object getValue()
IModelCellEditHandler.commit()
is called.