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
-
public class ThreeStateCheckboxCellEditor extends CellEditor
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
Constructors Constructor Description ThreeStateCheckboxCellEditor()
Creates 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activate()
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
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
-
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 Detail
-
activate
public void activate()
- Overrides:
activate
in classCellEditor
-
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
-
-