Here is sample code to enable saving and restoring setting related to Workbench.
Override WorkbenchAdvisor.initialize(IWorkbenchConfigurer configurer) to define/register workbench related settings before any window being shown up.
public void initialize(IWorkbenchConfigurer configurer) {
configurer.setSaveAndRestore(true);
}
No comments:
Post a Comment