Class AutoVisibilityEditingSupport
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.AutoVisibilityEditingSupport
The Editing support for an auto form command interface autovisibility column.
-
Field Summary
Fields inherited from class com._1c.g5.v8.dt.form.internal.ui.providers.cmi.CommandInterfaceEditingSupport
cell, editingContext, factory
-
Constructor Summary
ConstructorsConstructorDescriptionAutoVisibilityEditingSupport
(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
-
AutoVisibilityEditingSupport
public AutoVisibilityEditingSupport(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 eduting 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
-