Class ConfigurationCompatibilityModeComponent
- 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,ComboSelectViewModel>
-
- com._1c.g5.v8.dt.ui.aef.component.AbstractDtComboSelectComponent<T,IValue<T>,IEnumParameterization>
-
- com._1c.g5.v8.dt.ui.aef.component.EnumComponent<CompatibilityMode>
-
- com._1c.g5.v8.dt.md.ui.aef.components.ConfigurationCompatibilityModeComponent
-
- All Implemented Interfaces:
IComponent<IValue<CompatibilityMode>>
,IEventChannel
public class ConfigurationCompatibilityModeComponent extends EnumComponent<CompatibilityMode>
Configuration compatibility mode component.
-
-
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 Constructor Description ConfigurationCompatibilityModeComponent(IEnumParameterization parameterization)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
commit()
Commits this component changes to the model.protected IMapper<CompatibilityMode,ComboItemViewModel>
createMapper()
Creates aIMapper
instance that maps the model objects to the combo item view model objects.protected Collection<CompatibilityMode>
getComboItems()
Returns a collection of the model items that be available at the combo.-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.component.EnumComponent
createEnumLabelProvider, dispose
-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.component.AbstractDtComboSelectComponent
createControlViewModel
-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.component.AbstractDtSelectComponent
createButtonItem, createButtons, createClearButtonItem, createOpenButtonItem, createSelectButtonItem, createViewModels, 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, 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
-
ConfigurationCompatibilityModeComponent
public ConfigurationCompatibilityModeComponent(IEnumParameterization parameterization)
Constructor.- Parameters:
parameterization
- the parameterization filter
-
-
Method Detail
-
commit
public void commit()
Description copied from interface:IComponent
Commits this component changes to the model.- Specified by:
commit
in interfaceIComponent<IValue<CompatibilityMode>>
- Overrides:
commit
in classComponent<IValue<CompatibilityMode>,IEnumParameterization>
-
createMapper
protected IMapper<CompatibilityMode,ComboItemViewModel> createMapper()
Description copied from class:AbstractDtComboSelectComponent
Creates aIMapper
instance that maps the model objects to the combo item view model objects.- Overrides:
createMapper
in classEnumComponent<CompatibilityMode>
- Returns:
- the
IMapper
-
getComboItems
protected Collection<CompatibilityMode> getComboItems()
Description copied from class:AbstractDtComboSelectComponent
Returns a collection of the model items that be available at the combo.- Overrides:
getComboItems
in classEnumComponent<CompatibilityMode>
- Returns:
- the collection of the objects.
-
-