Class GraphicalSchemeLineComponent
- java.lang.Object
-
- com._1c.g5.aef2.components.Component<M,P>
-
- com._1c.g5.aef2.standard.components.StandardComponent<M,P>
-
- com._1c.g5.aef2.standard.components.AbstractControlComponent<M,P,VM>
-
- com._1c.g5.v8.dt.ui.aef.component.AbstractDtSelectComponent<IModel,IComboSelectParameterization,ComboSelectViewModel>
-
- com._1c.g5.v8.dt.bp.scheme.ui.aef.components.GraphicalSchemeLineComponent
-
- All Implemented Interfaces:
IComponent<IModel>
,IEventChannel
public class GraphicalSchemeLineComponent extends AbstractDtSelectComponent<IModel,IComboSelectParameterization,ComboSelectViewModel>
Component forGraphicalSchemeLine
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponent
StandardComponent.BindingDirection
-
-
Field Summary
Fields Modifier and Type Field Description static org.eclipse.emf.ecore.EEnum
ENUM_TYPE
static com._1c.g5.v8.dt.bp.scheme.ui.aef.components.GraphicalSchemeLineComponent.GraphicalSchemeLineTypeLabelProvider
GRAPHICAL_SCHEME_LINE_TYPE_LABEL_PROVIDER
Label provider.-
Fields inherited from class com._1c.g5.v8.dt.ui.aef.component.AbstractDtSelectComponent
CLEAR_BUTTON_COMMAND_ID, DEFAULT_CONTEXT, OPEN_BUTTON_COMMAND_ID, SELECT_BUTTON_COMMAND_ID
-
-
Constructor Summary
Constructors Constructor Description GraphicalSchemeLineComponent(IComboSelectParameterization parameterization)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
attachToModel()
Attaches this component to the model.protected Collection<ButtonItemViewModel>
createButtons()
Creates a collection of theButtonItemViewModel
that will be added to the component view model.protected ComboSelectViewModel
createControlViewModel()
Creates control view model instance.protected void
detachFromModel()
Detaches this component from the model.protected void
handleButtonClicked(IViewModel viewModel)
Handles the button clicked event.-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.component.AbstractDtSelectComponent
createButtonItem, createClearButtonItem, createOpenButtonItem, createSelectButtonItem, createViewModels, dispose
-
Methods inherited from class com._1c.g5.aef2.standard.components.AbstractControlComponent
disposeViewModels, getControlViewModel, handleExternalValidationEvent, isEditable, refresh, setLayoutData, updateViewModels
-
Methods inherited from class com._1c.g5.aef2.standard.components.StandardComponent
bindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, getLayoutData, isEnabled, isPassive, setEnabled, setFocus, updateViewModelStatus
-
Methods inherited from class com._1c.g5.aef2.components.Component
addComponent, addListener, addViewModel, areChildCommitsEnabled, areChildRefreshEnabled, areComponentsCreated, beginExternalUpdate, checkComponents, checkViewModels, commit, createComponents, disposeComponents, endExternalUpdate, getComponents, getModel, getParameterization, getParent, getRunnableQueue, getScene, getServiceEventQualifiers, getViewModels, isDisposed, isInExternalUpdate, queueAndWaitEvent, queueEvent, removeComponent, removeListener, removeViewModel, setChildCommitsEnabled, setChildRefreshEnable, setModel, setParent, setScene, subscribeOnEvents, subscribeOnEvents, unsubscribeOnEvents
-
-
-
-
Field Detail
-
ENUM_TYPE
public static final org.eclipse.emf.ecore.EEnum ENUM_TYPE
-
GRAPHICAL_SCHEME_LINE_TYPE_LABEL_PROVIDER
public static final com._1c.g5.v8.dt.bp.scheme.ui.aef.components.GraphicalSchemeLineComponent.GraphicalSchemeLineTypeLabelProvider GRAPHICAL_SCHEME_LINE_TYPE_LABEL_PROVIDER
Label provider.
-
-
Constructor Detail
-
GraphicalSchemeLineComponent
public GraphicalSchemeLineComponent(IComboSelectParameterization parameterization)
Constructor.- Parameters:
parameterization
- - component parametrization.
-
-
Method Detail
-
attachToModel
protected void attachToModel()
Description copied from class:Component
Attaches this component to the model. Override it to add some listeners to the model.- Overrides:
attachToModel
in classComponent<IModel,IComboSelectParameterization>
-
detachFromModel
protected void detachFromModel()
Description copied from class:Component
Detaches this component from the model. Override it to remove listeners from the model.- Overrides:
detachFromModel
in classComponent<IModel,IComboSelectParameterization>
-
createControlViewModel
protected ComboSelectViewModel createControlViewModel()
Description copied from class:AbstractControlComponent
Creates control view model instance.- Specified by:
createControlViewModel
in classAbstractControlComponent<IModel,IComboSelectParameterization,ComboSelectViewModel>
- Returns:
- a newly created control view model.
-
handleButtonClicked
protected void handleButtonClicked(IViewModel viewModel)
Description copied from class:AbstractDtSelectComponent
Handles the button clicked event.- Overrides:
handleButtonClicked
in classAbstractDtSelectComponent<IModel,IComboSelectParameterization,ComboSelectViewModel>
- Parameters:
viewModel
- the view model of the event sender.
-
createButtons
protected Collection<ButtonItemViewModel> createButtons()
Description copied from class:AbstractDtSelectComponent
Creates a collection of theButtonItemViewModel
that will be added to the component view model.- Overrides:
createButtons
in classAbstractDtSelectComponent<IModel,IComboSelectParameterization,ComboSelectViewModel>
- Returns:
- the collection of the
ButtonItemViewModel
.
-
-