Package com.nomagic.actions
Interface AMConfigurator
-
- All Superinterfaces:
ConfiguratorWithPriority
,PriorityProvider
,PriorityProvider
- All Known Implementing Classes:
ActivityDiagramShortcutsConfigurator
,AnyDiagramShortcutsConfigurator
,BaseDiagramShortcutsConfigurator
,BaseDiagramToolbarConfigurator
,ClassDiagramShortcutsConfigurator
,CommunicationDiagramShortcutsConfigurator
,ComponentDiagramShortcutsConfigurator
,DeploymentDiagramShortcutsConfigurator
,ObjectDiagramShortcutsConfigurator
,PackageDiagramShortcutsConfigurator
,ProfileDiagramShortcutsConfigurator
,SequenceDiagramShortcutsConfigurator
,StateDiagramShortcutsConfigurator
,UseCaseDiagramShortcutsConfigurator
@OpenApiAll public interface AMConfigurator extends ConfiguratorWithPriority
Interface for configuring Actions manager. Configurator should add/remove necessary actions.
-
-
Field Summary
-
Fields inherited from interface com.nomagic.utils.PriorityProvider
HIGH_PRIORITY, LOW_PRIORITY, MEDIUM_PRIORITY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
configure(ActionsManager manager)
Method for configuring manager.default int
getPriority()
Returns priority of this configurator.
-
-
-
Method Detail
-
configure
void configure(ActionsManager manager)
Method for configuring manager. During this call, new actions can be added to manager. Also existing actions can be removed from the given manager.- Parameters:
manager
- actions manager to be configured.
-
getPriority
default int getPriority()
Returns priority of this configurator. All configurators are sorted by priority before configuration. This is very important if one configurator expects input from other configurators. In such case configurator must have lower priority than others.
The default implementation returns #LOW_PRIORITY- Specified by:
getPriority
in interfaceConfiguratorWithPriority
- Specified by:
getPriority
in interfacePriorityProvider
- Returns:
- priority of this configurator.
- See Also:
PriorityProvider.HIGH_PRIORITY
,PriorityProvider.MEDIUM_PRIORITY
,PriorityProvider.LOW_PRIORITY
-
-