Class ExtendedTypeDescriptionMultiStateComponent
- 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>
-
- com._1c.g5.v8.dt.ui.aef.component.AbstractDtReadonlyActionBarComponent<M,P>
-
- com._1c.g5.v8.dt.ui.aef.component.AbstractSelectionActionBarComponent<ITypeDescriptionExtensionModel,IExtendedTypeDescriptionParameterization>
-
- com._1c.g5.v8.dt.md.ui.extension.aef.components.ExtendedTypeDescriptionMultiStateComponent
-
- All Implemented Interfaces:
IComponent<ITypeDescriptionExtensionModel>
,IEventChannel
public class ExtendedTypeDescriptionMultiStateComponent extends AbstractSelectionActionBarComponent<ITypeDescriptionExtensionModel,IExtendedTypeDescriptionParameterization>
Type description editing component for extension configuration.
-
-
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 ExtendedTypeDescriptionMultiStateComponent(IExtendedTypeDescriptionParameterization parameterization)
Create instance ofExtendedTypeDescriptionMultiStateComponent
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
bindModelToViewModel(ITypeDescriptionExtensionModel model)
Binds the model to view model.protected void
disposeViewModels()
Disposes the view models of this component.protected void
onClearAction()
Invoked on the clear button action.protected void
onSelectAction()
Invoked on the select button action.protected org.eclipse.swt.graphics.Image
transformModelToImage(ITypeDescriptionExtensionModel model)
Transforms the given model object to image representation.protected String
transformModelToString(ITypeDescriptionExtensionModel model)
Transforms the given model object to string representation.protected void
updateViewModel(ITypeDescriptionExtensionModel model)
Updates the view model with the model state.-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.component.AbstractSelectionActionBarComponent
createButtons, handleButtonClicked
-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.component.AbstractDtReadonlyActionBarComponent
createViewModels, updateViewModels
-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.component.AbstractDtActionBarComponent
createControlViewModel
-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.component.AbstractDtSelectComponent
createButtonItem, createClearButtonItem, createOpenButtonItem, createSelectButtonItem, dispose
-
Methods inherited from class com._1c.g5.aef2.standard.components.AbstractControlComponent
getControlViewModel, handleExternalValidationEvent, isEditable, refresh, setLayoutData
-
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
-
ExtendedTypeDescriptionMultiStateComponent
public ExtendedTypeDescriptionMultiStateComponent(IExtendedTypeDescriptionParameterization parameterization)
Create instance ofExtendedTypeDescriptionMultiStateComponent
- Parameters:
parameterization
- the parameterization, cannot benull
-
-
Method Detail
-
onClearAction
protected void onClearAction()
Description copied from class:AbstractSelectionActionBarComponent
Invoked on the clear button action.
-
onSelectAction
protected void onSelectAction()
Description copied from class:AbstractSelectionActionBarComponent
Invoked on the select button action.
-
bindModelToViewModel
protected void bindModelToViewModel(ITypeDescriptionExtensionModel model)
Description copied from class:AbstractDtReadonlyActionBarComponent
Binds the model to view model.- Overrides:
bindModelToViewModel
in classAbstractDtReadonlyActionBarComponent<ITypeDescriptionExtensionModel,IExtendedTypeDescriptionParameterization>
- Parameters:
model
- the model.
-
updateViewModel
protected void updateViewModel(ITypeDescriptionExtensionModel model)
Description copied from class:AbstractDtReadonlyActionBarComponent
Updates the view model with the model state.- Overrides:
updateViewModel
in classAbstractDtReadonlyActionBarComponent<ITypeDescriptionExtensionModel,IExtendedTypeDescriptionParameterization>
- Parameters:
model
- the model.
-
disposeViewModels
protected void disposeViewModels()
Description copied from class:Component
Disposes the view models of this component. Override it to do some additional disposal operations specific to a component.
-
transformModelToString
protected String transformModelToString(ITypeDescriptionExtensionModel model)
Description copied from class:AbstractDtReadonlyActionBarComponent
Transforms the given model object to string representation.- Specified by:
transformModelToString
in classAbstractDtReadonlyActionBarComponent<ITypeDescriptionExtensionModel,IExtendedTypeDescriptionParameterization>
- Parameters:
model
- the model.- Returns:
- string representation of the model values.
-
transformModelToImage
protected org.eclipse.swt.graphics.Image transformModelToImage(ITypeDescriptionExtensionModel model)
Transforms the given model object to image representation.- Parameters:
model
- the model, cannot benull
- Returns:
- image representation of the model values.
-
-