Class FormSelectionComponent
- 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<BasicForm>
-
- com._1c.g5.v8.dt.md.ui.aef.components.FormSelectionComponent
-
- All Implemented Interfaces:
IComponent<IEmfValueSelectionModel<BasicForm,? extends org.eclipse.emf.ecore.EObject>>
,IEventChannel
public class FormSelectionComponent extends ValueSelectionComponent<BasicForm>
TheValueSelectionComponent
for form choosing.
-
-
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 FormSelectionComponent(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
disposeViewModels()
Disposes the view models of this component.protected void
handleButtonClicked(IViewModel viewModel)
Handles the button clicked event.-
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, 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, 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, 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
-
FormSelectionComponent
public FormSelectionComponent(ISelectionListDialogParameterization parameterization)
Creates a new component.- Parameters:
parameterization
- the parameterization.
-
-
Method Detail
-
handleButtonClicked
protected void handleButtonClicked(IViewModel viewModel)
Description copied from class:AbstractDtSelectComponent
Handles the button clicked event.- Overrides:
handleButtonClicked
in classAbstractSelectionActionBarComponent<IEmfValueSelectionModel<BasicForm,? extends org.eclipse.emf.ecore.EObject>,ISelectionListDialogParameterization>
- 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 classAbstractSelectionActionBarComponent<IEmfValueSelectionModel<BasicForm,? extends org.eclipse.emf.ecore.EObject>,ISelectionListDialogParameterization>
- Returns:
- the collection of the
ButtonItemViewModel
.
-
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.- Overrides:
disposeViewModels
in classAbstractDtReadonlyActionBarComponent<IEmfValueSelectionModel<BasicForm,? extends org.eclipse.emf.ecore.EObject>,ISelectionListDialogParameterization>
-
-