Package com.nomagic.magicdraw.actions
Class MDActionsManager
java.lang.Object
com.nomagic.actions.ActionsManager
com.nomagic.magicdraw.actions.MDActionsManager
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
DiagramToolbarConfiguration
The class responsible for managing the actions and categories.
It does not have any business logic at the moment and exists only because of API compatibility.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.nomagic.actions.ActionsManager
ActionsManager.ActionPropertyChangeListener
-
Field Summary
Fields inherited from class com.nomagic.actions.ActionsManager
SHORTCUTS_MODIFIED
-
Constructor Summary
ConstructorsConstructorDescriptionCreates the actions manager.MDActionsManager
(ActionsManager parent) Creates the actions manager. -
Method Summary
Methods inherited from class com.nomagic.actions.ActionsManager
addActionNearTheGiven, addActionNearTheGiven, addCategory, addCategory, addCategory, addCategory, constructNoneAction, createCache, dropCache, forEach, forEachIncludingSelf, getActionFor, getActionFor, getActionParent, getActionsCategoryRecursively, getAllActions, getAllOrderedActions, getCategories, getCategory, getIdToActionMap, getLastActionsCategory, getOrCreateCache, getParent, isEmpty, makeCopy, markShortcutsModified, removeAction, removeAction, removeAction, removeAllActions, removeCategory, removeIf, setCategories, setParent, updateCommandKeysFrom, updateShortcutsFrom, updateStateForAllActions
-
Constructor Details
-
MDActionsManager
public MDActionsManager()Creates the actions manager. -
MDActionsManager
Creates the actions manager.- Parameters:
parent
- the parent of the actions manager. May be null.
-
-
Method Details
-
clone
Description copied from class:ActionsManager
Clones the manager. Does deep clone.- Overrides:
clone
in classActionsManager
- Returns:
- cloned instance
-