Class AC.cace.PaletteFunctions
Defines palette functions.
Defined in: PaletteObjects.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Default constructor.
|
Method Attributes | Method Name and Description |
---|---|
<static> |
AC.cace.PaletteFunctions.chooseLeaderRolesDialog(leaderRoles, participantRoles, contributionIds, categoryId)
Displays a dialog to choose leader roles.
|
<static> |
AC.cace.PaletteFunctions.chooseLeaderRolesSave(contributionIds, categoryId)
Saves user-selected leader roles.
|
<static> |
AC.cace.PaletteFunctions.getAvailableWidgets(parentContribution, widgetType)
Gets available widgets: tools and controls.
|
<static> |
AC.cace.PaletteFunctions.populateWidgets(msg)
Populates the choose-widget dialog with widgets in the specified message.
|
Method Detail
<static>
AC.cace.PaletteFunctions.chooseLeaderRolesDialog(leaderRoles, participantRoles, contributionIds, categoryId)
Displays a dialog to choose leader roles.
- Parameters:
- leaderRoles
- the leader roles
- participantRoles
- the participant roles
- contributionIds
- the contribution id's
- categoryId
- the category id
- Returns:
- void
<static>
AC.cace.PaletteFunctions.chooseLeaderRolesSave(contributionIds, categoryId)
Saves user-selected leader roles.
- Parameters:
- contributionIds
- contribution ids
- categoryId
- category id
- Returns:
- void
<static>
AC.cace.PaletteFunctions.getAvailableWidgets(parentContribution, widgetType)
Gets available widgets: tools and controls.
- Parameters:
- parentContribution
- the parent contribution
- widgetType
- the type of the widget
- Returns:
- void
<static>
AC.cace.PaletteFunctions.populateWidgets(msg)
Populates the choose-widget dialog with widgets in the specified message.
- Parameters:
- msg
- the message
- Returns:
- void