Class AutoPositionEditingSupport
java.lang.Object
org.eclipse.jface.viewers.EditingSupport
com._1c.g5.v8.dt.form.internal.ui.providers.cmi.CommandInterfaceEditingSupport<Boolean>
com._1c.g5.v8.dt.form.internal.ui.providers.cmi.AutoPositionEditingSupport
The editing support for edits auto position of auto form CI item
-
Field Summary
Fields inherited from class com._1c.g5.v8.dt.form.internal.ui.providers.cmi.CommandInterfaceEditingSupport
cell, editingContext, factory
-
Constructor Summary
ConstructorsConstructorDescriptionAutoPositionEditingSupport
(ColumnViewer column, IBmEditingContext editingContext, IModelObjectFactory factory, IDataSourceInfoAssociationService associationService, IRuntimeVersionSupport versionSupport) Creates a new editing support -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
protected Boolean
doGetValue
(GroupItem<?> item) This method get value for editsprotected CellEditor
getCellEditor
(Object element) protected IBmTask<?>
Craetes a bm taskMethods inherited from class com._1c.g5.v8.dt.form.internal.ui.providers.cmi.CommandInterfaceEditingSupport
deactive, getValue, initializeCellEditorValue, setValue
Methods inherited from class org.eclipse.jface.viewers.EditingSupport
getViewer, saveCellEditorValue
-
Constructor Details
-
AutoPositionEditingSupport
public AutoPositionEditingSupport(ColumnViewer column, IBmEditingContext editingContext, IModelObjectFactory factory, IDataSourceInfoAssociationService associationService, IRuntimeVersionSupport versionSupport) Creates a new editing support- Parameters:
column
- the swt columm. Can not benull
.editingContext
- the bm editing context.Can not benull
.factory
- the factory for a model of forms.Can not benull
.associationService
- the association service. Can not benull
.versionSupport
- the version edition support. Can not benull
.
-
-
Method Details
-
getCellEditor
- Specified by:
getCellEditor
in classEditingSupport
-
canEdit
- Overrides:
canEdit
in classCommandInterfaceEditingSupport<Boolean>
-
doGetValue
Description copied from class:CommandInterfaceEditingSupport
This method get value for edits- Specified by:
doGetValue
in classCommandInterfaceEditingSupport<Boolean>
- Parameters:
item
- the Form Command interface item- Returns:
- returns a editing value
-
getTask
Description copied from class:CommandInterfaceEditingSupport
Craetes a bm task- Specified by:
getTask
in classCommandInterfaceEditingSupport<Boolean>
- Parameters:
item
- the Form Command interface itemvalue
- was a editing value- Returns:
- the bm task
-