Class ExtendedConfigurationObjectComponent
- 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<M,P>
-
- com._1c.g5.v8.dt.ui.aef.component.AbstractSelectionComponent<M,ISelectionListDialogParameterization>
-
- com._1c.g5.v8.dt.ui.aef.component.AbstractSelectionFromListDialogComponent<IEmfValueSelectionModel<T,? extends org.eclipse.emf.ecore.EObject>>
-
- com._1c.g5.v8.dt.ui.aef.component.ValueSelectionComponent<UUID>
-
- com._1c.g5.v8.dt.md.ui.extension.aef.components.ExtendedConfigurationObjectComponent
-
- All Implemented Interfaces:
IComponent<IEmfValueSelectionModel<UUID,? extends org.eclipse.emf.ecore.EObject>>
,IEventChannel
public class ExtendedConfigurationObjectComponent extends ValueSelectionComponent<UUID>
ValueSelectionComponent
forMdObject
feature ExtendedconfiguationObject (see {@link MdClassPackage#Literals#MD_OBJECT__EXTENDED_CONFIGURATION_OBJECT})
-
-
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 ExtendedConfigurationObjectComponent(ISelectionListDialogParameterization parameterization)
Creates a new component.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Collection<ButtonItemViewModel>
createButtons()
Creates a collection of theButtonItemViewModel
that will be added to the component view model.protected void
handleButtonClicked(IViewModel viewModel)
Handles the button clicked event.protected boolean
isEditable()
Checks is component editable.-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.component.ValueSelectionComponent
attachToModel, getSelectedObjects, onClearAction, setValueOnDialogResult, transformModelToString
-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.component.AbstractSelectionFromListDialogComponent
createSelectionDialog
-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.component.AbstractSelectionComponent
detachFromModel, getPresentationValue, onSelectAction
-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.component.AbstractDtReadonlyActionBarComponent
bindModelToViewModel, createViewModels, disposeViewModels, updateViewModel, 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, 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, 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
-
-
-
-
Constructor Detail
-
ExtendedConfigurationObjectComponent
public ExtendedConfigurationObjectComponent(ISelectionListDialogParameterization parameterization)
Creates a new component.- Parameters:
parameterization
- the parameterization, cannot benull
-
-
Method Detail
-
isEditable
protected boolean isEditable()
Description copied from class:AbstractControlComponent
Checks is component editable.- Overrides:
isEditable
in classAbstractControlComponent<IEmfValueSelectionModel<UUID,? extends org.eclipse.emf.ecore.EObject>,ISelectionListDialogParameterization,ActionBarViewModel>
- Returns:
true
if editable,false
otherwise
-
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 classAbstractSelectionActionBarComponent<IEmfValueSelectionModel<UUID,? extends org.eclipse.emf.ecore.EObject>,ISelectionListDialogParameterization>
- Returns:
- the collection of the
ButtonItemViewModel
.
-
handleButtonClicked
protected void handleButtonClicked(IViewModel viewModel)
Description copied from class:AbstractDtSelectComponent
Handles the button clicked event.- Overrides:
handleButtonClicked
in classAbstractSelectionActionBarComponent<IEmfValueSelectionModel<UUID,? extends org.eclipse.emf.ecore.EObject>,ISelectionListDialogParameterization>
- Parameters:
viewModel
- the view model of the event sender.
-
-