Class RightsCheckboxCellEditor
- java.lang.Object
-
- org.eclipse.jface.viewers.CellEditor
-
- com._1c.g5.v8.dt.rights.ui.editors.rights.RightsCheckboxCellEditor
-
public class RightsCheckboxCellEditor extends CellEditor
The implementation ofCellEditor
for rights.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jface.viewers.CellEditor
CellEditor.LayoutData
-
-
Field Summary
-
Fields inherited from class org.eclipse.jface.viewers.CellEditor
COPY, CUT, DELETE, FIND, PASTE, REDO, SELECT_ALL, UNDO
-
-
Constructor Summary
Constructors Constructor Description RightsCheckboxCellEditor(org.eclipse.swt.widgets.Composite parent, boolean isThreeState, IRightsEditorController controller)
Creates a new checkbox cell editor parented under the given control.RightsCheckboxCellEditor(org.eclipse.swt.widgets.Composite parent, IRightsEditorController controller)
Creates a new two states checkbox cell editor parented under the given control.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activate(ColumnViewerEditorActivationEvent activationEvent)
protected org.eclipse.swt.widgets.Control
createControl(org.eclipse.swt.widgets.Composite parent)
protected Object
doGetValue()
protected void
doSetFocus()
protected void
doSetValue(Object value)
-
Methods inherited from class org.eclipse.jface.viewers.CellEditor
activate, addListener, addPropertyChangeListener, create, deactivate, deactivate, dependsOnExternalFocusListener, dispose, fireApplyEditorValue, fireCancelEditor, fireEditorValueChanged, fireEnablementChanged, focusLost, getControl, getDoubleClickTimeout, getErrorMessage, getLayoutData, getStyle, getValidator, getValue, isActivated, isCopyEnabled, isCorrect, isCutEnabled, isDeleteEnabled, isDirty, isFindEnabled, isPasteEnabled, isRedoEnabled, isSelectAllEnabled, isUndoEnabled, isValueValid, keyReleaseOccured, markDirty, performCopy, performCut, performDelete, performFind, performPaste, performRedo, performSelectAll, performUndo, removeListener, removePropertyChangeListener, setErrorMessage, setFocus, setStyle, setValidator, setValue, setValueValid, valueChanged
-
-
-
-
Constructor Detail
-
RightsCheckboxCellEditor
public RightsCheckboxCellEditor(org.eclipse.swt.widgets.Composite parent, IRightsEditorController controller)
Creates a new two states checkbox cell editor parented under the given control.- Parameters:
parent
- the parent control, cannot benull
controller
- the rights editor controller, cannot benull
-
RightsCheckboxCellEditor
public RightsCheckboxCellEditor(org.eclipse.swt.widgets.Composite parent, boolean isThreeState, IRightsEditorController controller)
Creates a new checkbox cell editor parented under the given control.- Parameters:
parent
- the parent control, cannot benull
isThreeState
-true
if the checkbook of the editor can make three states andfalse
otherwisecontroller
- the rights editor controller, cannot benull
-
-
Method Detail
-
activate
public void activate(ColumnViewerEditorActivationEvent activationEvent)
- Overrides:
activate
in classCellEditor
-
createControl
protected org.eclipse.swt.widgets.Control createControl(org.eclipse.swt.widgets.Composite parent)
- Specified by:
createControl
in classCellEditor
-
doGetValue
protected Object doGetValue()
- Specified by:
doGetValue
in classCellEditor
-
doSetFocus
protected void doSetFocus()
- Specified by:
doSetFocus
in classCellEditor
-
doSetValue
protected void doSetValue(Object value)
- Specified by:
doSetValue
in classCellEditor
-
-