ibm_ilog.diagram.editor.undo.ConnectAction
Object » ibm_ilog.diagram.editor.undo.Action » ibm_ilog.diagram.editor.undo.UserCustomizedAction » ibm_ilog.diagram.editor.undo.ConnectAction
dojo.require("ibm_ilog.diagram.editor.undo.ConnectAction");
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, 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
creates a new instance, setting the corresponding label
Parameter | Type | Description |
---|---|---|
diagram | ||
link | ||
parent |
gets the redoUser function.
gets the undoUser function. This function is called when undo function.
this function must be overwritten by subclasses, and is called on redo
sets the undoUser function. The set function is called after the standard undo function is done.
Parameter | Type | Description |
---|---|---|
redoUserFunction |
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.
Parameter | Type | Description |
---|---|---|
undoUserFunction |
this function must be overwritten by subclasses, and is called on undo