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 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
-
Method Summary
Modifier and TypeMethodDescriptionprotected DiagramInnerToolbarConfiguration
createCommonToolbarConfiguration
(ActionsManager mngr, String diagramType) protected DiagramInnerToolbarConfiguration
createSelectionStickyToolbar
(ActionsManager mngr, String diagramType) Deprecated.protected DiagramInnerToolbarConfiguration
createSelectionToolbar
(ActionsManager mngr, String diagramType) protected DiagramInnerToolbarConfiguration
createToolsToolbar
(ActionsManager mngr, String diagramType) int
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
-
BaseDiagramToolbarConfigurator
public BaseDiagramToolbarConfigurator()
-
-
Method Details
-
createSelectionStickyToolbar
@Deprecated protected DiagramInnerToolbarConfiguration createSelectionStickyToolbar(ActionsManager mngr, String diagramType) Deprecated. -
createSelectionToolbar
protected DiagramInnerToolbarConfiguration createSelectionToolbar(ActionsManager mngr, String diagramType) -
createToolsToolbar
protected DiagramInnerToolbarConfiguration createToolsToolbar(ActionsManager mngr, String diagramType) -
createCommonToolbarConfiguration
protected DiagramInnerToolbarConfiguration createCommonToolbarConfiguration(ActionsManager mngr, 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:
-
createToolsToolbar(ActionsManager, String)
and/orcreateSelectionToolbar(ActionsManager, String)