public interface ICellPropertyEditor
extends IColumnPropertyEditor
An interface for a custom property editor that want to contribute to the construction of complex properties. In addition, implementers of this interface are expected to manage UI controls used for the cell editing.
It is up to the corresponding CellEditor class to create an actual widget
for cell editing. Implementers of this interface, will be provided this
cell editing widget via setControls
method by the Complex
Property framework. They are expected to modify following methods to keep
their state in synch wit the cell editing UI widget
IPropertyEditor#getValue
IPropertyEditor#setCurrentValue
IPropertyEditor#notifyChanged
Field | Description |
---|---|
copyright |
Method | Description |
---|---|
void setCellControls(CellEditor) | Setter method for the Control used for cell editing. |
void updateEnumChoices() | Method that updates user choices for this property. |
public static final java.lang.String copyright
public void setCellControls(CellEditor control)Setter method for the
Control
used for cell editing. ThisControl
is created by the corresponding CellEditor and passed into the ICellPropertyEditor to keep it up-to-date with changes in other property editors.
- Parameters
- Control -
public void updateEnumChoices()Method that updates user choices for this property. Typically, used by the property editor that provide
COMBOBOX_CELL_EDITOR
orEDITABLE_COMBOBOX_CELL_EDITOR
as their CellEditor type.It is invoked by the Complex Property framework during activation of the cell editor.