Eclipse Plug-in and RCP:保存 workbench 各元件狀態

From JiaYun
Jump to: navigation, search

要保存 workbench 的視窗和各元件狀態,在 ApplicationWorkbenchAdvisor 裡加上

@Override
public void initialize(IWorkbenchConfigurer configurer) {
    configurer.setSaveAndRestore(true);
}


Personal tools