Class ConditionalAppearanceEditingSupport
- java.lang.Object
-
- org.eclipse.jface.viewers.EditingSupport
-
- com._1c.g5.v8.dt.dcs.ui.settings.conditional.ConditionalAppearanceEditingSupport
-
public class ConditionalAppearanceEditingSupport extends EditingSupport
EditingSupport of conditional appearance
-
-
Constructor Summary
Constructors Constructor Description ConditionalAppearanceEditingSupport(ConditionalAppearance conditionalAppearance, ColumnViewer viewer, org.eclipse.swt.widgets.Composite parent, IV8Project v8project, int columnIndex, boolean editable)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEdit(Object element)
protected CellEditor
getCellEditor(Object element)
protected Object
getValue(Object element)
protected void
setValue(Object element, Object valueNew)
-
Methods inherited from class org.eclipse.jface.viewers.EditingSupport
getViewer, initializeCellEditorValue, saveCellEditorValue
-
-
-
-
Constructor Detail
-
ConditionalAppearanceEditingSupport
public ConditionalAppearanceEditingSupport(ConditionalAppearance conditionalAppearance, ColumnViewer viewer, org.eclipse.swt.widgets.Composite parent, IV8Project v8project, int columnIndex, boolean editable)
Constructor- Parameters:
conditionalAppearance
- conditional appearanceviewer
- parent viewerparent
- parent compositev8project
- the V8 project, cannot benull
columnIndex
- column indexeditable
- the editable state,true
if this cell is editable,false
otherwise
-
-
Method Detail
-
getCellEditor
protected CellEditor getCellEditor(Object element)
- Specified by:
getCellEditor
in classEditingSupport
-
canEdit
protected boolean canEdit(Object element)
- Specified by:
canEdit
in classEditingSupport
-
getValue
protected Object getValue(Object element)
- Specified by:
getValue
in classEditingSupport
-
setValue
protected void setValue(Object element, Object valueNew)
- Specified by:
setValue
in classEditingSupport
-
-