Class VisibilityEditingSupport
java.lang.Object
org.eclipse.jface.viewers.EditingSupport
com._1c.g5.v8.dt.form.internal.ui.providers.cmi.CommandInterfaceEditingSupport<AdjustableBoolean>
com._1c.g5.v8.dt.form.internal.ui.providers.cmi.VisibilityEditingSupport
This editing support edits a user visibility for a form command inteface items
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
The cell editor for edits user visibility -
Field Summary
Fields inherited from class com._1c.g5.v8.dt.form.internal.ui.providers.cmi.CommandInterfaceEditingSupport
cell, editingContext, factory
-
Constructor Summary
ConstructorsConstructorDescriptionVisibilityEditingSupport
(ColumnViewer column, IBmEditingContext editingContext, IModelObjectFactory factory, IDataSourceInfoAssociationService associationService, IRuntimeVersionSupport versionSupport, IV8Project v8project) Creates a new editing support. -
Method Summary
Modifier and TypeMethodDescriptionprotected AdjustableBoolean
doGetValue
(GroupItem<?> item) This method get value for editsprotected CellEditor
getCellEditor
(Object element) protected IBmTask<?>
getTask
(GroupItem<?> item, AdjustableBoolean value) Craetes a bm taskprotected void
initializeCellEditorValue
(CellEditor cellEditor, ViewerCell cell) Methods inherited from class com._1c.g5.v8.dt.form.internal.ui.providers.cmi.CommandInterfaceEditingSupport
canEdit, deactive, getValue, setValue
Methods inherited from class org.eclipse.jface.viewers.EditingSupport
getViewer, saveCellEditorValue
-
Constructor Details
-
VisibilityEditingSupport
public VisibilityEditingSupport(ColumnViewer column, IBmEditingContext editingContext, IModelObjectFactory factory, IDataSourceInfoAssociationService associationService, IRuntimeVersionSupport versionSupport, IV8Project v8project) Creates a new editing support.- Parameters:
column
- the column viewer. Can not benull
.editingContext
- the bm editing context. Can not benull
.factory
- the factory for a model of forms.Can not benull
.versionSupport
- the version edition support. Can not benull
.associationService
- the association service. Can not benull
.v8project
- the V8 project, cannot benull
-
-
Method Details
-
getCellEditor
- Specified by:
getCellEditor
in classEditingSupport
-
initializeCellEditorValue
- Overrides:
initializeCellEditorValue
in classCommandInterfaceEditingSupport<AdjustableBoolean>
-
doGetValue
Description copied from class:CommandInterfaceEditingSupport
This method get value for edits- Specified by:
doGetValue
in classCommandInterfaceEditingSupport<AdjustableBoolean>
- 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<AdjustableBoolean>
- Parameters:
item
- the Form Command interface itemvalue
- was a editing value- Returns:
- the bm task
-