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.ChangeLinkIntermediatePointsAction

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

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

Method Summary

  • constructor(diagram, link) creates a new instance, setting the corresponding label
  • getLabel() return the label. This should be used to be shown in the UI
  • getLink() returns the link, looking for replaces if necessary
  • 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
  • setAddPointOperation(index, point)
  • setLabel(label) sets the label that should be used to be shown in the UI
  • setModifyPointOperation(index, newPoint, oldPoint)
  • setRemovePointOperation(index, oldPoint)
  • setUndoManager(undoManager) Sets the undo Manager
  • undo() call the undo function

Methods

constructor
creates a new instance, setting the corresponding label
ParameterTypeDescription
diagram
link
getLabel
return the label. This should be used to be shown in the UI
getLink
returns the link, looking for replaces if necessary
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
setAddPointOperation
ParameterTypeDescription
index
point
setLabel
sets the label that should be used to be shown in the UI
ParameterTypeDescription
label
setModifyPointOperation
ParameterTypeDescription
index
newPoint
oldPoint
setRemovePointOperation
ParameterTypeDescription
index
oldPoint
setUndoManager
Sets the undo Manager
ParameterTypeDescription
undoManager
undo
call the undo function