Class AbstractSelectionActionBarComponent<M extends IModel,P extends ISelectionParameterization>
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>
- All Implemented Interfaces:
IComponent<M>,IEventChannel
- Direct Known Subclasses:
AbstractMobileApplicationUrlsComponent,AbstractSelectionComponent,AllowedIncomingShareRequestTypesComponent,ExtendedTypeDescriptionMultiStateComponent,NavigatorTreeDialogActionBarComponent,RequiredPermissionsComponent,UsedMobileApplicationFunctionalitiesComponent,WebSocketClientHeadersComponent
public abstract class AbstractSelectionActionBarComponent<M extends IModel,P extends ISelectionParameterization>
extends AbstractDtReadonlyActionBarComponent<M,P>
The
AbstractDtReadonlyActionBarComponent implementation that allows to select
values from 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
ConstructorsModifierConstructorDescriptionprotectedAbstractSelectionActionBarComponent(P parameterization) Creates a new component. -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection<ButtonItemViewModel>Creates a collection of theButtonItemViewModelthat will be added to the component view model.protected voidhandleButtonClicked(IViewModel viewModel) Handles the button clicked event.protected abstract voidInvoked on the clear button action.protected abstract voidInvoked on the select button action.Methods inherited from class com._1c.g5.v8.dt.ui.aef.component.AbstractDtReadonlyActionBarComponent
bindModelToViewModel, createViewModels, disposeViewModels, transformModelToString, updateViewModel, updateViewModelsMethods inherited from class com._1c.g5.v8.dt.ui.aef.component.AbstractDtActionBarComponent
createControlViewModelMethods inherited from class com._1c.g5.v8.dt.ui.aef.component.AbstractDtSelectComponent
createButtonItem, createClearButtonItem, createOpenButtonItem, createSelectButtonItem, disposeMethods inherited from class com._1c.g5.aef2.standard.components.AbstractControlComponent
getControlViewModel, handleExternalValidationEvent, isEditable, refresh, setLayoutDataMethods inherited from class com._1c.g5.aef2.standard.components.StandardComponent
bindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, getLayoutData, isEnabled, isPassive, setEnabled, setFocus, updateViewModelStatusMethods 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 Details
-
AbstractSelectionActionBarComponent
Creates a new component.- Parameters:
parameterization- the parameterization, cannot benull
-
-
Method Details
-
onClearAction
protected abstract void onClearAction()Invoked on the clear button action. -
createButtons
Description copied from class:AbstractDtSelectComponentCreates a collection of theButtonItemViewModelthat will be added to the component view model.- Overrides:
createButtonsin classAbstractDtSelectComponent<M extends IModel,P extends ISelectionParameterization, ActionBarViewModel> - Returns:
- the collection of the
ButtonItemViewModel.
-
handleButtonClicked
Description copied from class:AbstractDtSelectComponentHandles the button clicked event.- Overrides:
handleButtonClickedin classAbstractDtSelectComponent<M extends IModel,P extends ISelectionParameterization, ActionBarViewModel> - Parameters:
viewModel- the view model of the event sender.
-
onSelectAction
protected abstract void onSelectAction()Invoked on the select button action.
-