IBM ILOG Dojo Diagrammer 1.1.1 API Documentation
Legend: Array Boolean Constructor Date DomNode Error Function Namespace Number Object RegExp Singleton String

ibm_ilog.diagram.editor.undo.GroupAction

Object » ibm_ilog.diagram.editor.undo.Action » ibm_ilog.diagram.editor.undo.UserCustomizedAction » ibm_ilog.diagram.editor.undo.GroupAction
dojo.require("ibm_ilog.diagram.editor.undo.GroupAction");

this action undo/redo any Group action. This action must be modified for the user if any user defined action is done on a Group action.

Method Summary

  • constructor() creates a new instance, setting the corresponding label
  • getElements() gets the elements list to be group
  • getRedoUserFunction() gets the redoUser function.
  • getSubgraph() gets the subgraph where to group
  • getUndoUserFunction() gets the undoUser function. This function is called when undo function.
  • redoFunction() this function must be overwritten by subclasses, and is called on redo
  • setElements(elements) sets the elements list to be group
  • setRedoUserFunction(redoUserFunction) sets the undoUser function. The set function is called after the standard undo function is done.
  • setSubgraph(subgraph) sets the subgraph where to group
  • setUndoUserFunction(undoUserFunction) sets the undoUser function. The set function is called when undo function. The undoUserFunction must be set every time the user adds custom code on drop action.
  • undoFunction() this function must be overwritten by subclasses, and is called on undo

Methods

constructor
creates a new instance, setting the corresponding label
getElements
gets the elements list to be group
getRedoUserFunction
gets the redoUser function.
getSubgraph
gets the subgraph where to group
getUndoUserFunction
gets the undoUser function. This function is called when undo function.
redoFunction
this function must be overwritten by subclasses, and is called on redo
setElements
sets the elements list to be group
ParameterTypeDescription
elements
setRedoUserFunction
sets the undoUser function. The set function is called after the standard undo function is done.
ParameterTypeDescription
redoUserFunction
setSubgraph
sets the subgraph where to group
ParameterTypeDescription
subgraph
setUndoUserFunction
sets the undoUser function. The set function is called when undo function. The undoUserFunction must be set every time the user adds custom code on drop action.
ParameterTypeDescription
undoUserFunction
undoFunction
this function must be overwritten by subclasses, and is called on undo