IBM ILOG Dojo Diagrammer 1.1 API Documentation
Legend: Array Boolean Constructor Date DomNode Error Function Namespace Number Object RegExp Singleton String

ibm_ilog.diagram.editor.undo.DropAction

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

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
sets the drop interactor
ParameterTypeDescription
dropInteractor
setDroppedItem
sets the dropped item
ParameterTypeDescription
droppedItem
setDroppedPosition
sets the dropped position (graph coordinates)
ParameterTypeDescription
droppedPosition
setElementsList
sets the elements list, that contains the graph elements that match to the dropped position
ParameterTypeDescription
elementsList
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