Class ValueEditingSupport
- java.lang.Object
-
- org.eclipse.jface.viewers.EditingSupport
-
- com._1c.g5.v8.dt.dcs.ui.valueeditors.ValueEditingSupport
-
public class ValueEditingSupport extends EditingSupport
EditingSupport значения
-
-
Constructor Summary
Constructors Constructor Description ValueEditingSupport(ColumnViewer viewer, org.eclipse.swt.widgets.Composite widget, IV8Project v8project, IBmEditingContext editingContext, boolean editable)
-
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
-
ValueEditingSupport
public ValueEditingSupport(ColumnViewer viewer, org.eclipse.swt.widgets.Composite widget, IV8Project v8project, IBmEditingContext editingContext, boolean editable)
- Parameters:
viewer
- родительский viewerwidget
- родительv8project
- the V8 project, cannot benull
editingContext
- the BM editing context, can't be nulleditable
- the editable state,true
if this value 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
-
-