|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICellEditorProvider
The Interface ICellEditorProvider. Clients can use this interface to provide their own cell editors for direct editing. The direct editing feature must simply implement this interface.
Method Summary | |
---|---|
CellEditor |
createCellEditor(Composite parent)
Creates the cell editor on the given parent composite. |
void |
relocate(CellEditor cellEditor,
IFigure figure)
Relocates a CellEditor. |
Method Detail |
---|
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 on
void relocate(CellEditor cellEditor, IFigure figure)
cellEditor
- the CellEditorfigure
- the text figure on which direct editing was initiated
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |