Package de.swa.fuh.qrefinement.command
Class RelevanceMarkCommandHistory
java.lang.Object
de.swa.fuh.qrefinement.command.RelevanceMarkCommandHistory
public class RelevanceMarkCommandHistory
extends java.lang.Object
This class implements a command history for all commands that changed relevance marks of images or text
- Author:
- Nicolas Boch
-
Method Summary
Modifier and Type Method Description void
add(UndoableCommand command)
Add a new command to the command history.void
clearHistory()
static RelevanceMarkCommandHistory
getInstance()
void
redo()
void
undo()
-
Method Details
-
getInstance
-
add
Add a new command to the command history.- Parameters:
command
- Command that should be added to command history and then executed.
-
redo
public void redo() -
undo
public void undo() -
clearHistory
public void clearHistory()
-