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