Class AbstractSelectionFromTreeDialogComponent<M extends IEmfTreeSelectionModel<? extends org.eclipse.emf.ecore.EObject>>
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,ISelectionTreeDialogParameterization>
com._1c.g5.v8.dt.ui.aef.component.AbstractSelectionFromTreeDialogComponent<M>
- All Implemented Interfaces:
IComponent<M>
,IEventChannel
- Direct Known Subclasses:
TreeToListSelectionComponent
,TreeToSingleItemSelectionComponent
public abstract class AbstractSelectionFromTreeDialogComponent<M extends IEmfTreeSelectionModel<? extends org.eclipse.emf.ecore.EObject>>
extends AbstractSelectionComponent<M,ISelectionTreeDialogParameterization>
The abstract implementation of
AbstractSelectionComponent
that
creates the TreeDialog
at
AbstractSelectionComponent.createSelectionDialog(org.eclipse.swt.widgets.Shell)
point.-
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
ConstructorsModifierConstructorDescriptionprotected
AbstractSelectionFromTreeDialogComponent
(ISelectionTreeDialogParameterization parameterization) Creates a new component. -
Method Summary
Modifier and TypeMethodDescriptionprotected ISwtSelectionDialog
createSelectionDialog
(org.eclipse.swt.widgets.Shell shell) Creates anISwtSelectionDialog
and returns it.Methods inherited from class com._1c.g5.v8.dt.ui.aef.component.AbstractSelectionComponent
attachToModel, detachFromModel, getPresentationValue, getSelectedObjects, onSelectAction, setValueOnDialogResult
Methods inherited from class com._1c.g5.v8.dt.ui.aef.component.AbstractSelectionActionBarComponent
createButtons, handleButtonClicked, onClearAction
Methods inherited from class com._1c.g5.v8.dt.ui.aef.component.AbstractDtReadonlyActionBarComponent
bindModelToViewModel, createViewModels, disposeViewModels, transformModelToString, 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 Details
-
AbstractSelectionFromTreeDialogComponent
protected AbstractSelectionFromTreeDialogComponent(ISelectionTreeDialogParameterization parameterization) Creates a new component.- Parameters:
parameterization
- the parameterization.
-
-
Method Details
-
createSelectionDialog
Description copied from class:AbstractSelectionComponent
Creates anISwtSelectionDialog
and returns it.- Specified by:
createSelectionDialog
in classAbstractSelectionComponent<M extends IEmfTreeSelectionModel<? extends org.eclipse.emf.ecore.EObject>,
ISelectionTreeDialogParameterization> - Parameters:
shell
- the shell.- Returns:
- a newly created
ISwtSelectionDialog
ornull
-