ibm_ilog.diagram.editor.undo.DeleteLinkAction (version 1.1-SNAPSHOT)
Object » ibm_ilog.diagram.editor.undo.Action » ibm_ilog.diagram.editor.undo.UserCustomizedAction » ibm_ilog.diagram.editor.undo.ConnectAction » 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
Defined by ibm_ilog.diagram.editor.undo.Action, ibm_ilog.diagram.editor.undo.UserCustomizedAction, ibm_ilog.diagram.editor.undo.ConnectAction
creates a new instance, setting the corresponding label
Parameter | Type | Description |
---|---|---|
diagram | ||
link | ||
parent |
Defined by ibm_ilog.diagram.editor.undo.UserCustomizedAction, ibm_ilog.diagram.editor.undo.ConnectAction
returns the link, looking for replaces if necessary
Defined by ibm_ilog.diagram.editor.undo.Action
gets the undoUser function. This function is called when undo function.
Overrides ibm_ilog.diagram.editor.undo.Action, ibm_ilog.diagram.editor.undo.UserCustomizedAction, ibm_ilog.diagram.editor.undo.ConnectAction
this function must be overwritten by subclasses, and is called on redo
Defined by ibm_ilog.diagram.editor.undo.Action
sets the undoUser function. The set function is called after the standard undo function is done.
Parameter | Type | Description |
---|---|---|
redoUserFunction |
Defined by ibm_ilog.diagram.editor.undo.Action
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 |
Overrides ibm_ilog.diagram.editor.undo.Action, ibm_ilog.diagram.editor.undo.UserCustomizedAction, ibm_ilog.diagram.editor.undo.ConnectAction
this function must be overwritten by subclasses, and is called on undo