@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 manager,
DiagramPresentationElement diagram,
PresentationElement[] selected,
PresentationElement requester)
Configure given actions manager for given diagram.
|
protected void |
configureDiagramActions(ActionsManager manager,
DiagramPresentationElement dpe) |
protected void |
configureMultipleSelectionActions(ActionsManager manager,
DiagramPresentationElement diagram,
PresentationElement[] selected) |
protected void |
configureSingleSelectionActions(ActionsManager manager,
DiagramPresentationElement diagram,
PresentationElement[] selected,
PresentationElement requester) |
protected ActionsCategory |
createLayoutActionsCategory() |
int |
getPriority()
Returns priority of this configurator.
|
public static final java.lang.String LayoutID
public void configure(ActionsManager manager, DiagramPresentationElement diagram, PresentationElement[] selected, PresentationElement requester)
configure
in interface DiagramContextAMConfigurator
manager
- the given actions manager.diagram
- the given diagram panel.selected
- the selected object in the diagram.requester
- object which requests actions, can be null if requester is diagram window.protected void configureSingleSelectionActions(ActionsManager manager, DiagramPresentationElement diagram, PresentationElement[] selected, PresentationElement requester)
protected void configureMultipleSelectionActions(ActionsManager manager, DiagramPresentationElement diagram, PresentationElement[] selected)
protected void configureDiagramActions(ActionsManager manager, DiagramPresentationElement dpe)
protected ActionsCategory createLayoutActionsCategory()
public int getPriority()
ConfiguratorWithPriority
getPriority
in interface ConfiguratorWithPriority
getPriority
in interface PriorityProvider
PriorityProvider.HIGH_PRIORITY
,
PriorityProvider.MEDIUM_PRIORITY
,
PriorityProvider.LOW_PRIORITY