Class ValueCellEditor


  • public class ValueCellEditor
    extends CellEditor
    Cell editor implementation for Value editing. Based on ValueEditorHost control.

    Client intended to invoke CellEditor.create(Composite) method manually. Example of usage:

     CellEditor editor =
         new ValueCellEditor(new ValueRecord(
             attribute.getType(),
             attribute.getType().getTypes().get(0),
             attribute.getFillValue()), table, toolkit);
     editor.create(table);
     

    • Constructor Detail

      • ValueCellEditor

        public ValueCellEditor​(ValueRecord valueRecord,
                               org.eclipse.swt.widgets.Composite parent,
                               org.eclipse.ui.forms.widgets.FormToolkit toolkit,
                               IV8Project v8Project,
                               boolean isEditable)
        Constructor of ValueCellEditor.
        Parameters:
        valueRecord - value record to construct cell editor, cannot be null
        toolkit - form toolkit to construct cell editor, cannot be null
        v8Project - the v8 project, can be null
        isEditable - , true if editable, false otherwise