Package com.nomagic.magicdraw.actions
Class MDActionsManager
- java.lang.Object
-
- com.nomagic.actions.ActionsManager
-
- com.nomagic.magicdraw.actions.MDActionsManager
-
- All Implemented Interfaces:
java.lang.Cloneable
- Direct Known Subclasses:
DiagramToolbarConfiguration
@OpenApi public class MDActionsManager extends ActionsManager
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
Constructors Constructor Description MDActionsManager()
Creates the actions manager.MDActionsManager(ActionsManager parent)
Creates the actions manager.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MDActionsManager
clone()
Clones the manager.-
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 Detail
-
MDActionsManager
public MDActionsManager()
Creates the actions manager.
-
MDActionsManager
public MDActionsManager(@CheckForNull ActionsManager parent)
Creates the actions manager.- Parameters:
parent
- the parent of the actions manager. May be null.
-
-
Method Detail
-
clone
public MDActionsManager clone()
Description copied from class:ActionsManager
Clones the manager. Does deep clone.- Overrides:
clone
in classActionsManager
- Returns:
- cloned instance
-
-