Class NavigatorTreeDialogActionBarComponent
- 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<INavigatorTreeDialogActionBarModel<? extends MdObject>,INavigatorTreeDialogActionBarParameterization>
-
- com._1c.g5.v8.dt.md.ui.aef.components.NavigatorTreeDialogActionBarComponent
-
- All Implemented Interfaces:
IComponent<INavigatorTreeDialogActionBarModel<? extends MdObject>>
,IEventChannel
- Direct Known Subclasses:
ReportFormSelectionComponent
public class NavigatorTreeDialogActionBarComponent extends AbstractSelectionActionBarComponent<INavigatorTreeDialogActionBarModel<? extends MdObject>,INavigatorTreeDialogActionBarParameterization>
The implementation ofAbstractSelectionActionBarComponent
for navigator selection dialog.
-
-
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 NavigatorTreeDialogActionBarComponent()
Creates a new component.NavigatorTreeDialogActionBarComponent(boolean qualifiedNamePresentation)
Creates a new component.NavigatorTreeDialogActionBarComponent(boolean hasClearAction, boolean isLeafsOnly, boolean qualifiedNamePresentation)
Creates a new component.NavigatorTreeDialogActionBarComponent(INavigatorTreeDialogActionBarParameterization parameterization)
Creates a new component.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<MdObject>
getSelectedMdObjects()
Returns selectedMdObject
s.protected void
onClearAction()
Invoked on the clear button action.protected void
onSelectAction()
Invoked on the select button action.protected void
processResult(List<Object> result)
Process selection result.protected String
transformModelToString(INavigatorTreeDialogActionBarModel<? extends MdObject> model)
Transforms the given model object to string representation.-
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
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, 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
-
NavigatorTreeDialogActionBarComponent
public NavigatorTreeDialogActionBarComponent()
Creates a new component.
-
NavigatorTreeDialogActionBarComponent
public NavigatorTreeDialogActionBarComponent(INavigatorTreeDialogActionBarParameterization parameterization)
Creates a new component.- Parameters:
parameterization
- the parameterization, cannot benull
-
NavigatorTreeDialogActionBarComponent
public NavigatorTreeDialogActionBarComponent(boolean qualifiedNamePresentation)
Creates a new component.- Parameters:
qualifiedNamePresentation
- has qualified name presentation.
-
NavigatorTreeDialogActionBarComponent
public NavigatorTreeDialogActionBarComponent(boolean hasClearAction, boolean isLeafsOnly, boolean qualifiedNamePresentation)
Creates a new component.- Parameters:
hasClearAction
- the has clear action.isLeafsOnly
- select leaf only.qualifiedNamePresentation
- has qualified name presentation flag.
-
-
Method Detail
-
onClearAction
protected void onClearAction()
Description copied from class:AbstractSelectionActionBarComponent
Invoked on the clear button action.- Specified by:
onClearAction
in classAbstractSelectionActionBarComponent<INavigatorTreeDialogActionBarModel<? extends MdObject>,INavigatorTreeDialogActionBarParameterization>
-
getSelectedMdObjects
protected List<MdObject> getSelectedMdObjects()
Returns selectedMdObject
s.- Returns:
- the
MdObject
list, cannot benull
-
onSelectAction
protected void onSelectAction()
Description copied from class:AbstractSelectionActionBarComponent
Invoked on the select button action.- Specified by:
onSelectAction
in classAbstractSelectionActionBarComponent<INavigatorTreeDialogActionBarModel<? extends MdObject>,INavigatorTreeDialogActionBarParameterization>
-
transformModelToString
protected String transformModelToString(INavigatorTreeDialogActionBarModel<? extends MdObject> model)
Description copied from class:AbstractDtReadonlyActionBarComponent
Transforms the given model object to string representation.- Specified by:
transformModelToString
in classAbstractDtReadonlyActionBarComponent<INavigatorTreeDialogActionBarModel<? extends MdObject>,INavigatorTreeDialogActionBarParameterization>
- Parameters:
model
- the model.- Returns:
- string representation of the model values.
-
-