File: UndoOperation.java

package info (click to toggle)
gpsprune 17-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,984 kB
  • ctags: 5,218
  • sloc: java: 39,403; sh: 25; makefile: 17; python: 15
file content (22 lines) | stat: -rw-r--r-- 564 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package tim.prune.undo;

import tim.prune.data.TrackInfo;

/**
 * Interface implemented by all Undo Operations
 */
public interface UndoOperation
{
	/**
	 * Get the description of this operation
	 * @return description of operation including parameters
	 */
	public String getDescription();

	/**
	 * Perform the undo operation on the specified track
	 * @param inTrackInfo TrackInfo object on which to perform the operation
	 * @throws UndoException when undo fails
	 */
	public void performUndo(TrackInfo inTrackInfo) throws UndoException;
}