Interface IMementoAware

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void restoreState​(IMemento aMemento)
      Restore the previous state of any actions using the flags in aMemento.
      void saveState​(IMemento aMemento)
      Save flags in aMemento to remember the state of any actions that persist from session to session.
    • Method Detail

      • restoreState

        void restoreState​(IMemento aMemento)

        Restore the previous state of any actions using the flags in aMemento. This method allows the state of any actions that persist from session to session to be restored.

        Parameters:
        aMemento - A memento that was given to the view part to restore its state.
      • saveState

        void saveState​(IMemento aMemento)

        Save flags in aMemento to remember the state of any actions that persist from session to session.

        Extensions should qualify any keys stored in the memento with their plugin id

        Parameters:
        aMemento - A memento that was given to the view part to save its state.