@OpenApiAll public class BaseDiagramContextAMConfigurator extends java.lang.Object implements DiagramContextAMConfigurator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LayoutID |
HIGH_PRIORITY, LOW_PRIORITY, MEDIUM_PRIORITY
Constructor and Description |
---|
BaseDiagramContextAMConfigurator() |
Modifier and Type | Method and Description |
---|---|
void |
configure(com.nomagic.actions.ActionsManager mngr,
com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement diagram,
com.nomagic.magicdraw.uml.symbols.PresentationElement[] selected,
com.nomagic.magicdraw.uml.symbols.PresentationElement requestor)
Configure given actions manager for given diagram.
|
protected void |
configureDiagramActions(com.nomagic.actions.ActionsManager mngr,
com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement dpe) |
protected void |
configureMultipleSelectionActions(com.nomagic.actions.ActionsManager mngr,
com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement diagram,
com.nomagic.magicdraw.uml.symbols.PresentationElement[] selected) |
protected void |
configureSingleSelectionActions(com.nomagic.actions.ActionsManager mngr,
com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement diagram,
com.nomagic.magicdraw.uml.symbols.PresentationElement[] selected,
com.nomagic.magicdraw.uml.symbols.PresentationElement requestor) |
protected ActionsCategory |
createLayoutActionsCategory() |
int |
getPriority()
Returns priority of this configurator.
|
public void configure(com.nomagic.actions.ActionsManager mngr, com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement diagram, com.nomagic.magicdraw.uml.symbols.PresentationElement[] selected, com.nomagic.magicdraw.uml.symbols.PresentationElement requestor)
configure
in interface DiagramContextAMConfigurator
mngr
- the given actions manager.diagram
- the given diagram panel.selected
- the selected object in the diagram.requestor
- object which requests actions, can be null if requestor is diagram window.protected void configureSingleSelectionActions(com.nomagic.actions.ActionsManager mngr, com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement diagram, com.nomagic.magicdraw.uml.symbols.PresentationElement[] selected, com.nomagic.magicdraw.uml.symbols.PresentationElement requestor)
protected void configureMultipleSelectionActions(com.nomagic.actions.ActionsManager mngr, com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement diagram, com.nomagic.magicdraw.uml.symbols.PresentationElement[] selected)
protected void configureDiagramActions(com.nomagic.actions.ActionsManager mngr, com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement dpe)
protected ActionsCategory createLayoutActionsCategory()
public int getPriority()
ConfiguratorWithPriority
getPriority
in interface ConfiguratorWithPriority
ConfiguratorWithPriority.HIGH_PRIORITY
,
ConfiguratorWithPriority.MEDIUM_PRIORITY
,
ConfiguratorWithPriority.LOW_PRIORITY