ibm_ilog.diagram.editor.undo.ReparentingAction (version 1.1-SNAPSHOT)
Object » ibm_ilog.diagram.editor.undo.Action » ibm_ilog.diagram.editor.undo.ReparentingAction
dojo.require("ibm_ilog.diagram.editor.undo.ReparentingAction");
this action undo / redo a reparenting action.
Method Summary
- constructor(label) creates a new instance, setting the corresponding label
- getLabel() return the label. This should be used to be shown in the UI
- getUndoManager() Gets the undo Manager. The UndoManager is set in the Action automatically when it is added to the undo stack
- initialize(undoFunction, redoFunction) initialize the action, by setting the undo and redo functions
- isRedoing() return true if the action is executing a redo action
- isUndoing() return true if the action is executing an undo action
- redo() call the redo function
- setLabel(label) sets the label that should be used to be shown in the UI
- setModifiedElementId(modifiedElementId) sets the modified element Id
- setNewParentId(newParentId) sets the new parent Id
- setOldParentId(oldParentId) sets the old parent Id
- setUndoManager(undoManager) Sets the undo Manager
- undo() call the undo function
Methods
Overrides ibm_ilog.diagram.editor.undo.Action
creates a new instance, setting the corresponding label
Parameter | Type | Description |
---|---|---|
label |
Defined by ibm_ilog.diagram.editor.undo.Action
return the label. This should be used to be shown in the UI
Defined by ibm_ilog.diagram.editor.undo.Action
Gets the undo Manager. The UndoManager is set in the Action automatically when it is added to the undo stack
Defined by ibm_ilog.diagram.editor.undo.Action
initialize the action, by setting the undo and redo functions
Parameter | Type | Description |
---|---|---|
undoFunction | ||
redoFunction |
Defined by ibm_ilog.diagram.editor.undo.Action
return true if the action is executing a redo action
Defined by ibm_ilog.diagram.editor.undo.Action
return true if the action is executing an undo action
Defined by ibm_ilog.diagram.editor.undo.Action
sets the label that should be used to be shown in the UI
Parameter | Type | Description |
---|---|---|
label |
Defined by ibm_ilog.diagram.editor.undo.Action
Sets the undo Manager
Parameter | Type | Description |
---|---|---|
undoManager |