Bug 151801 - [WorkbenchParts] Make saving/restoring of workbench state public API
Summary: [WorkbenchParts] Make saving/restoring of workbench state public API
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-26 03:19 EDT by Florian Thienel CLA
Modified: 2019-09-06 16:15 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Thienel CLA 2006-07-26 03:19:57 EDT
At the moment (3.2) it is only possible to enable/disable the functionality that the workbench saves the last state of the UI when it shuts down and restores it when the workbench is started again. This whole process is handled automatically by the workbench. 

There is no way to either trigger this process programatically at another point in the lifecycle of an application, or to get all information about the current state of the UI (e.g. the layout of a perspective) to save/restore it on your own.

It might help if the existing methods saveState(IMemento) and restoreState(IMemento) were part of the public API in the interfaces IWorkbench, IWorkbenchWindow and IWorkbenchPage.
Comment 1 Eclipse Webmaster CLA 2019-09-06 16:15:19 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.