]> gitweb.fperrin.net Git - GpsPrune.git/blob - tim/prune/undo/UndoOperation.java
Version 4, January 2008
[GpsPrune.git] / tim / prune / undo / UndoOperation.java
1 package tim.prune.undo;\r
2 \r
3 import tim.prune.data.TrackInfo;\r
4 \r
5 /**\r
6  * Interface implemented by all Undo Operations\r
7  */\r
8 public interface UndoOperation\r
9 {\r
10         /**\r
11          * Get the description of this operation\r
12          * @return description of operation including parameters\r
13          */\r
14         public String getDescription();\r
15 \r
16         /**\r
17          * Perform the undo operation on the specified track\r
18          * @param inTrackInfo TrackInfo object on which to perform the operation\r
19          * @throws UndoException when undo fails\r
20          */\r
21         public void performUndo(TrackInfo inTrackInfo) throws UndoException;\r
22 }