Package de.swa.fuh.qrefinement.command
Class ChangeTextMarkCommand
java.lang.Object
de.swa.fuh.qrefinement.command.ChangeTextMarkCommand
- All Implemented Interfaces:
- UndoableCommand
public class ChangeTextMarkCommand extends java.lang.Object implements UndoableCommand
This is a command class implementing command pattern. This command changes an existing relevance mark in a text.
- Author:
- Nicolas Boch
- 
Constructor SummaryConstructors Constructor Description ChangeTextMarkCommand(java.io.File f, int index, int newStart, int newEnd)
- 
Method Summary
- 
Constructor Details- 
ChangeTextMarkCommandpublic ChangeTextMarkCommand(java.io.File f, int index, int newStart, int newEnd)
 
- 
- 
Method Details- 
executepublic void execute()- Specified by:
- executein interface- UndoableCommand
 
- 
undopublic void undo()- Specified by:
- undoin interface- UndoableCommand
 
- 
redopublic void redo()- Specified by:
- redoin interface- UndoableCommand
 
 
-