Class AC.cace.Activity
Defines functions to create and rename phases and activities.
Defined in: ProjectFunctions.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Default constructor.
|
Method Attributes | Method Name and Description |
---|---|
<static> |
AC.cace.Activity.createActivity(parentId, afterId, beforeId)
Creates an activity as a subordinate of the specified parent such that this activity comes after the
specified 'afterId' and before the specified 'beforeId' contributions.
|
<static> |
AC.cace.Activity.createPhase(createSubPhase, parentId, afterId, beforeId)
Creates a phase as a subordinate of the specified parent such that this activity comes after the
specified 'afterId' and before the specified 'beforeId' contributions.
|
<static> |
AC.cace.Activity.renameActivity()
Renames an activity to the name entered in the rename activity dialog.
|
<static> |
AC.cace.Activity.renameActivityDialog()
Configures a GUI dialog to rename an activity.
|
<static> |
AC.cace.Activity.renamePhase()
Renames a phase to the name entered in the rename phase dialog.
|
<static> |
AC.cace.Activity.renamePhaseDialog()
Configures a GUI dialog to rename a phase.
|
Method Detail
<static>
AC.cace.Activity.createActivity(parentId, afterId, beforeId)
Creates an activity as a subordinate of the specified parent such that this activity comes after the
specified 'afterId' and before the specified 'beforeId' contributions. If the passed-in parent id is null,
the id will be read off from the first selected node in the tree explorer.
- Parameters:
- parentId
- the parent id
- afterId
- the id of a preceding contribution
- beforeId
- the id of a succeeding contribution
- Returns:
- void
<static>
AC.cace.Activity.createPhase(createSubPhase, parentId, afterId, beforeId)
Creates a phase as a subordinate of the specified parent such that this activity comes after the
specified 'afterId' and before the specified 'beforeId' contributions. If the passed-in parent id is null,
the id will be read off from the first selected node in the tree explorer.
- Parameters:
- createSubPhase
- boolean flag to indicate whether this should be a subphase
- parentId
- the parent id
- afterId
- the id of a preceding contribution
- beforeId
- the id of a succeeding contribution
- Returns:
- void
<static>
AC.cace.Activity.renameActivity()
Renames an activity to the name entered in the rename activity dialog.
- Returns:
- void
<static>
AC.cace.Activity.renameActivityDialog()
Configures a GUI dialog to rename an activity.
- Returns:
- void
<static>
AC.cace.Activity.renamePhase()
Renames a phase to the name entered in the rename phase dialog.
- Returns:
- void
<static>
AC.cace.Activity.renamePhaseDialog()
Configures a GUI dialog to rename a phase.
- Returns:
- void