Package com._1c.g5.v8.dt.ui.dialog
Class ThreeStateCheckboxCellEditor
java.lang.Object
org.eclipse.jface.viewers.CellEditor
com._1c.g5.v8.dt.ui.dialog.ThreeStateCheckboxCellEditor
- Direct Known Subclasses:
VisibilityCellEditor
Three state checkbox cell editor.
-
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
ConstructorsConstructorDescriptionCreates a new checkbox cell editor with no control.ThreeStateCheckboxCellEditor
(org.eclipse.swt.widgets.Composite parent) Creates a new checkbox cell editor parented under the given control.ThreeStateCheckboxCellEditor
(org.eclipse.swt.widgets.Composite parent, boolean threeStateEditor) Creates a new checkbox cell editor parented under the given control.ThreeStateCheckboxCellEditor
(org.eclipse.swt.widgets.Composite parent, int style) Creates a new checkbox cell editor parented under the given control. -
Method Summary
Modifier and TypeMethodDescriptionvoid
activate()
void
activate
(ColumnViewerEditorActivationEvent activationEvent) protected org.eclipse.swt.widgets.Control
createControl
(org.eclipse.swt.widgets.Composite parent) protected Object
protected void
protected void
doSetValue
(Object value) Methods inherited from class org.eclipse.jface.viewers.CellEditor
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 Details
-
ThreeStateCheckboxCellEditor
public ThreeStateCheckboxCellEditor()Creates a new checkbox cell editor with no control. -
ThreeStateCheckboxCellEditor
public ThreeStateCheckboxCellEditor(org.eclipse.swt.widgets.Composite parent) Creates a new checkbox cell editor parented under the given control. The cell editor value is a check state value, which is initiallyfalse
. Initially, the cell editor has no cell validator.- Parameters:
parent
- the parent control
-
ThreeStateCheckboxCellEditor
public ThreeStateCheckboxCellEditor(org.eclipse.swt.widgets.Composite parent, boolean threeStateEditor) Creates a new checkbox cell editor parented under the given control. The cell editor value is a check state value, which is initiallyfalse
. Initially, the cell editor has no cell validator.- Parameters:
parent
- the parent control
-
ThreeStateCheckboxCellEditor
public ThreeStateCheckboxCellEditor(org.eclipse.swt.widgets.Composite parent, int style) Creates a new checkbox cell editor parented under the given control. The cell editor value is a state check value, which is initiallyfalse
. Initially, the cell editor has no cell validator.- Parameters:
parent
- the parent controlstyle
- the style bits
-
-
Method Details
-
activate
public void activate()- Overrides:
activate
in classCellEditor
-
activate
- Overrides:
activate
in classCellEditor
-
createControl
protected org.eclipse.swt.widgets.Control createControl(org.eclipse.swt.widgets.Composite parent) - Specified by:
createControl
in classCellEditor
-
doGetValue
- Specified by:
doGetValue
in classCellEditor
-
doSetFocus
protected void doSetFocus()- Specified by:
doSetFocus
in classCellEditor
-
doSetValue
- Specified by:
doSetValue
in classCellEditor
-