Class AC.cace.Role
Defines functions to create and rename roles.
Defined in: ProjectFunctions.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Default constructor.
|
Method Attributes | Method Name and Description |
---|---|
<static> |
AC.cace.Role.createRole(superiorId, afterId, beforeId, properties, callbackObject, callbackMethod)
Creates a role as a subordinate of the specified parent such that this role comes after the
specified 'afterId' and before the specified 'beforeId' contributions.
|
<static> |
AC.cace.Role.renameRole()
Renames a role to the name entered in the rename role dialog.
|
<static> |
AC.cace.Role.renameRoleDialog()
Configures a GUI dialog to rename a role.
|
Method Detail
<static>
AC.cace.Role.createRole(superiorId, afterId, beforeId, properties, callbackObject, callbackMethod)
Creates a role as a subordinate of the specified parent such that this role comes after the
specified 'afterId' and before the specified 'beforeId' contributions. If the passed-in superior id is null,
the id will be read off from the project node closest to the currently selected node in the tree explorer.
- Parameters:
- superiorId
- the superior id
- afterId
- the id of a preceding contribution
- beforeId
- the id of a succeeding contribution
- properties
- the properties of the role
- callbackObject
- the callback object
- callbackMethod
- the callback method
- Returns:
- void
<static>
AC.cace.Role.renameRole()
Renames a role to the name entered in the rename role dialog.
- Returns:
- void
<static>
AC.cace.Role.renameRoleDialog()
Configures a GUI dialog to rename a role.
- Returns:
- void