Class CommandInterfaceEditingSupport<T>
java.lang.Object
org.eclipse.jface.viewers.EditingSupport
com._1c.g5.v8.dt.form.internal.ui.providers.cmi.CommandInterfaceEditingSupport<T>
- Record Components:
T
- is a editing value type
- Direct Known Subclasses:
AutoPositionEditingSupport
,AutoVisibilityEditingSupport
,VisibilityEditingSupport
This editing support for Commond interface viewer of the form editor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ViewerCell
protected final IBmEditingContext
protected final IModelObjectFactory
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CommandInterfaceEditingSupport
(ColumnViewer viewer, IBmEditingContext editingContext, IModelObjectFactory factory) Initialize all abstract variables. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
protected void
deactive()
This method calls when the editing support was deactivatingprotected abstract T
doGetValue
(GroupItem<?> item) This method get value for editsprotected abstract IBmTask<?>
Craetes a bm taskprotected Object
protected void
initializeCellEditorValue
(CellEditor cellEditor, ViewerCell cell) protected void
Methods inherited from class org.eclipse.jface.viewers.EditingSupport
getCellEditor, getViewer, saveCellEditorValue
-
Field Details
-
editingContext
-
factory
-
cell
-
-
Constructor Details
-
CommandInterfaceEditingSupport
protected CommandInterfaceEditingSupport(ColumnViewer viewer, IBmEditingContext editingContext, IModelObjectFactory factory) Initialize all abstract variables.- Parameters:
viewer
- the viewer. Thenull
is not support.support
- the bm editing support. Thenull
is not support.factory
- the form model factory Thenull
is not support.
-
-
Method Details
-
initializeCellEditorValue
- Overrides:
initializeCellEditorValue
in classEditingSupport
-
deactive
protected void deactive()This method calls when the editing support was deactivating -
canEdit
- Specified by:
canEdit
in classEditingSupport
-
getValue
- Specified by:
getValue
in classEditingSupport
-
setValue
- Specified by:
setValue
in classEditingSupport
-
doGetValue
This method get value for edits- Parameters:
item
- the Form Command interface item- Returns:
- returns a editing value
-
getTask
Craetes a bm task- Parameters:
item
- the Form Command interface itemvalue
- was a editing value- Returns:
- the bm task
-