NevronOpenVision
Nevron.Nov.Dom Namespace / NHistoryService Class


NHistoryService Class Methods

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

Public Methods
 NameDescription
Public MethodDetermines whether a new unit can be recorded. The history cannot record any unit if it is not in started state, or is currently undoing or redoing an unit.  
Public MethodDetermines whether the user can perform Redo.  
Public MethodDetermines whether the user can perform Undo.  
Public MethodCommits the last started transaction.  
Public Method  
Public MethodDumps the state of the undo and redo stacks in the specified ListBox instances.  
Public MethodDumps the state of the undo and redo stacks in the specified TreeView instances.  
Public Method  
Public MethodRecords the specified unit. If there are no started transactions, the unit is pushed in the undo stack and the redo stack is cleared. It there is a started transaction, the unit is appended as a child unit of the transaction unit.  
Public MethodRedoes the peak unit from the redo stack and pushes in the undo stack.  
Public MethodRolls back the currently started transaction and undoes the effect of the units recorded in it.  
Public MethodOverloaded. Starts a new history transaction. Transactions are units, which are pushed in the transaction stack and their recording is suspended until the CommitTransaction method is called.  
Public MethodUndoes the peak unit from the undo stack and pushes in the redo stack.  
Top
Protected Methods
 NameDescription
Protected MethodCalled when an unit has been successfully redone  
Protected MethodOverridden. Overriden to clear the state of the history service  
Protected MethodCalled when a transaction has been commited  
Protected MethodCalled when the last started transaction has been rolled back  
Protected MethodCalled when a transaction has been started  
Protected MethodCalled when an unit has been successfully undone  
Protected MethodCalled whenever an unit has been recored in the undo stack  
Top
See Also