Package com.nomagic.magicdraw.ui.actions
Class AnyDiagramShortcutsConfigurator
java.lang.Object
com.nomagic.magicdraw.ui.actions.AnyDiagramShortcutsConfigurator
- All Implemented Interfaces:
AMConfigurator
,ConfiguratorWithPriority
,PriorityProvider
,PriorityProvider
- Direct Known Subclasses:
BaseDiagramShortcutsConfigurator
@OpenApiAll
public abstract class AnyDiagramShortcutsConfigurator
extends Object
implements AMConfigurator
Configure shortcuts for all diagrams - symbolic and others.
-
Field Summary
Fields inherited from interface com.nomagic.utils.PriorityProvider
HIGH_PRIORITY, LOW_PRIORITY, MEDIUM_PRIORITY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configureCommonActions
(ActionsManager manager, String diagramType) Configure actions in given managerint
Returns priority of this configurator.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.nomagic.actions.AMConfigurator
configure
-
Constructor Details
-
AnyDiagramShortcutsConfigurator
public AnyDiagramShortcutsConfigurator()
-
-
Method Details
-
configureCommonActions
Configure actions in given manager- Parameters:
diagramType
- optional diagram typemanager
- manager
-
getPriority
public int getPriority()Description copied from interface:AMConfigurator
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 interfaceAMConfigurator
- Specified by:
getPriority
in interfaceConfiguratorWithPriority
- Specified by:
getPriority
in interfacePriorityProvider
- Returns:
- priority of this configurator.
- See Also:
-