public interface ICellEditorProvider
Modifier and Type | Method and Description |
---|---|
CellEditor |
createCellEditor(Composite parent)
Creates the cell editor on the given parent composite.
|
void |
relocate(CellEditor cellEditor,
org.eclipse.draw2d.IFigure figure)
Relocates a CellEditor.
|
CellEditor createCellEditor(Composite parent)
protected abstract Object doGetValue();
protected abstract void doSetValue(Object value);
CellEditor
must handle String
as value.
Otherwise the framework cannot interact with the cell editor.
The customer is also responsible to set a correct
ICellEditorValidator
on the CellEditor
if input
validation is needed.parent
- the parent composite to create the cell editor onvoid relocate(CellEditor cellEditor, org.eclipse.draw2d.IFigure figure)
cellEditor
- the CellEditorfigure
- the text figure on which direct editing was initiated