org.argouml.model
Class ModelMemento
java.lang.Object
org.argouml.model.ModelMemento
- public abstract class ModelMemento
- extends Object
A memento to record the state of an object before an undoable change.
|
Method Summary |
void |
dispose()
Dispose of any resources used by this memento before it is
destryed. |
abstract void |
redo()
The method to redo this memento once undone. |
abstract void |
undo()
The method to undo this memento. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelMemento
public ModelMemento()
undo
public abstract void undo()
- The method to undo this memento.
redo
public abstract void redo()
- The method to redo this memento once undone.
dispose
public void dispose()
- Dispose of any resources used by this memento before it is
destryed.