public class RemoveAnnotationCommand extends java.lang.Object implements IUndoableCommand
| Constructor and Description |
|---|
RemoveAnnotationCommand(IXYGraph xyGraph,
Annotation annotation)
Construct a "Remove annotation command"
|
| Modifier and Type | Method and Description |
|---|---|
void |
redo()
Restore the state of the target to the state after this command has been
executed.
|
java.lang.String |
toString() |
void |
undo()
Restore the state of the target to the state before this command has been
executed.
|
public RemoveAnnotationCommand(IXYGraph xyGraph, Annotation annotation)
xyGraph - the graphannotation - annotation to be removedpublic void redo()
IUndoableCommandredo in interface IUndoableCommandpublic void undo()
IUndoableCommandundo in interface IUndoableCommandpublic java.lang.String toString()
toString in class java.lang.Object