Class actionCenterUtility
A utility class
Defined in: Utility.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Default constructor.
|
Method Attributes | Method Name and Description |
---|---|
<static> |
actionCenterUtility.choiceDialog(choices, text, target, passAlongData, callBackObject, callBackMethod)
Displays a choice dialog.
|
<static> |
actionCenterUtility.convertStringArrayToDelimitedString(stringArray)
Converts a string array to a delimited string.
|
<static> |
actionCenterUtility.displayClientMessage(msg)
Displays the specified message to the client.
|
<static> |
actionCenterUtility.DropEventsEditor(popRuleContributionId, componentContributionId, states)
Launches the drop-event editor.
|
<static> |
actionCenterUtility.executeStandardTreeNodeMove(moveMap, relationshipType)
Executes a standard tree node move.
|
<static> |
actionCenterUtility.FIBUEditor(contributionId, states)
Launches the FIBU editor.
|
<static> |
actionCenterUtility.findNodeType(targetType, nodesToInspect)
Finds the node of the specified target type in the specified array of nodes to inspect.
|
<static> |
actionCenterUtility.getContributionTreeDropMap(e, c, t)
Gets a map specifying contribution info for tree node drops.
|
<static> |
actionCenterUtility.isInList(candidate, list)
Checks if the specified candidate is contained in the specified list.
|
<static> |
actionCenterUtility.reorder(rootNode, newNode, parentNode)
Re-orders the specified new node as a child of the specified root node.
|
<static> |
actionCenterUtility.reorderCounter(rootNode, isRootCounterChanged)
Utility function to re-order line number counters.
|
<static> |
actionCenterUtility.reorderGrid(rootNode, newNode, parentNode)
Re-orders the specified new node as a child of the specified root node.
|
<static> |
actionCenterUtility.reorderInList(parentNode, newNode)
Re-orderes the specified new node in the list of child nodes of the specified parent node.
|
<static> |
actionCenterUtility.startClientMessageListener()
Starts the listeners for client messages.
|
Method Detail
<static>
actionCenterUtility.choiceDialog(choices, text, target, passAlongData, callBackObject, callBackMethod)
Displays a choice dialog.
- Parameters:
- choices
- the array of choices to be presented
- text
- the title of the dialog
- target
- the target id of the container of the dialog; if null, the dialog is a pop-up window
- passAlongData
- the data to be passed along in a callback
- callBackObject
- callback object
- callBackMethod
- callback method
- Returns:
- void
<static>
actionCenterUtility.convertStringArrayToDelimitedString(stringArray)
Converts a string array to a delimited string.
- Parameters:
- stringArray
- an array of strings
- Returns:
- a delimitedString
<static>
actionCenterUtility.displayClientMessage(msg)
Displays the specified message to the client.
- Parameters:
- msg
- the message
- Returns:
- void
<static>
actionCenterUtility.DropEventsEditor(popRuleContributionId, componentContributionId, states)
Launches the drop-event editor.
- Parameters:
- popRuleContributionId
- the population rule contribution id
- componentContributionId
- the component contribution id
- states
- the array of states
- Returns:
- void
<static>
actionCenterUtility.executeStandardTreeNodeMove(moveMap, relationshipType)
Executes a standard tree node move.
- Parameters:
- moveMap
- the map specifying the node move info
- relationshipType
- the relationship type of the node after the move
- Returns:
- void
<static>
actionCenterUtility.FIBUEditor(contributionId, states)
Launches the FIBU editor.
- Parameters:
- contributionId
- the contribution id
- states
- array of states for FIBU editing
- Returns:
- void
<static>
actionCenterUtility.findNodeType(targetType, nodesToInspect)
Finds the node of the specified target type in the specified array of nodes to inspect.
- Parameters:
- targetType
- the target node type
- nodesToInspect
- the array of nodes to inspect
- Returns:
- the found node or null otherwise
<static>
actionCenterUtility.getContributionTreeDropMap(e, c, t)
Gets a map specifying contribution info for tree node drops.
- Parameters:
- e
- the drop event
- c
- the counter within drop nodes
- t
- the type to cast the contribution to
- Returns:
- the tree drop node map
<static>
actionCenterUtility.isInList(candidate, list)
Checks if the specified candidate is contained in the specified list.
- Parameters:
- candidate
- the candidate
- list
- the list
- Returns:
- true if the candidate is in the list.
<static>
actionCenterUtility.reorder(rootNode, newNode, parentNode)
Re-orders the specified new node as a child of the specified root node.
- Parameters:
- rootNode
- the root node
- newNode
- the new node
- parentNode
- the parent node
- Returns:
- void
<static>
actionCenterUtility.reorderCounter(rootNode, isRootCounterChanged)
Utility function to re-order line number counters.
- Parameters:
- rootNode
- the root node whose child nodes need to be re-ordered
- isRootCounterChanged
- indicates whether the parent node's counter changed
- Returns:
- void
<static>
actionCenterUtility.reorderGrid(rootNode, newNode, parentNode)
Re-orders the specified new node as a child of the specified root node.
- Parameters:
- rootNode
- the root node
- newNode
- the new node
- parentNode
- the parent node
- Returns:
- void
<static>
actionCenterUtility.reorderInList(parentNode, newNode)
Re-orderes the specified new node in the list of child nodes of the specified parent node.
- Parameters:
- parentNode
- the parent node
- newNode
- the new node
- Returns:
- void
<static>
actionCenterUtility.startClientMessageListener()
Starts the listeners for client messages.
- Returns:
- void