Changeset 4068 for trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Core/Interfaces/IUndoSupport.cs
- Timestamp:
- 07/22/10 00:44:01 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Core/Interfaces/IUndoSupport.cs
r2768 r4068 1 using System;2 1 3 namespace Netron.Diagramming.Core 4 { 5 /// <summary> 6 /// Interface that your application classes can implement 7 /// in order to perform the actual undo/redo functionality. 8 /// </summary> 9 public interface IUndoSupport 10 { 11 /// <summary> 12 /// Undo of the last action 13 /// </summary> 14 /// <remarks>Calling this on a class level will call the Undo method of the last ICommand in the stack.</remarks> 15 void Undo(); 16 /// <summary> 17 /// Performs the actual action or redo in case the actions was undoe before 18 /// </summary> 19 /// <remarks>Calling this on a class level will call the Redo method of the last ICommand in the stack.</remarks> 20 void Redo(); 21 } 2 namespace Netron.Diagramming.Core { 3 /// <summary> 4 /// Interface that your application classes can implement 5 /// in order to perform the actual undo/redo functionality. 6 /// </summary> 7 public interface IUndoSupport { 8 /// <summary> 9 /// Undo of the last action 10 /// </summary> 11 /// <remarks>Calling this on a class level will call the Undo method of the last ICommand in the stack.</remarks> 12 void Undo(); 13 /// <summary> 14 /// Performs the actual action or redo in case the actions was undoe before 15 /// </summary> 16 /// <remarks>Calling this on a class level will call the Redo method of the last ICommand in the stack.</remarks> 17 void Redo(); 18 } 22 19 }
Note: See TracChangeset
for help on using the changeset viewer.