Class ElementPermissionsManager
java.lang.Object
com.nomagic.magicdraw.uml.permissions.ElementPermissionsManager
Class responsible for managing permissions of element : readonly, can add children.
This manager does not contain any logic, external
ElementPermissions
should be registered to handle permissions.-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPermisionsHandler
(ElementPermissions permissions) Deprecated.spelling error.void
addPermissionsHandler
(ElementPermissions permissions) Register custom permission handlerstatic ElementPermissionsManager
Singleton gettervoid
removePermisionsHandler
(ElementPermissions permissions) Deprecated.spelling error.void
removePermissionsHandler
(ElementPermissions permissions) Unregister custom permission handler
-
Method Details
-
getElementPermissionsManager
Singleton getter- Returns:
- instance
-
addPermisionsHandler
Deprecated.spelling error. Use #addPermissionsHandlerRegister custom permission handler- Parameters:
permissions
- permissions handler
-
addPermissionsHandler
Register custom permission handler- Parameters:
permissions
- permissions handler
-
removePermisionsHandler
Deprecated.spelling error. Use #removePermissionsHandlerUnregister custom permission handler- Parameters:
permissions
- permissions handler
-
removePermissionsHandler
Unregister custom permission handler- Parameters:
permissions
- permissions handler
-