| java.lang.Object org.eclipse.jface.viewers.EditingSupport
EditingSupport | abstract public class EditingSupport (Code) | | EditingSupport is the abstract superclass of the support for cell editing.
since: 3.3 |
EditingSupport | public EditingSupport(ColumnViewer viewer)(Code) | | Parameters: viewer - a new viewer |
canEdit | abstract protected boolean canEdit(Object element)(Code) | | Is the cell editable
Parameters: element - the model element true if editable |
getCellEditor | abstract protected CellEditor getCellEditor(Object element)(Code) | | The editor to be shown
Parameters: element - the model element the CellEditor |
getValue | abstract protected Object getValue(Object element)(Code) | | Get the value to set to the editor
Parameters: element - the model element the value shown |
initializeCellEditorValue | protected void initializeCellEditorValue(CellEditor cellEditor, ViewerCell cell)(Code) | | Initialize the editor. Frameworks like Databinding can hook in here and provide
a customized implementation. Standard customers should not overwrite this method but
EditingSupport.getValue(Object)
Parameters: cellEditor - the cell editor Parameters: cell - the cell the editor is working for |
isLegacySupport | boolean isLegacySupport()(Code) | | |
saveCellEditorValue | protected void saveCellEditorValue(CellEditor cellEditor, ViewerCell cell)(Code) | | Save the value of the cell editor back to the model. Frameworks like Databinding can hook in here and provide
a customized implementation. Standard customers should not overwrite this method but
EditingSupport.setValue(Object,Object)
Parameters: cellEditor - the cell-editor Parameters: cell - the cell the editor is working for |
setValue | abstract protected void setValue(Object element, Object value)(Code) | | Restore the value from the CellEditor
Subclasses should overwrite!
Parameters: element - the model element Parameters: value - the new value |
|
|