@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(ActionsManager mngr,
DiagramPresentationElement diagram,
PresentationElement[] selected,
PresentationElement requestor)
Configure given actions manager for given diagram.
|
protected void |
configureDiagramActions(ActionsManager mngr,
DiagramPresentationElement dpe) |
protected void |
configureMultipleSelectionActions(ActionsManager mngr,
DiagramPresentationElement diagram,
PresentationElement[] selected) |
protected void |
configureSingleSelectionActions(ActionsManager mngr,
DiagramPresentationElement diagram,
PresentationElement[] selected,
PresentationElement requestor) |
protected ActionsCategory |
createLayoutActionsCategory() |
int |
getPriority()
Returns priority of this configurator.
|
public void configure(ActionsManager mngr, DiagramPresentationElement diagram, PresentationElement[] selected, 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(ActionsManager mngr, DiagramPresentationElement diagram, PresentationElement[] selected, PresentationElement requestor)
protected void configureMultipleSelectionActions(ActionsManager mngr, DiagramPresentationElement diagram, PresentationElement[] selected)
protected void configureDiagramActions(ActionsManager mngr, DiagramPresentationElement dpe)
protected ActionsCategory createLayoutActionsCategory()
public int getPriority()
ConfiguratorWithPriority
getPriority
in interface ConfiguratorWithPriority
ConfiguratorWithPriority.HIGH_PRIORITY
,
ConfiguratorWithPriority.MEDIUM_PRIORITY
,
ConfiguratorWithPriority.LOW_PRIORITY