public void restore(Memento a_memento) {
   m_glyph = loadGlyphElement(a_memento.getData());
   ModuleManager.getSingletonInstance().clear();
 }
Exemple #2
0
 public void restoreFromMemento(Memento m) {
   state = m.getSavedState();
   System.out.println("Originator: State after restoring from Memento: " + state);
 }