ibm_ilog.diagram.editor.undo.DropAction (version 1.1-SNAPSHOT)
Object » ibm_ilog.diagram.editor.undo.Action » ibm_ilog.diagram.editor.undo.UserCustomizedAction » ibm_ilog.diagram.editor.undo.DropAction
dojo.require("ibm_ilog.diagram.editor.undo.DropAction");
this action undo/redo any drop action. This action must be modified for the user if any user defined action is done on a drop action.
Method Summary
- constructor() creates a new instance, setting the corresponding label
- getDropInteractor() gets the drop interactor
- getDroppedItem() gets the dropped item
- getDroppedPosition() gets the dropped position (graph coordinates)
- getElementsList() gets the elements list, that contains the graph elements that match to the dropped position
- 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
- setDropInteractor(dropInteractor) sets the drop interactor
- setDroppedItem(droppedItem) sets the dropped item
- setDroppedPosition(droppedPosition) sets the dropped position (graph coordinates)
- setElementsList(elementsList) sets the elements list, that contains the graph elements that match to the dropped position
- 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
gets the elements list, that contains the graph elements that match to the dropped position
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 dropped position (graph coordinates)
Parameter | Type | Description |
---|---|---|
droppedPosition |
sets the elements list, that contains the graph elements that match to the dropped position
Parameter | Type | Description |
---|---|---|
elementsList |
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