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

dojo.require("ibm_ilog.diagram.editor.undo.DeleteAction");

Method Summary

  • constructor(diagram, link, parent) creates a new instance, setting the corresponding label
  • getLink() returns the link, looking for replaces if necessary
  • getRedoUserFunction() gets the redoUser function.
  • 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
  • setRedoUserFunction(redoUserFunction) sets the undoUser function. The set function is called after the standard undo function is done.
  • 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
ParameterTypeDescription
diagram
link
parent
getLink
returns the link, looking for replaces if necessary
getRedoUserFunction
gets the redoUser function.
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
setRedoUserFunction
sets the undoUser function. The set function is called after the standard undo function is done.
ParameterTypeDescription
redoUserFunction
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