GoDiagram Win Reference
GoUndoManager Class Methods


For a list of all members of this type, see GoUndoManager members.

Public Methods
 NameDescription
Public MethodAbortTransactionJust call EndTransaction, aborting the current transaction.  
Public MethodAddDocumentMake sure this undo manager knows about a GoDocument for which it is receiving document Changed event notifications.  
Public MethodCanRedoThis predicate is true when one can call Redo.  
Public MethodCanUndoThis predicate is true when one can call Undo.  
Public MethodClearClear all of the GoUndoManagerCompoundEdits and reset all other state.  
Public MethodCommitCompoundEditThis method is called by EndTransaction when committing a compound edit.  
Public MethodDocumentChangedCreate an IGoUndoableEdit for a GoDocument Changed event.  
Public MethodEndTransactionStop the current transaction, either aborting it or committing it.  
Public MethodFinishTransactionJust call EndTransaction, committing the current transaction, with the presentation name for the given transaction name.  
Public MethodGetPresentationNameLook up a string in a ResourceManager.  
Public MethodRedoRestore the state of some documents to after the current IGoUndoableEdit.  
Public MethodRemoveDocumentCall this method to inform this undo manager that it no longer will be notified of document Changed events.  
Public MethodSkipEventThis predicate is responsible for deciding if a GoChangedEventArgs is not interesting enough to be recorded.  
Public MethodStartTransactionBegin a transaction, where the changes are held by a GoUndoManagerCompoundEdit.  
Public MethodUndoRestore the state of some documents to before the current IGoUndoableEdit.  
Top
See Also

Reference

GoUndoManager Class
Northwoods.Go Namespace

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback