|
Eclipse Platform Release 3.2 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Clients may use mementos to persist interesting state between sessions. Clients should ensure that the memento keys are unique; perhaps using the id of the content extension as a prefix.
EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is a guarantee neither that this API will work nor that it will remain the same. Please do not use this API without consulting with the Platform/UI team.
Clients may implement this interface.
| Method Summary | |
|---|---|
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 |
public 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.
aMemento - A memento that was given to the view part to restore its
state.public 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
aMemento - A memento that was given to the view part to save its state.
|
Eclipse Platform Release 3.2 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.