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

ibm_ilog.diagram.editor.undo

Object » ibm_ilog.diagram.editor.undo

Property Summary

Method Summary

  • Action(label) this is the base Undo action. This contains the base components to apply all undo/redo actions on the UndoManager. Any Undo Action should inherit from this class
  • ChangeLinkIntermediatePointsAction(diagram, link) 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.
  • ConnectAction(diagram, link, parent) 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.
  • DeleteAction(diagram)
  • DeleteLinkAction()
  • 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.
  • GroupAction() this action undo/redo any Group action. This action must be modified for the user if any user defined action is done on a Group action.
  • InvertLinkAction() this action undo / redo a reparenting action.
  • MultipleAction(label) this action groups a list of actions. It simple groups a set of actions in a single complex action.
  • PasteNodeAction()
  • ReConnectAction(diagram, link, position, savedConnection, newConnection, createPort, applyConnection) 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.
  • ReorderAction() this action undo / redo a reordering action.
  • ReparentingAction() this action undo / redo a reparenting action.
  • SimpleAction(label) This class is the simple undo action. It is used to undo/redo simple properties that can be changed by setting up a property or calling a method with a simple argument.
  • UndoManager(diagram) this class is the central component of the Undo Management system. The undo management provides the user the ability to undo applied changes to the diagram, and after an undo operation, the redo of the undone action. This feature is available out of the box in the DiagramEditor, and support not only all standard changes that can be applied through the DiagramEditor, but also any simple property change that the user could apply programmatically, with the corresponding undo object registration. More complex operation can also be supported by the Undo Management system, but the user would be responsible for the implementation of the custom undo action
  • UngroupAction() this action undo/redo any Ungroup action. This action must be modified for the user if any user defined action is done on a Ungroup action.
  • UserCustomizedAction() this action is a simple action, that also called a userCustomized function on undo/redo. The functions onUndo and onRedo must be overwritten by subclasses

Attached Objects

Properties

UndoActionList

Methods

Action
this is the base Undo action. This contains the base components to apply all undo/redo actions on the UndoManager. Any Undo Action should inherit from this class
ParameterTypeDescription
label
ChangeLinkIntermediatePointsAction
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.
ParameterTypeDescription
diagram
link
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.
ParameterTypeDescription
diagram
link
parent
DeleteAction
ParameterTypeDescription
diagram
DeleteLinkAction
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.
GroupAction
this action undo/redo any Group action. This action must be modified for the user if any user defined action is done on a Group action.
InvertLinkAction
this action undo / redo a reparenting action.
MultipleAction
this action groups a list of actions. It simple groups a set of actions in a single complex action.
ParameterTypeDescription
label
PasteNodeAction
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.
ParameterTypeDescription
diagram
link
position
savedConnection
newConnection
createPort
applyConnection
ReorderAction
this action undo / redo a reordering action.
ReparentingAction
this action undo / redo a reparenting action.
SimpleAction
This class is the simple undo action. It is used to undo/redo simple properties that can be changed by setting up a property or calling a method with a simple argument.
ParameterTypeDescription
label
UndoManager
this class is the central component of the Undo Management system. The undo management provides the user the ability to undo applied changes to the diagram, and after an undo operation, the redo of the undone action. This feature is available out of the box in the DiagramEditor, and support not only all standard changes that can be applied through the DiagramEditor, but also any simple property change that the user could apply programmatically, with the corresponding undo object registration. More complex operation can also be supported by the Undo Management system, but the user would be responsible for the implementation of the custom undo action
ParameterTypeDescription
diagram
UngroupAction
this action undo/redo any Ungroup action. This action must be modified for the user if any user defined action is done on a Ungroup action.
UserCustomizedAction
this action is a simple action, that also called a userCustomized function on undo/redo. The functions onUndo and onRedo must be overwritten by subclasses