Package com.nomagic.magicdraw.actions
Class ActionsConfiguratorsManager
java.lang.Object
com.nomagic.magicdraw.actions.ActionsConfiguratorsManager
The singleton class for adding/removing configurations of actions managers in MagicDraw application.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAnyDiagramCommandBarConfigurator
(AMConfigurator configurator) Registers configurator for any type of diagrams.void
addAnyDiagramShortcutsConfigurator
(AMConfigurator configurator) Adds configurator for any type diagram.void
addBaseDiagramContextConfigurator
(String diagramType, com.dassault_systemes.modeler.magic.ui.diagrams.actions.AbstractDiagramContextAMConfigurator configurator) Adds new diagram context configurator for given diagram type.void
addBaseDiagramContextConfigurator
(String diagramType, DiagramContextAMConfigurator configurator) Adds new diagram context configurator for given diagram type.void
Adds new context configurator to containment browser.void
addContainmentBrowserShortcutsConfigurator
(AMConfigurator configurator) Adds new shortcuts' configurator to containment browser.void
Adds new Toolbar configurator to containment browser.void
addCreateDiagramDialogConfigurator
(AMConfigurator configurator) Adds configurator to configure actions inside the dialog which opens when action in main menu or toolbar "Create Diagram" is executed.void
addCustomizableShortcutsConfigurator
(AMConfigurator configurator) Adds configurator for main shortcuts.void
addDiagramCommandBarConfigurator
(AMConfigurator configurator) Deprecated.deprecated because of too generic name.void
addDiagramCommandBarConfigurator
(String diagramType, AMConfigurator configurator) Add configurator for diagram of given type.void
addDiagramContextConfigurator
(String diagramType, DiagramContextAMConfigurator configurator) Adds new diagram context configurator for given diagram type.void
addDiagramContextToolbarConfigurator
(String diagramType, DiagramContextToolbarAMConfigurator configurator) Adds new toolbar configurator for given diagram type.void
addDiagramNavigationConfigurator
(AMConfigurator configurator) Adds configurator to diagram navigation toolbar.void
Adds new context configurator to diagrams browser.void
addDiagramsBrowserShortcutsConfigurator
(AMConfigurator configurator) Adds new shortcuts' configurator to diagrams browser.void
Adds new Toolbar configurator to diagrams browser.void
addDiagramShortcutsConfigurator
(String diagramType, AMConfigurator configurator) Adds new shortcuts' configurator for given diagram type.void
addDiagramToolbarActionsProvider
(String diagramType, CustomizableDiagramToolbarActionsProvider provider) Adds new toolbar provider for given diagram type.void
addDiagramToolbarConfigurator
(String diagramType, AMConfigurator configurator) Adds new toolbar configurator for given diagram type.static void
addDialogActionsConfigurator
(String categoryID, ActionsManager manager, AMConfigurator configurator) Adds configurator to configure actions inside specific popup dialog which constructs its actions only when respective popup menu item is clicked.void
Adds new context configurator to extensions browser.void
addExtensionsBrowserShortcutsConfigurator
(AMConfigurator configurator) Adds new shortcuts' configurator to extensions browser.void
Adds new Toolbar configurator to extensions browser.void
Adds new context configurator to inheritance browser.void
addInheritanceBrowserShortcutsConfigurator
(AMConfigurator configurator) Adds new shortcuts' configurator to inheritance browser.void
Adds new context configurator to inheritance browser.void
Adds new context configurator to lock view browser.void
addLockViewBrowserShortcutsConfigurator
(AMConfigurator configurator) Adds new shortcuts' configurator to lock view browser.void
Adds new context configurator to inheritance browser.void
addMainMenuConfigurator
(AMConfigurator configurator) Adds configurator to main menu.void
addMainShortcutsConfigurator
(AMConfigurator configurator) Adds configurator for main shortcuts.void
addMainToolbarConfigurator
(AMConfigurator configurator) Adds configurator to main toolbar.void
Adds new context configurator for search browser.void
addSearchBrowserShortcutsConfigurator
(AMConfigurator configurator) Adds new shortcuts' configurator to search browser.void
Adds new Toolbar configurator for search browser.void
addSymbolDiagramCommandBarConfigurator
(AMConfigurator configurator) Add configurator for any type of "symbol" diagrams Those do not include tables, maps, matrices and etc.void
addSymbolDiagramShortcutsConfigurator
(AMConfigurator configurator) Adds configurator for any "symbol" diagram.void
addTargetElementAMConfigurator
(String diagramType, TargetElementAMConfigurator configurator) Adds new drawable targets configurator in context toolbar for given diagram typevoid
configureTargetElementAM
(String diagramType, ActionsManager manager, PresentationElement requestor, String pathActionID) Configures given diagram type drawable targets.static ActionsConfiguratorsManager
Returns shared instance of this manager.void
removeAnyDiagramCommandBarConfigurator
(AMConfigurator configurator) Remove configurator for any type diagrams.void
removeAnyDiagramShortcutsConfigurator
(AMConfigurator configurator) Removes configurator from any type diagram.void
removeBaseDiagramContextConfigurator
(String diagramType, DiagramContextAMConfigurator configurator) Removes given configurator from given diagram type context configurators.void
removeBaseDiagramContextToolbarConfigurator
(String diagramType, DiagramContextToolbarAMConfigurator configurator) Removes given configurator from given diagram type context configurators.void
Removes context configurator from containment browser.void
removeContainmentBrowserShortcutsConfigurator
(AMConfigurator configurator) Removes shortcuts configurator from containment browser.void
Removes Toolbar configurator from containment browser.void
removeCreateDiagramDialogConfigurator
(AMConfigurator configurator) Remove configurator to configure actions inside "Create Diagram" dialog.void
removeCustomizableShortcutsConfigurator
(AMConfigurator configurator) Removes configurator for main shortcuts.void
removeDiagramCommandBarConfigurator
(AMConfigurator configurator) Deprecated.deprecated because of too generic name.void
removeDiagramCommandBarConfigurator
(String diagramType, AMConfigurator configurator) Remove configurator for diagram of given type.void
removeDiagramContextConfigurator
(String diagramType, DiagramContextAMConfigurator configurator) Removes given configurator from given diagram type context configurators.void
removeDiagramContextToolbarConfigurator
(String diagramType, DiagramContextToolbarAMConfigurator configurator) Removes configurator from given diagram toolbar configurators.void
removeDiagramNavigationConfigurator
(AMConfigurator configurator) Removes configurator from diagram navigation configuration.void
Removes context configurator from diagrams browser.void
removeDiagramsBrowserShortcutsConfigurator
(AMConfigurator configurator) Removes shortcuts configurator from diagrams browser.void
Removes Toolbar configurator from diagrams browser.void
removeDiagramShortcutsConfigurator
(String diagramType, AMConfigurator configurator) Removes configurator from given diagram type shortcuts configurators.void
removeDiagramToolbarActionsProvider
(String diagramType, CustomizableDiagramToolbarActionsProvider provider) Removes action provider for specified diagram type.void
removeDiagramToolbarConfigurator
(String diagramType, AMConfigurator configurator) Removes configurator from given diagram toolbar configurators.void
Removes context configurator from extensions browser.void
removeExtensionsBrowserShortcutsConfigurator
(AMConfigurator configurator) Removes shortcuts configurator from extensions browser.void
Removes Toolbar configurator from extensions browser.void
Removes context configurator from inheritance browser.void
removeInheritanceBrowserShortcutsConfigurator
(AMConfigurator configurator) Removes shortcuts configurator from inheritance browser.void
Removes context configurator from inheritance browser.void
Removes context configurator from lock view browser.void
removeLockViewBrowserShortcutsConfigurator
(AMConfigurator configurator) Removes shortcuts configurator from lock view browser.void
Removes context configurator from inheritance browser.void
removeMainMenuConfigurator
(AMConfigurator configurator) Removes configurator from main menu configuration.void
removeMainShortcutsConfigurator
(AMConfigurator configurator) Removes configurator for main shortcuts.void
removeMainToolbarConfigurator
(AMConfigurator configurator) Removes configurator from main toolbar.void
Removes context configurator from search browser.void
removeSearchBrowserShortcutsConfigurator
(AMConfigurator configurator) Removes shortcuts configurator from search browser.void
Removes Toolbar configurator from search browser.void
removeSymbolDiagramCommandBarConfigurator
(AMConfigurator configurator) Remove configurator for any type "symbol" diagrams Those do not include tables, maps, matrices and etc.void
removeSymbolDiagramShortcutsConfigurator
(AMConfigurator configurator) Removes configurator from any "symbol" diagram.void
removeTargetElementAMConfigurator
(String diagramType, TargetElementAMConfigurator configurator) Removes drawable targets' configurator for given diagram type
-
Method Details
-
getInstance
Returns shared instance of this manager. -
addTargetElementAMConfigurator
@OpenApi public void addTargetElementAMConfigurator(String diagramType, TargetElementAMConfigurator configurator) Adds new drawable targets configurator in context toolbar for given diagram type- Parameters:
diagramType
- diagram typeconfigurator
- configurator to be added.
-
removeTargetElementAMConfigurator
@OpenApi public void removeTargetElementAMConfigurator(String diagramType, TargetElementAMConfigurator configurator) Removes drawable targets' configurator for given diagram type- Parameters:
diagramType
- diagram typeconfigurator
- configurator to be added.
-
configureTargetElementAM
@OpenApi public void configureTargetElementAM(String diagramType, ActionsManager manager, PresentationElement requestor, String pathActionID) Configures given diagram type drawable targets.- Parameters:
diagramType
- diagram typemanager
- manager to be configured.requestor
- - object which requests actions, can be null if requestor is diagram window.
-
addDiagramContextToolbarConfigurator
@OpenApi public void addDiagramContextToolbarConfigurator(String diagramType, DiagramContextToolbarAMConfigurator configurator) Adds new toolbar configurator for given diagram type.- Parameters:
diagramType
- diagram typeconfigurator
- configurator to be added.
-
removeDiagramContextToolbarConfigurator
@OpenApi public void removeDiagramContextToolbarConfigurator(String diagramType, DiagramContextToolbarAMConfigurator configurator) Removes configurator from given diagram toolbar configurators.- Parameters:
diagramType
- diagram typeconfigurator
- configurator to be removed.
-
removeBaseDiagramContextToolbarConfigurator
@OpenApi public void removeBaseDiagramContextToolbarConfigurator(String diagramType, DiagramContextToolbarAMConfigurator configurator) Removes given configurator from given diagram type context configurators. This configurator will be removed to the given type of the- Parameters:
diagramType
- diagram typeconfigurator
- configurator to remove.
-
addDiagramContextConfigurator
@OpenApi public void addDiagramContextConfigurator(String diagramType, DiagramContextAMConfigurator configurator) Adds new diagram context configurator for given diagram type.- Parameters:
diagramType
- diagram typeconfigurator
- new configurator to add.
-
addBaseDiagramContextConfigurator
@OpenApi public void addBaseDiagramContextConfigurator(String diagramType, DiagramContextAMConfigurator configurator) Adds new diagram context configurator for given diagram type. This configurator will be added to the given type of the diagram and to all derived diagram types.- Parameters:
diagramType
- diagram typeconfigurator
- new configurator to add.
-
addBaseDiagramContextConfigurator
@OpenApi public void addBaseDiagramContextConfigurator(String diagramType, com.dassault_systemes.modeler.magic.ui.diagrams.actions.AbstractDiagramContextAMConfigurator configurator) Adds new diagram context configurator for given diagram type. This configurator will be added to the given type of the diagram and to all derived diagram types.- Parameters:
diagramType
- diagram typeconfigurator
- new configurator to add.
-
removeDiagramContextConfigurator
@OpenApi public void removeDiagramContextConfigurator(String diagramType, DiagramContextAMConfigurator configurator) Removes given configurator from given diagram type context configurators.- Parameters:
diagramType
- diagram typeconfigurator
- configurator to remove.
-
removeBaseDiagramContextConfigurator
@OpenApi public void removeBaseDiagramContextConfigurator(String diagramType, DiagramContextAMConfigurator configurator) Removes given configurator from given diagram type context configurators. This configurator will be removed to the given type of the- Parameters:
diagramType
- diagram typeconfigurator
- configurator to remove.
-
addDiagramCommandBarConfigurator
Deprecated.deprecated because of too generic name. UseaddSymbolDiagramCommandBarConfigurator(AMConfigurator)
Add configurator for any type of "symbol" diagrams Those do not include tables, maps, matrices and etc.- Parameters:
configurator
- configurator to be added.
-
removeDiagramCommandBarConfigurator
Deprecated.deprecated because of too generic name. UseremoveSymbolDiagramCommandBarConfigurator(AMConfigurator)
Remove configurator for any type "symbol" diagrams Those do not include tables, maps, matrices and etc.- Parameters:
configurator
- configurator to be removed.
-
addSymbolDiagramCommandBarConfigurator
Add configurator for any type of "symbol" diagrams Those do not include tables, maps, matrices and etc.- Parameters:
configurator
- configurator to be added.
-
removeSymbolDiagramCommandBarConfigurator
Remove configurator for any type "symbol" diagrams Those do not include tables, maps, matrices and etc.- Parameters:
configurator
- configurator to be removed.
-
addAnyDiagramCommandBarConfigurator
Registers configurator for any type of diagrams.- Parameters:
configurator
- configurator to be added.
-
removeAnyDiagramCommandBarConfigurator
Remove configurator for any type diagrams.- Parameters:
configurator
- configurator to be removed.
-
addDiagramCommandBarConfigurator
@OpenApi public void addDiagramCommandBarConfigurator(String diagramType, AMConfigurator configurator) Add configurator for diagram of given type.- Parameters:
diagramType
- diagram typeconfigurator
- configurator to be added.
-
removeDiagramCommandBarConfigurator
@OpenApi public void removeDiagramCommandBarConfigurator(String diagramType, AMConfigurator configurator) Remove configurator for diagram of given type.- Parameters:
diagramType
- diagram typeconfigurator
- configurator to be removed.
-
addDiagramToolbarConfigurator
Adds new toolbar configurator for given diagram type.- Parameters:
diagramType
- diagram typeconfigurator
- configurator to be added.
-
removeDiagramToolbarConfigurator
@OpenApi public void removeDiagramToolbarConfigurator(String diagramType, AMConfigurator configurator) Removes configurator from given diagram toolbar configurators.- Parameters:
diagramType
- diagram typeconfigurator
- configurator to be removed.
-
addAnyDiagramShortcutsConfigurator
Adds configurator for any type diagram.- Parameters:
configurator
- configurator to be added.
-
removeAnyDiagramShortcutsConfigurator
Removes configurator from any type diagram.- Parameters:
configurator
- configurator to be removed.
-
addSymbolDiagramShortcutsConfigurator
Adds configurator for any "symbol" diagram. Those diagrams do not include tables, maps, matrices and etc.- Parameters:
configurator
- configurator to be added.
-
removeSymbolDiagramShortcutsConfigurator
Removes configurator from any "symbol" diagram. Those diagrams do not include tables, maps, matrices and etc.- Parameters:
configurator
- configurator to be removed.
-
addDiagramShortcutsConfigurator
@OpenApi public void addDiagramShortcutsConfigurator(String diagramType, AMConfigurator configurator) Adds new shortcuts' configurator for given diagram type.- Parameters:
diagramType
- diagram typeconfigurator
- configurator to be added.
-
removeDiagramShortcutsConfigurator
@OpenApi public void removeDiagramShortcutsConfigurator(String diagramType, AMConfigurator configurator) Removes configurator from given diagram type shortcuts configurators.- Parameters:
diagramType
- diagram typeconfigurator
- configurator to be removed.
-
addInheritanceBrowserContextConfigurator
@OpenApi public void addInheritanceBrowserContextConfigurator(BrowserContextAMConfigurator configurator) Adds new context configurator to inheritance browser.- Parameters:
configurator
- configurator to be added.
-
removeInheritanceBrowserContextConfigurator
@OpenApi public void removeInheritanceBrowserContextConfigurator(BrowserContextAMConfigurator configurator) Removes context configurator from inheritance browser.- Parameters:
configurator
- configurator to be removed.
-
addDiagramsBrowserContextConfigurator
@OpenApi public void addDiagramsBrowserContextConfigurator(BrowserContextAMConfigurator configurator) Adds new context configurator to diagrams browser.- Parameters:
configurator
- configurator to be added.
-
removeDiagramsBrowserContextConfigurator
@OpenApi public void removeDiagramsBrowserContextConfigurator(BrowserContextAMConfigurator configurator) Removes context configurator from diagrams browser.- Parameters:
configurator
- configurator to be removed.
-
addLockViewBrowserContextConfigurator
@OpenApi public void addLockViewBrowserContextConfigurator(BrowserContextAMConfigurator configurator) Adds new context configurator to lock view browser.- Parameters:
configurator
- configurator to be added.
-
removeLockViewBrowserContextConfigurator
@OpenApi public void removeLockViewBrowserContextConfigurator(BrowserContextAMConfigurator configurator) Removes context configurator from lock view browser.- Parameters:
configurator
- configurator to be removed.
-
addContainmentBrowserContextConfigurator
@OpenApi public void addContainmentBrowserContextConfigurator(BrowserContextAMConfigurator configurator) Adds new context configurator to containment browser.- Parameters:
configurator
- configurator to be added.
-
removeContainmentBrowserContextConfigurator
@OpenApi public void removeContainmentBrowserContextConfigurator(BrowserContextAMConfigurator configurator) Removes context configurator from containment browser.- Parameters:
configurator
- configurator to be removed.
-
addExtensionsBrowserContextConfigurator
@OpenApi public void addExtensionsBrowserContextConfigurator(BrowserContextAMConfigurator configurator) Adds new context configurator to extensions browser.- Parameters:
configurator
- configurator to be added.
-
removeExtensionsBrowserContextConfigurator
@OpenApi public void removeExtensionsBrowserContextConfigurator(BrowserContextAMConfigurator configurator) Removes context configurator from extensions browser.- Parameters:
configurator
- configurator to be removed.
-
addSearchBrowserContextConfigurator
Adds new context configurator for search browser.- Parameters:
configurator
- configurator to be added.
-
removeSearchBrowserContextConfigurator
@OpenApi public void removeSearchBrowserContextConfigurator(BrowserContextAMConfigurator configurator) Removes context configurator from search browser.- Parameters:
configurator
- configurator to be removed.
-
addInheritanceBrowserToolbarConfigurator
@OpenApi public void addInheritanceBrowserToolbarConfigurator(BrowserToolbarAMConfigurator configurator) Adds new context configurator to inheritance browser.- Parameters:
configurator
- configurator to be added.
-
removeInheritanceBrowserToolbarConfigurator
@OpenApi public void removeInheritanceBrowserToolbarConfigurator(BrowserToolbarAMConfigurator configurator) Removes context configurator from inheritance browser.- Parameters:
configurator
- configurator to be removed.
-
addDiagramsBrowserToolbarConfigurator
@OpenApi public void addDiagramsBrowserToolbarConfigurator(BrowserToolbarAMConfigurator configurator) Adds new Toolbar configurator to diagrams browser.- Parameters:
configurator
- configurator to be added.
-
removeDiagramsBrowserToolbarConfigurator
@OpenApi public void removeDiagramsBrowserToolbarConfigurator(BrowserToolbarAMConfigurator configurator) Removes Toolbar configurator from diagrams browser.- Parameters:
configurator
- configurator to be removed.
-
addLockViewBrowserToolbarConfigurator
@OpenApi public void addLockViewBrowserToolbarConfigurator(BrowserToolbarAMConfigurator configurator) Adds new context configurator to inheritance browser.- Parameters:
configurator
- configurator to be added.
-
removeLockViewBrowserToolbarConfigurator
@OpenApi public void removeLockViewBrowserToolbarConfigurator(BrowserToolbarAMConfigurator configurator) Removes context configurator from inheritance browser.- Parameters:
configurator
- configurator to be removed.
-
addContainmentBrowserToolbarConfigurator
@OpenApi public void addContainmentBrowserToolbarConfigurator(BrowserToolbarAMConfigurator configurator) Adds new Toolbar configurator to containment browser.- Parameters:
configurator
- configurator to be added.
-
removeContainmentBrowserToolbarConfigurator
@OpenApi public void removeContainmentBrowserToolbarConfigurator(BrowserToolbarAMConfigurator configurator) Removes Toolbar configurator from containment browser.- Parameters:
configurator
- configurator to be removed.
-
addExtensionsBrowserToolbarConfigurator
@OpenApi public void addExtensionsBrowserToolbarConfigurator(BrowserToolbarAMConfigurator configurator) Adds new Toolbar configurator to extensions browser.- Parameters:
configurator
- configurator to be added.
-
removeExtensionsBrowserToolbarConfigurator
@OpenApi public void removeExtensionsBrowserToolbarConfigurator(BrowserToolbarAMConfigurator configurator) Removes Toolbar configurator from extensions browser.- Parameters:
configurator
- configurator to be removed.
-
addSearchBrowserToolbarConfigurator
Adds new Toolbar configurator for search browser.- Parameters:
configurator
- configurator to be added.
-
removeSearchBrowserToolbarConfigurator
@OpenApi public void removeSearchBrowserToolbarConfigurator(BrowserToolbarAMConfigurator configurator) Removes Toolbar configurator from search browser.- Parameters:
configurator
- configurator to be removed.
-
addInheritanceBrowserShortcutsConfigurator
Adds new shortcuts' configurator to inheritance browser.- Parameters:
configurator
- configurator to be added.
-
removeInheritanceBrowserShortcutsConfigurator
Removes shortcuts configurator from inheritance browser.- Parameters:
configurator
- configurator to be removed.
-
addDiagramsBrowserShortcutsConfigurator
Adds new shortcuts' configurator to diagrams browser.- Parameters:
configurator
- configurator to be added.
-
removeDiagramsBrowserShortcutsConfigurator
Removes shortcuts configurator from diagrams browser.- Parameters:
configurator
- configurator to be removed.
-
addLockViewBrowserShortcutsConfigurator
Adds new shortcuts' configurator to lock view browser.- Parameters:
configurator
- configurator to be added.
-
removeLockViewBrowserShortcutsConfigurator
Removes shortcuts configurator from lock view browser.- Parameters:
configurator
- configurator to be removed.
-
addExtensionsBrowserShortcutsConfigurator
Adds new shortcuts' configurator to extensions browser.- Parameters:
configurator
- configurator to be added.
-
removeExtensionsBrowserShortcutsConfigurator
Removes shortcuts configurator from extensions browser.- Parameters:
configurator
- configurator to be removed.
-
addSearchBrowserShortcutsConfigurator
Adds new shortcuts' configurator to search browser.- Parameters:
configurator
- configurator to be added.
-
removeSearchBrowserShortcutsConfigurator
Removes shortcuts configurator from search browser.- Parameters:
configurator
- configurator to be removed.
-
addContainmentBrowserShortcutsConfigurator
Adds new shortcuts' configurator to containment browser.- Parameters:
configurator
- configurator to be added.
-
removeContainmentBrowserShortcutsConfigurator
Removes shortcuts configurator from containment browser.- Parameters:
configurator
- configurator to be removed.
-
removeMainMenuConfigurator
Removes configurator from main menu configuration.- Parameters:
configurator
- configurator to remove.
-
addMainMenuConfigurator
Adds configurator to main menu. This method should be called before menu becomes visible.- Parameters:
configurator
- configurator will be added.
-
addCreateDiagramDialogConfigurator
Adds configurator to configure actions inside the dialog which opens when action in main menu or toolbar "Create Diagram" is executed. To configure actions inside context menu please seeaddDialogActionsConfigurator(String, ActionsManager, AMConfigurator)
- Parameters:
configurator
- actions configurator
-
removeCreateDiagramDialogConfigurator
Remove configurator to configure actions inside "Create Diagram" dialog.- Parameters:
configurator
- configurator to be removed
-
addDialogActionsConfigurator
@OpenApi public static void addDialogActionsConfigurator(String categoryID, ActionsManager manager, AMConfigurator configurator) Adds configurator to configure actions inside specific popup dialog which constructs its actions only when respective popup menu item is clicked.
Call this method inside
BrowserContextAMConfigurator.configure(ActionsManager, Tree)
in order to configure browser context menu actions. Call this method inside (@linkDiagramContextAMConfigurator.configure(ActionsManager, DiagramPresentationElement, PresentationElement[], PresentationElement)
to configure diagram context menu actions- Parameters:
categoryID
- id of the category which represents the dialog to be configured. Most common examples:
ActionsID.NEW_ELEMENT_CATEGORY_ID
- to configure "Create Element" context action
ActionsID.NEW_DIAGRAM_CATEGORY_ID
- to configure "Create Diagram" context action
ActionsID.NEW_RELATION_CATEGORY_FROM_ID
- to configure "Create Relation->Outgoing" context action
ActionsID.NEW_RELATION_CATEGORY_TO_ID
- to configure "Create Relation->Outgoing" context actionmanager
- actions manager that contains the category with the given id. Category may be empty at the time this method is called. since category actions are only created when the menu item is clicked Category may not exist in the manager, in that case nothing will get configured. Category should not be added to the manager manually if it is not present.configurator
- actions configurator which will be called when constructing actions (when displaying the dialog with actions)
-
removeMainShortcutsConfigurator
Removes configurator for main shortcuts.- Parameters:
configurator
- configurator will be removed.
-
addMainShortcutsConfigurator
Adds configurator for main shortcuts.- Parameters:
configurator
- configurator will be added.
-
removeCustomizableShortcutsConfigurator
Removes configurator for main shortcuts.- Parameters:
configurator
- configurator will be removed.
-
addCustomizableShortcutsConfigurator
Adds configurator for main shortcuts.- Parameters:
configurator
- configurator will be added.
-
addMainToolbarConfigurator
Adds configurator to main toolbar. This method should be called before toolbar becomes visible.- Parameters:
configurator
- configurator will be added.
-
removeMainToolbarConfigurator
Removes configurator from main toolbar.- Parameters:
configurator
- configurator will be removed.
-
addDiagramToolbarActionsProvider
@OpenApi public void addDiagramToolbarActionsProvider(String diagramType, CustomizableDiagramToolbarActionsProvider provider) Adds new toolbar provider for given diagram type.- Parameters:
diagramType
- diagram type.provider
- action provider to be added.
-
removeDiagramToolbarActionsProvider
@OpenApi public void removeDiagramToolbarActionsProvider(String diagramType, CustomizableDiagramToolbarActionsProvider provider) Removes action provider for specified diagram type.- Parameters:
diagramType
- diagram typeprovider
- action provider to be removed.
-