Package com.nomagic.magicdraw.ui.actions
Class BaseDiagramToolbarConfigurator
- java.lang.Object
-
- com.nomagic.magicdraw.ui.actions.BaseDiagramToolbarConfigurator
-
- All Implemented Interfaces:
AMConfigurator
,ConfiguratorWithPriority
,PriorityProvider
,PriorityProvider
@OpenApiAll public abstract class BaseDiagramToolbarConfigurator extends java.lang.Object implements AMConfigurator
The base diagram toolbar configurator.
-
-
Field Summary
-
Fields inherited from interface com.nomagic.utils.PriorityProvider
HIGH_PRIORITY, LOW_PRIORITY, MEDIUM_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description BaseDiagramToolbarConfigurator()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected DiagramInnerToolbarConfiguration
createCommonToolbarConfiguration(ActionsManager mngr, java.lang.String diagramType)
protected DiagramInnerToolbarConfiguration
createSelectionStickyToolbar(ActionsManager mngr, java.lang.String diagramType)
Deprecated.protected DiagramInnerToolbarConfiguration
createSelectionToolbar(ActionsManager mngr, java.lang.String diagramType)
protected DiagramInnerToolbarConfiguration
createToolsToolbar(ActionsManager mngr, java.lang.String diagramType)
int
getPriority()
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
-
-
-
-
Method Detail
-
createSelectionStickyToolbar
@Deprecated protected DiagramInnerToolbarConfiguration createSelectionStickyToolbar(ActionsManager mngr, java.lang.String diagramType)
Deprecated.
-
createSelectionToolbar
protected DiagramInnerToolbarConfiguration createSelectionToolbar(ActionsManager mngr, java.lang.String diagramType)
-
createToolsToolbar
protected DiagramInnerToolbarConfiguration createToolsToolbar(ActionsManager mngr, java.lang.String diagramType)
-
createCommonToolbarConfiguration
protected DiagramInnerToolbarConfiguration createCommonToolbarConfiguration(ActionsManager mngr, java.lang.String diagramType)
-
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:
PriorityProvider.HIGH_PRIORITY
,PriorityProvider.MEDIUM_PRIORITY
,PriorityProvider.LOW_PRIORITY
-
-