|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.argouml.model.ModelMemento
public abstract class ModelMemento
A memento to record the state of an object before an undoable change.
The model implementation should create a ModelMemento for any undoable operation performed. Any mutator method should normally be undoable except loading a model from file.
| Constructor Summary | |
|---|---|
ModelMemento()
|
|
| Method Summary | |
|---|---|
void |
dispose()
Dispose of any resources used by this memento before it is destroyed. |
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 |
| Constructor Detail |
|---|
public ModelMemento()
| Method Detail |
|---|
public abstract void undo()
public abstract void redo()
public void dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Cookbook |