提交 5bf69de6 编写于 作者: S serge-rider

#2003 Sample database plugin: build fix + create notification fix


Former-commit-id: 96d4ff94
上级 3837242b
......@@ -8,7 +8,7 @@
<version>1.0.0</version>
<relativePath>../../</relativePath>
</parent>
<artifactId>sample.database</artifactId>
<artifactId>org.jkiss.dbeaver.ext.sample.database</artifactId>
<version>1.0.0</version>
<packaging>eclipse-plugin</packaging>
</project>
......@@ -53,6 +53,10 @@ public class WorkbenchInitializerCreateSampleDatabase implements IWorkbenchWindo
// Create was canceled
return;
}
if (DataSourceRegistry.getAllDataSources().size() > 1) {
// Seems to be experienced user - no need in sampel db
return;
}
IProject activeProject = DBeaverCore.getInstance().getProjectRegistry().getActiveProject();
if (activeProject == null) {
// No active project
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册