Class AbstractDtActionBarComponent<M extends IModel,P extends IDtActionBarParameterization>
- 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<M,P,ActionBarViewModel>
-
- com._1c.g5.v8.dt.ui.aef.component.AbstractDtActionBarComponent<M,P>
-
- All Implemented Interfaces:
IComponent<M>
,IEventChannel
- Direct Known Subclasses:
AbstractDtActionBarHandlerSelectComponent
,AbstractDtListActionBarComponent
,AbstractDtReadonlyActionBarComponent
,AbstractMultilanguageComponent
,AbstractSingleLanguageComponent
,DtValueActionBarComponent
public abstract class AbstractDtActionBarComponent<M extends IModel,P extends IDtActionBarParameterization> extends AbstractDtSelectComponent<M,P,ActionBarViewModel>
Base component for components that works with model that can be represented as string. Is used for successor components that gives an opportunity to select value from dialog, clear value etc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponent
StandardComponent.BindingDirection
-
-
Field Summary
-
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 Modifier Constructor Description protected
AbstractDtActionBarComponent(P parameterization)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ActionBarViewModel
createControlViewModel()
Creates control view model instance.-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.component.AbstractDtSelectComponent
createButtonItem, createButtons, createClearButtonItem, createOpenButtonItem, createSelectButtonItem, createViewModels, dispose, handleButtonClicked
-
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, attachToModel, beginExternalUpdate, checkComponents, checkViewModels, commit, createComponents, detachFromModel, 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
-
-
-
-
Constructor Detail
-
AbstractDtActionBarComponent
protected AbstractDtActionBarComponent(P parameterization)
Creates a new instance.- Parameters:
parameterization
- the parameterization.
-
-
Method Detail
-
createControlViewModel
protected ActionBarViewModel createControlViewModel()
Description copied from class:AbstractControlComponent
Creates control view model instance.- Specified by:
createControlViewModel
in classAbstractControlComponent<M extends IModel,P extends IDtActionBarParameterization,ActionBarViewModel>
- Returns:
- a newly created control view model.
-
-