To restore the perspctive to the last modified state, eclipse stores the workbench state to a file called workbench.xml. To enable the save and restore layout, the IWorkbenchConfigurer must be set in the ApplicationWorkbenchAdvisor.
public void initialize(IWindowConfigurer configurer)
{
configurer.setSaveAndRestore(true);
}
No comments:
Post a Comment