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
Methods
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
Parameter | Type | Description |
---|---|---|
label |
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.
Parameter | Type | Description |
---|---|---|
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.
Parameter | Type | Description |
---|---|---|
diagram | ||
link | ||
parent |
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.
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.
this action groups a list of actions. It simple groups a set of actions in a single complex action.
Parameter | Type | Description |
---|---|---|
label |
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.
Parameter | Type | Description |
---|---|---|
diagram | ||
link | ||
position | ||
savedConnection | ||
newConnection | ||
createPort | ||
applyConnection |
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.
Parameter | Type | Description |
---|---|---|
label |
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
Parameter | Type | Description |
---|---|---|
diagram |
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.