Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Core/Interfaces/IUndoSupport.cs @ 2768

Last change on this file since 2768 was 2768, checked in by mkommend, 14 years ago

added solution folders and sources for the netron library (ticket #867)

File size: 748 bytes
Line 
1using System;
2
3namespace 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  }
22}
Note: See TracBrowser for help on using the repository browser.