|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.jaret.util.ui.table.addon.ViewstateSaver
public class ViewstateSaver
Implementation of an IViewstateSaver. This implementation saves and restores
Constructor Summary | |
---|---|
ViewstateSaver()
|
Method Summary | |
---|---|
static ViewstateSaver |
getInstance()
Get the singleton instance. |
void |
restoreViewstate(de.jaret.util.ui.table.JaretTable jaretTable,
java.lang.String additionalId,
org.eclipse.ui.IMemento memento)
Restore the viewstate of a table. |
void |
saveViewstate(de.jaret.util.ui.table.JaretTable jaretTable,
java.lang.String additionalId,
org.eclipse.ui.IMemento memento)
Save the viewstate of a jaret table. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ViewstateSaver()
Method Detail |
---|
public static ViewstateSaver getInstance()
public void saveViewstate(de.jaret.util.ui.table.JaretTable jaretTable, java.lang.String additionalId, org.eclipse.ui.IMemento memento)
saveViewstate
in interface IViewstateSaver
jaretTable
- table to save the viewstate ofadditionalId
- additional id for structuring (may be null
if not needed)memento
- memento to store the viewstate inpublic void restoreViewstate(de.jaret.util.ui.table.JaretTable jaretTable, java.lang.String additionalId, org.eclipse.ui.IMemento memento)
restoreViewstate
in interface IViewstateSaver
jaretTable
- table to set the viewstate onadditionalId
- additional id (may be null
)memento
- memento to read from
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |