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 voidadd(UndoableCommand command)Add a new command to the command history.voidclearHistory()static RelevanceMarkCommandHistorygetInstance()voidredo()voidundo()
-
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()
-