ibm_ilog.diagram.editor.undo.ReConnectAction (version 1.1-SNAPSHOT)
Object » ibm_ilog.diagram.editor.undo.Action » ibm_ilog.diagram.editor.undo.UserCustomizedAction » ibm_ilog.diagram.editor.undo.ReConnectAction
dojo.require("ibm_ilog.diagram.editor.undo.ReConnectAction");
this action undo/redo any ReConnect action. This action must be modified for the user if any user defined action is done on a ReConnect action.
Method Summary
- constructor(diagram, link, position, savedConnection, newConnection, createPort, applyConnection) creates a new instance, setting the corresponding label
- getLink()
- getRedoUserFunction() gets the redoUser function.
- getUndoUserFunction() gets the undoUser function. This function is called when undo function.
- isStartModified()
- 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
Attached Objects
Methods
creates a new instance, setting the corresponding label
Parameter | Type | Description |
---|---|---|
diagram | ||
link | ||
position | ||
savedConnection | ||
newConnection | ||
createPort | ||
applyConnection |
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