Package de.swa.fuh.qrefinement.command
Class AddTextMarkCommand
java.lang.Object
de.swa.fuh.qrefinement.command.AddTextMarkCommand
- All Implemented Interfaces:
UndoableCommand
public class AddTextMarkCommand extends java.lang.Object implements UndoableCommand
This is a command class implementing command pattern. This command adds an relevance mark to a text.
- Author:
- Nicolas Boch
-
Constructor Summary
Constructors Constructor Description AddTextMarkCommand(java.io.File f, TextMark m)
-
Method Summary
-
Constructor Details
-
Method Details
-
execute
public void execute()- Specified by:
execute
in interfaceUndoableCommand
-
undo
public void undo()- Specified by:
undo
in interfaceUndoableCommand
-
redo
public void redo()- Specified by:
redo
in interfaceUndoableCommand
-