|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IViewstateSaver
Interface for a service saving and restoring the viewstate of a timebarviewer. When dealing with hierarchical models a HierarchyIdService is needed for identifying the nodes.
Method Summary | |
---|---|
void |
restoreViewstate(de.jaret.util.ui.timebars.swt.TimeBarViewer timeBarViewer,
IHierarchyIdService idService,
java.lang.String id,
org.eclipse.ui.IMemento memento)
Restore the viewstate. |
void |
saveViewstate(de.jaret.util.ui.timebars.swt.TimeBarViewer timeBarViewer,
IHierarchyIdService idService,
java.lang.String id,
org.eclipse.ui.IMemento memento)
Save the viewstate. |
Method Detail |
---|
void saveViewstate(de.jaret.util.ui.timebars.swt.TimeBarViewer timeBarViewer, IHierarchyIdService idService, java.lang.String id, org.eclipse.ui.IMemento memento)
timeBarViewer
- viewer to save state ofidService
- HierarchyIdService needed when handling hierarchical models. May be null
when
dealing with a flat modelid
- id used to create a child memento when not null
memento
- memento to write tovoid restoreViewstate(de.jaret.util.ui.timebars.swt.TimeBarViewer timeBarViewer, IHierarchyIdService idService, java.lang.String id, org.eclipse.ui.IMemento memento)
timeBarViewer
- viewer to restore state ofidService
- HierarchyIdService needed when handling hierarchical models. May be null
when
dealing with a flat modelid
- id of a child memento to read from. May be null
.memento
- memento to read from
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |