Northwoods.GoXam.Model Namespace : UndoManager Class |
The following tables list the members exposed by UndoManager.
Name | Description | |
---|---|---|
UndoManager Constructor | Create a UndoManager that is ready to record model modifications, but that does not know about any models yet. |
Name | Description | |
---|---|---|
ChecksTransactionLevel | Gets or sets whether this undo manager will output warnings to Trace listeners when model changes occur outside of a transaction. | |
CompoundEdits | Gets a list of all of the compound edits. | |
CurrentEdit | Gets the current compound edit for recording additional model change events. | |
CurrentTransactionName | Gets the current transaction name given by StartTransaction. | |
EditToRedo | Gets the current IUndoableEdit to be redone, or null if there is none. | |
EditToUndo | Gets the current IUndoableEdit to be undone, or null if there is none. | |
IsUndoingRedoing | This property is true during a call to Undo or Redo. | |
MaximumEditCount | Gets or sets the maximum number of compound edits that this undo manager will remember. | |
Models | Gets a list of models for which this UndoManager is recording undo/redo information. | |
NestedTransactionNames | Gets a stack of ongoing transaction names. | |
TransactionLevel | Gets the current transaction level. | |
UndoEditIndex | Gets the index into CompoundEdits for the current undoable edit. |
Name | Description | |
---|---|---|
AddModel | Make sure this undo manager knows about a IDiagramModel for which it is receiving model Changed event notifications. | |
CanRedo | This predicate is true when one can call Redo. | |
CanUndo | This predicate is true when one can call Undo. | |
Clear | Clear all of the UndoManager.CompoundEdits and reset all other state. | |
CommitTransaction | Just call EndTransaction, committing the current transaction, with the presentation name for the transaction. | |
FindPrimaryObject | Given an IUndoableEdit return an edited object that represents what was modified. | |
HandleModelChanged | Create an IUndoableEdit for a Changed event. | |
Redo | Restore the state of some models to after the current IUndoableEdit. | |
RemoveModel | Call this method to inform this undo manager that it no longer will be notified of model Changed events. | |
RollbackTransaction | Just call EndTransaction, rolling back the current transaction. | |
StartTransaction | Begin a transaction, where the changes are held by a UndoManager.CompoundEdit. | |
ToString | For debugging. | |
Undo | Restore the state of some models to before the current IUndoableEdit. |
Name | Description | |
---|---|---|
CommitCompoundEdit | This method is called by EndTransaction when committing a compound edit. | |
EndTransaction | Stop the current transaction, either rolling it back or committing it. | |
SkipEvent | This predicate is responsible for deciding if a ModelChangedEventArgs is not interesting enough to be recorded. |