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

ibm_ilog.diagram.editor.undo.MultipleAction (version 1.1-SNAPSHOT)

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

this action groups a list of actions. It simple groups a set of actions in a single complex action.

Method Summary

  • addAction(action) adds an action to the list
  • constructor(label) creates a new instance, setting up the label
  • getLabel() return the label. This should be used to be shown in the UI
  • getReverseRedo() gets to apply the redo actions in reverse order
  • getReverseUndo() gets to apply the undo actions in reverse order
  • getUndoManager() Gets the undo Manager. The UndoManager is set in the Action automatically when it is added to the undo stack
  • initialize(undoFunction, redoFunction) initialize the action, by setting the undo and redo functions
  • isRedoing() return true if the action is executing a redo action
  • isUndoing() return true if the action is executing an undo action
  • redo() call the redo function
  • setLabel(label) sets the label that should be used to be shown in the UI
  • setReverseRedo(reverse) sets to apply the redo actions in reverse order
  • setReverseUndo(reverse) sets to apply the undo actions in reverse order
  • setUndoManager(undoManager) sets the undo Manager to each individual action added to the list
  • undo() call the undo function

Attached Objects

Methods

addAction
adds an action to the list
ParameterTypeDescription
action
constructor
creates a new instance, setting up the label
ParameterTypeDescription
label
getLabel
return the label. This should be used to be shown in the UI
getReverseRedo
gets to apply the redo actions in reverse order
getReverseUndo
gets to apply the undo actions in reverse order
getUndoManager
Gets the undo Manager. The UndoManager is set in the Action automatically when it is added to the undo stack
initialize
initialize the action, by setting the undo and redo functions
ParameterTypeDescription
undoFunction
redoFunction
isRedoing
return true if the action is executing a redo action
isUndoing
return true if the action is executing an undo action
redo
call the redo function
setLabel
sets the label that should be used to be shown in the UI
ParameterTypeDescription
label
setReverseRedo
sets to apply the redo actions in reverse order
ParameterTypeDescription
reverse
setReverseUndo
sets to apply the undo actions in reverse order
ParameterTypeDescription
reverse
setUndoManager
sets the undo Manager to each individual action added to the list
ParameterTypeDescription
undoManager
undo
call the undo function