Class EventSubscriptionHandlerSelectComponent
- 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.md.ui.aef.components.AbstractDtActionBarHandlerSelectComponent<IEventSubscriptionHandlerNameModel,IDtActionBarParameterization>
-
- com._1c.g5.v8.dt.md.ui.aef.components.EventSubscriptionHandlerSelectComponent
-
- All Implemented Interfaces:
IComponent<IEventSubscriptionHandlerNameModel>
,IEventChannel
public class EventSubscriptionHandlerSelectComponent extends AbstractDtActionBarHandlerSelectComponent<IEventSubscriptionHandlerNameModel,IDtActionBarParameterization>
Handler selection component for EventSubscription md 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 EventSubscriptionHandlerSelectComponent(IDtActionBarParameterization parameterization)
Create instance ofEventSubscriptionHandlerSelectComponent
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
genarateNewHandlerText(String methodName)
Generate new handler body text.protected String
generateNewHandlerName()
Generate new handler name.protected com.google.common.base.Predicate<org.eclipse.emf.ecore.EObject>
selectMethodsPredicate()
Predicate for filtering methods for selection dialog-
Methods inherited from class com._1c.g5.v8.dt.md.ui.aef.components.AbstractDtActionBarHandlerSelectComponent
createButtons, createControlViewModel, dispose, handleButtonClicked, handleOpenButton, handleSelectButton
-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.component.AbstractDtSelectComponent
createButtonItem, createClearButtonItem, createOpenButtonItem, createSelectButtonItem, createViewModels
-
Methods inherited from class com._1c.g5.aef2.standard.components.AbstractControlComponent
disposeViewModels, getControlViewModel, handleExternalValidationEvent, isEditable, refresh, setLayoutData, updateViewModels
-
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
-
EventSubscriptionHandlerSelectComponent
public EventSubscriptionHandlerSelectComponent(IDtActionBarParameterization parameterization)
Create instance ofEventSubscriptionHandlerSelectComponent
- Parameters:
parameterization
- the parameterization
-
-
Method Detail
-
generateNewHandlerName
protected String generateNewHandlerName()
Description copied from class:AbstractDtActionBarHandlerSelectComponent
Generate new handler name.- Specified by:
generateNewHandlerName
in classAbstractDtActionBarHandlerSelectComponent<IEventSubscriptionHandlerNameModel,IDtActionBarParameterization>
- Returns:
- handler name, never
null
-
genarateNewHandlerText
protected String genarateNewHandlerText(String methodName)
Description copied from class:AbstractDtActionBarHandlerSelectComponent
Generate new handler body text.- Specified by:
genarateNewHandlerText
in classAbstractDtActionBarHandlerSelectComponent<IEventSubscriptionHandlerNameModel,IDtActionBarParameterization>
- Parameters:
methodName
- the new handler name, cannot benull
- Returns:
- handler body text, never
null
-
selectMethodsPredicate
protected com.google.common.base.Predicate<org.eclipse.emf.ecore.EObject> selectMethodsPredicate()
Description copied from class:AbstractDtActionBarHandlerSelectComponent
Predicate for filtering methods for selection dialogAlways
true
by default- Overrides:
selectMethodsPredicate
in classAbstractDtActionBarHandlerSelectComponent<IEventSubscriptionHandlerNameModel,IDtActionBarParameterization>
- Returns:
- the predicate impl for filtering methods, never
null
-
-