Class TemplateEditingSupport
- java.lang.Object
-
- org.eclipse.jface.viewers.EditingSupport
-
- com._1c.g5.v8.dt.dcs.ui.templates.editing.TemplateEditingSupport
-
public class TemplateEditingSupport extends EditingSupport
EditingSupport
for template data.
-
-
Constructor Summary
Constructors Constructor Description TemplateEditingSupport(Templates templates, ColumnViewer viewer, org.eclipse.swt.widgets.Composite parent)
Creates new instance ofTemplateEditingSupport
-
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
-
TemplateEditingSupport
public TemplateEditingSupport(Templates templates, ColumnViewer viewer, org.eclipse.swt.widgets.Composite parent)
Creates new instance ofTemplateEditingSupport
- Parameters:
templates
- the templates, cannot benull
viewer
-ColumnViewer
parent
- parentComposite
-
-
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
-
-