Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
suliangchun
dbeaver
提交
b7c89321
D
dbeaver
项目概览
suliangchun
/
dbeaver
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dbeaver
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b7c89321
编写于
11月 05, 2012
作者:
J
jurgen
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Eclipse plugin mode fix (hide menus and toolbars for other perspectives)
Former-commit-id:
60971dbe
上级
c03a5bba
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
63 addition
and
30 deletion
+63
-30
docs/todo.txt
docs/todo.txt
+2
-1
plugins/org.jkiss.dbeaver.core.application/icons/progress_view.png
...rg.jkiss.dbeaver.core.application/icons/progress_view.png
+0
-0
plugins/org.jkiss.dbeaver.core.application/icons/templates_view.png
...g.jkiss.dbeaver.core.application/icons/templates_view.png
+0
-0
plugins/org.jkiss.dbeaver.core.application/plugin.properties
plugins/org.jkiss.dbeaver.core.application/plugin.properties
+3
-0
plugins/org.jkiss.dbeaver.core.application/plugin.xml
plugins/org.jkiss.dbeaver.core.application/plugin.xml
+14
-0
plugins/org.jkiss.dbeaver.core.application/plugin_ru.properties
...s/org.jkiss.dbeaver.core.application/plugin_ru.properties
+3
-0
plugins/org.jkiss.dbeaver.core/plugin.properties
plugins/org.jkiss.dbeaver.core/plugin.properties
+0
-2
plugins/org.jkiss.dbeaver.core/plugin.xml
plugins/org.jkiss.dbeaver.core/plugin.xml
+38
-23
plugins/org.jkiss.dbeaver.core/plugin_ru.properties
plugins/org.jkiss.dbeaver.core/plugin_ru.properties
+0
-2
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/UIUtils.java
....jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/UIUtils.java
+2
-1
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/perspective/DBeaverPerspective.java
.../org/jkiss/dbeaver/ui/perspective/DBeaverPerspective.java
+1
-1
未找到文件。
docs/todo.txt
浏览文件 @
b7c89321
...
...
@@ -18,4 +18,5 @@ scripts refactoring
Plugin:
Customize resource roots
Disable Quick Access toolbar
column variable in template
\ No newline at end of file
column variable in template
DB compare output file
\ No newline at end of file
plugins/org.jkiss.dbeaver.core/icons/progress_view.png
→
plugins/org.jkiss.dbeaver.core
.application
/icons/progress_view.png
浏览文件 @
b7c89321
文件已移动
plugins/org.jkiss.dbeaver.core/icons/templates_view.png
→
plugins/org.jkiss.dbeaver.core
.application
/icons/templates_view.png
浏览文件 @
b7c89321
文件已移动
plugins/org.jkiss.dbeaver.core.application/plugin.properties
浏览文件 @
b7c89321
...
...
@@ -23,6 +23,9 @@ productWebsite=http://dbeaver.jkiss.org/
productEmail
=
serge@jkiss.org
productIcon
=
icons/dbeaver.png
view.progress.title
=
Background Tasks
view.templates.title
=
Templates
menu.edit
=
Edit
menu.navigate
=
Navigate
...
...
plugins/org.jkiss.dbeaver.core.application/plugin.xml
浏览文件 @
b7c89321
...
...
@@ -32,6 +32,20 @@
</application>
</extension>
<extension
point=
"org.eclipse.ui.views"
>
<view
id=
"org.eclipse.ui.views.ProgressView"
icon=
"icons/progress_view.png"
category=
"org.eclipse.ui"
class=
"org.eclipse.ui.ExtensionFactory:progressView"
name=
"%view.progress.title"
/>
<view
id=
"org.eclipse.ui.texteditor.TemplatesView"
name=
"%view.templates.title"
icon=
"icons/templates_view.png"
category=
"org.eclipse.ui"
class=
"org.eclipse.ui.texteditor.templates.TemplatesView"
/>
</extension>
<extension
point=
"org.eclipse.ui.menus"
>
<!-- Edit menu -->
<menuContribution
allPopups=
"false"
locationURI=
"menu:edit"
>
...
...
plugins/org.jkiss.dbeaver.core.application/plugin_ru.properties
浏览文件 @
b7c89321
...
...
@@ -26,6 +26,9 @@ productIcon=icons/dbeaver.png
menu.edit
=
\u0420\u0435\u0434\u0430\u
043A
\u0442\u0438\u0440\u
043E
\u0432\u0430\u
043D
\u0438\u0435
menu.navigate=
\u
041D
\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u
044F
view.progress.title
=
\u0424\u
043E
\u
043D
\u
043E
\u0432\u
044B
\u0435
\u0437\u0430\u0434\u0430\u0447\u0438
view.templates.title=
\u0428\u0430\u0431\u
043B
\u
043E
\u
043D
\u
044B
pref.page.name.db.configuration
=
\u
041A
\u
043E
\u
043D
\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u
044F
pref.page.name.data.formats
=
\u0424\u
043E
\u0440\u
043C
\u0430\u0442\u
044B
\u0434\u0430\u
043D
\u
043D
\u
044B
\u0445
pref.page.name.query.manager=
\u
041C
\u0435\u
043D
\u0435\u0434\u0436\u0435\u0440
\u0437\u0430\u
043F
\u0440\u
043E
\u0441\u
043E
\u0432
...
...
plugins/org.jkiss.dbeaver.core/plugin.properties
浏览文件 @
b7c89321
...
...
@@ -19,9 +19,7 @@ view.database.navigator.title=Database Navigator
view.project.navigator.title
=
Projects
view.project.explorer.title
=
Project Explorer
view.query.manager.title
=
Query Manager
view.progress.title
=
Background Tasks
view.shell.process.title
=
Process
view.templates.title
=
Templates
menu.navigate
=
Navigate
...
...
plugins/org.jkiss.dbeaver.core/plugin.xml
浏览文件 @
b7c89321
...
...
@@ -47,7 +47,6 @@
describer=
"org.jkiss.dbeaver.model.impl.resources.bookmarks.BookmarkContentTypeDescriber"
/>
</extension>
<extension
point=
"org.eclipse.core.expressions.propertyTesters"
>
<propertyTester
class=
"org.jkiss.dbeaver.ui.actions.GlobalPropertyTester"
...
...
@@ -109,8 +108,8 @@
namespace=
"org.jkiss.dbeaver.runtime.process"
properties=
"running"
type=
"org.jkiss.dbeaver.model.runtime.DBRProcessController"
/>
</extension>
<extension
point=
"org.eclipse.ui.views"
>
<category
id=
"org.jkiss.dbeaver.core.category"
name=
"DBeaver Core View Category"
/>
<view
...
...
@@ -149,18 +148,6 @@
restorable=
"false"
icon=
"icons/misc/shell.png"
name=
"%view.shell.process.title"
/>
<view
icon=
"icons/progress_view.png"
category=
"org.eclipse.ui"
class=
"org.eclipse.ui.ExtensionFactory:progressView"
id=
"org.eclipse.ui.views.ProgressView"
name=
"%view.progress.title"
/>
<view
id=
"org.eclipse.ui.texteditor.TemplatesView"
name=
"%view.templates.title"
icon=
"icons/templates_view.png"
category=
"org.eclipse.ui"
class=
"org.eclipse.ui.texteditor.templates.TemplatesView"
/>
</extension>
<extension
point=
"org.eclipse.ui.commands"
>
...
...
@@ -325,6 +312,11 @@
<equals
value=
"org.jkiss.dbeaver.ui.sqlEditorBase"
/>
</with>
</definition>
<definition
id=
"DBeaverPerspectiveActive"
>
<with
variable=
"activeWorkbenchWindow.activePerspective"
>
<equals
value=
"org.jkiss.dbeaver.core.perspective"
/>
</with>
</definition>
</extension>
<extension
point=
"org.eclipse.ui.handlers"
>
...
...
@@ -1053,6 +1045,8 @@
<!-- Database menu -->
<menuContribution
allPopups=
"false"
locationURI=
"menu:org.eclipse.ui.main.menu?before=window"
>
<menu
id=
"dataSourceMenu"
label=
"%menu.database"
>
<visibleWhen><reference
definitionId=
"DBeaverPerspectiveActive"
/></visibleWhen>
<separator
name=
"driverGroup"
visible=
"true"
/>
<command
commandId=
"org.jkiss.dbeaver.core.driver.manager"
/>
<command
commandId=
"org.jkiss.dbeaver.core.new.connection"
/>
...
...
@@ -1077,21 +1071,41 @@
<!-- Database toolbar -->
<menuContribution
allPopups=
"false"
locationURI=
"toolbar:org.eclipse.ui.main.toolbar"
>
<toolbar
id=
"database"
label=
"Database Toolbar"
>
<command
commandId=
"org.jkiss.dbeaver.core.connect"
/>
<command
commandId=
"org.jkiss.dbeaver.core.invalidate"
/>
<command
commandId=
"org.jkiss.dbeaver.core.disconnect"
/>
<command
commandId=
"org.jkiss.dbeaver.core.connect"
>
<visibleWhen><reference
definitionId=
"DBeaverPerspectiveActive"
/></visibleWhen>
</command>
<command
commandId=
"org.jkiss.dbeaver.core.invalidate"
>
<visibleWhen><reference
definitionId=
"DBeaverPerspectiveActive"
/></visibleWhen>
</command>
<command
commandId=
"org.jkiss.dbeaver.core.disconnect"
>
<visibleWhen><reference
definitionId=
"DBeaverPerspectiveActive"
/></visibleWhen>
</command>
<separator
name=
"tools"
visible=
"true"
/>
<command
commandId=
"org.jkiss.dbeaver.core.sql.editor.open"
/>
<command
commandId=
"org.jkiss.dbeaver.core.sql.editor.create"
/>
<command
commandId=
"org.jkiss.dbeaver.core.object.find"
/>
<command
commandId=
"org.jkiss.dbeaver.core.sql.editor.open"
>
<visibleWhen><reference
definitionId=
"DBeaverPerspectiveActive"
/></visibleWhen>
</command>
<command
commandId=
"org.jkiss.dbeaver.core.sql.editor.create"
>
<visibleWhen><reference
definitionId=
"DBeaverPerspectiveActive"
/></visibleWhen>
</command>
<command
commandId=
"org.jkiss.dbeaver.core.object.find"
>
<visibleWhen><reference
definitionId=
"DBeaverPerspectiveActive"
/></visibleWhen>
</command>
</toolbar>
<toolbar
id=
"txn"
label=
"Transactions"
>
<command
commandId=
"org.jkiss.dbeaver.core.commit"
/>
<command
commandId=
"org.jkiss.dbeaver.core.rollback"
/>
<command
commandId=
"org.jkiss.dbeaver.core.txn.autocommit"
icon=
"icons/sql/txn_auto.png"
style=
"pulldown"
id=
"org.jkiss.dbeaver.core.menu.txn"
/>
<visibleWhen><reference
definitionId=
"DBeaverPerspectiveActive"
/></visibleWhen>
<command
commandId=
"org.jkiss.dbeaver.core.commit"
>
<visibleWhen><reference
definitionId=
"DBeaverPerspectiveActive"
/></visibleWhen>
</command>
<command
commandId=
"org.jkiss.dbeaver.core.rollback"
>
<visibleWhen><reference
definitionId=
"DBeaverPerspectiveActive"
/></visibleWhen>
</command>
<command
commandId=
"org.jkiss.dbeaver.core.txn.autocommit"
icon=
"icons/sql/txn_auto.png"
style=
"pulldown"
id=
"org.jkiss.dbeaver.core.menu.txn"
>
<visibleWhen><reference
definitionId=
"DBeaverPerspectiveActive"
/></visibleWhen>
</command>
</toolbar>
<toolbar
id=
"datasource-settings"
label=
"DataSource"
>
<control
class=
"org.jkiss.dbeaver.ui.perspective.DataSourceManagementToolbar$ToolbarContribution"
>
<visibleWhen><reference
definitionId=
"DBeaverPerspectiveActive"
/></visibleWhen>
</control>
</toolbar>
...
...
@@ -1285,6 +1299,7 @@
<!-- SQL editor menu -->
<menuContribution
allPopups=
"false"
locationURI=
"menu:org.eclipse.ui.main.menu?after=additions"
>
<menu
id=
"SQLEditorMenu"
label=
"%menu.sqleditor"
>
<visibleWhen><reference
definitionId=
"DBeaverPerspectiveActive"
/></visibleWhen>
<command
commandId=
"org.jkiss.dbeaver.core.sql.editor.open"
/>
<command
commandId=
"org.jkiss.dbeaver.core.sql.editor.create"
/>
<separator
name=
"execute"
visible=
"true"
/>
...
...
plugins/org.jkiss.dbeaver.core/plugin_ru.properties
浏览文件 @
b7c89321
...
...
@@ -27,9 +27,7 @@ view.database.navigator.title=\u0411\u0430\u0437\u044B \u0434\u0430\u043D\u043D\
view.project.navigator.title=
\u
041F
\u0440\u
043E
\u0435\u
043A
\u0442\u
044B
view.project.explorer.title
=
\u0410\u
043A
\u0442\u0438\u0432\u
043D
\u
044B
\u0439
\u
043F
\u0440\u
043E
\u0435\u
043A
\u0442
view.query.manager.title=
\u
041C
\u0435\u
043D
\u0435\u0434\u0436\u0435\u0440
\u0437\u0430\u
043F
\u0440\u
043E
\u0441\u
043E
\u0432
view.progress.title=
\u0424\u
043E
\u
043D
\u
043E
\u0432\u
044B
\u0435
\u0437\u0430\u0434\u0430\u0447\u0438
view.shell.process.title=
\u
041F
\u0440\u
043E
\u0446\u0435\u0441\u0441
view.templates.title=
\u0428\u0430\u0431\u
043B
\u
043E
\u
043D
\u
044B
menu.navigate=
\u
041D
\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u
044F
...
...
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/UIUtils.java
浏览文件 @
b7c89321
...
...
@@ -1011,7 +1011,8 @@ public class UIUtils {
public
static
void
updateMainWindowTitle
(
IWorkbenchWindow
window
)
{
IProject
activeProject
=
DBeaverCore
.
getInstance
().
getProjectRegistry
().
getActiveProject
();
String
title
=
Platform
.
getProduct
().
getName
();
IProduct
product
=
Platform
.
getProduct
();
String
title
=
product
==
null
?
"Unknown"
:
product
.
getName
();
//$NON-NLS-1$
if
(
activeProject
!=
null
)
{
title
+=
" - "
+
activeProject
.
getName
();
//$NON-NLS-1$
}
...
...
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/perspective/DBeaverPerspective.java
浏览文件 @
b7c89321
...
...
@@ -52,7 +52,7 @@ public class DBeaverPerspective implements IPerspectiveFactory
editorArea
);
treeFolder
.
addView
(
DatabaseNavigatorView
.
VIEW_ID
);
treeFolder
.
addView
(
ProjectNavigatorView
.
VIEW_ID
);
treeFolder
.
add
View
(
TemplatesView
.
ID
);
treeFolder
.
add
Placeholder
(
TemplatesView
.
ID
);
// Right
IPlaceholderFolderLayout
right
=
layout
.
createPlaceholderFolder
(
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录