Class ElementPermissionsManager
- java.lang.Object
-
- com.nomagic.magicdraw.uml.permissions.ElementPermissionsManager
-
@OpenApi public final class ElementPermissionsManager extends java.lang.Object
Class responsible for managing permissions of element : readonly, can add children. This manager does not contain any logic, externalElementPermissions
should be registered to handle permissions.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addPermisionsHandler(ElementPermissions permissions)
Deprecated.spelling error.void
addPermissionsHandler(ElementPermissions permissions)
Register custom permission handlerstatic ElementPermissionsManager
getElementPermissionsManager()
Singleton gettervoid
removePermisionsHandler(ElementPermissions permissions)
Deprecated.spelling error.void
removePermissionsHandler(ElementPermissions permissions)
Unregister custom permission handler
-
-
-
Method Detail
-
getElementPermissionsManager
@OpenApi public static ElementPermissionsManager getElementPermissionsManager()
Singleton getter- Returns:
- instance
-
addPermisionsHandler
@OpenApi @Deprecated public void addPermisionsHandler(ElementPermissions permissions)
Deprecated.spelling error. Use #addPermissionsHandlerRegister custom permission handler- Parameters:
permissions
- permissions handler
-
addPermissionsHandler
@OpenApi public void addPermissionsHandler(ElementPermissions permissions)
Register custom permission handler- Parameters:
permissions
- permissions handler
-
removePermisionsHandler
@OpenApi @Deprecated public void removePermisionsHandler(ElementPermissions permissions)
Deprecated.spelling error. Use #removePermissionsHandlerUnregister custom permission handler- Parameters:
permissions
- permissions handler
-
removePermissionsHandler
@OpenApi public void removePermissionsHandler(ElementPermissions permissions)
Unregister custom permission handler- Parameters:
permissions
- permissions handler
-
-