提交 e91012e3 编写于 作者: S Serge Rider

IDE adapters support

上级 03db3fec
......@@ -20,6 +20,7 @@ Require-Bundle: org.jkiss.dbeaver.core,
org.eclipse.ui.workbench.texteditor,
org.eclipse.help,
org.eclipse.core.filesystem,
org.eclipse.ui.ide,
org.eclipse.e4.ui.css.core,
org.eclipse.e4.ui.css.swt,
org.eclipse.e4.ui.workbench.renderers.swt,
......
......@@ -24,6 +24,7 @@ import org.eclipse.ui.application.IWorkbenchConfigurer;
import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
import org.eclipse.ui.application.WorkbenchAdvisor;
import org.eclipse.ui.application.WorkbenchWindowAdvisor;
import org.eclipse.ui.ide.IDE;
import org.jkiss.dbeaver.DBeaverPreferences;
import org.jkiss.dbeaver.core.DBeaverCore;
import org.jkiss.dbeaver.registry.DataSourceDescriptor;
......@@ -70,8 +71,12 @@ public class ApplicationWorkbenchAdvisor extends WorkbenchAdvisor
public void initialize(IWorkbenchConfigurer configurer)
{
super.initialize(configurer);
// make sure we always save and restore workspace state
configurer.setSaveAndRestore(true);
// register workspace IDE adapters
IDE.registerAdapters();
TrayDialog.setDialogHelpAvailable(true);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册