|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.argouml.model.ModelMemento
org.argouml.model.DummyModelMemento
public class DummyModelMemento
Dummy mementos are created where we haven't yet designed the correct memento for undoing an operation. It acts as a marker of work to be done to complete the Undo implementation. It also allows the save action to enable at the correct time. If there is no memento generated and fired back to the main application then the save action will not enable.
| Constructor Summary | |
|---|---|
DummyModelMemento()
|
|
| Method Summary | |
|---|---|
void |
redo()
The method to redo this memento once undone. |
void |
undo()
The method to undo this memento. |
| Methods inherited from class org.argouml.model.ModelMemento |
|---|
dispose |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DummyModelMemento()
| Method Detail |
|---|
public void undo()
ModelMemento
undo in class ModelMementopublic void redo()
ModelMemento
redo in class ModelMemento
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Cookbook |