Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
suliangchun
dbeaver
提交
d46de710
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,发现更多精彩内容 >>
提交
d46de710
编写于
5月 05, 2018
作者:
S
serge-rider
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Debug shortcuts redesign
上级
22cd42d3
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
129 addition
and
6 deletion
+129
-6
plugins/org.jkiss.dbeaver.debug.ui/OSGI-INF/l10n/bundle.properties
...rg.jkiss.dbeaver.debug.ui/OSGI-INF/l10n/bundle.properties
+12
-0
plugins/org.jkiss.dbeaver.debug.ui/plugin.xml
plugins/org.jkiss.dbeaver.debug.ui/plugin.xml
+52
-6
plugins/org.jkiss.dbeaver.debug.ui/src/org/jkiss/dbeaver/debug/ui/DebugUI.java
...aver.debug.ui/src/org/jkiss/dbeaver/debug/ui/DebugUI.java
+2
-0
plugins/org.jkiss.dbeaver.debug.ui/src/org/jkiss/dbeaver/debug/ui/internal/DebugLaunchDialogAction.java
...ss/dbeaver/debug/ui/internal/DebugLaunchDialogAction.java
+29
-0
plugins/org.jkiss.dbeaver.debug.ui/src/org/jkiss/dbeaver/debug/ui/internal/DebugMenuDelegate.java
...rg/jkiss/dbeaver/debug/ui/internal/DebugMenuDelegate.java
+34
-0
未找到文件。
plugins/org.jkiss.dbeaver.debug.ui/OSGI-INF/l10n/bundle.properties
浏览文件 @
d46de710
...
...
@@ -29,3 +29,15 @@ launchGroups.launchGroup.title = Select or configure database object debugger
launchShortcuts.shortcut.label
=
Database Debug
launchShortcuts.shortcut.description
=
Database object debugger
commands.command.menuDelegateToolbar.name
=
Debug last launched database object
commands.command.menuDelegateToolbar.description
=
Debug last launched database object
commands.command.debugConfigurations.name
=
Database debug ...
commands.command.debugConfigurations.description
=
Open database debug launch configuration dialog
actionSets.actionSet.label
=
Database Debug actions
actionSets.actionSet.menu.debug.label
=
Database Debug
actionSets.action.menu.label
=
Database Debug
actionSets.action.toolbar.label
=
Database Debug
actionSets.action.toolbar.tooltip
=
Database Debug
actionSets.action.debugConfigurations.label
=
Database debug configurations ...
\ No newline at end of file
plugins/org.jkiss.dbeaver.debug.ui/plugin.xml
浏览文件 @
d46de710
...
...
@@ -111,20 +111,66 @@
</extension>
<extension
point=
"org.eclipse.ui.handlers"
>
<handler
class=
"org.jkiss.dbeaver.debug.ui.actions.ToggleBreakpointHandler"
commandId=
"org.eclipse.debug.ui.commands.ToggleBreakpoint"
/>
<handler
commandId=
"org.eclipse.debug.ui.commands.ToggleBreakpoint"
class=
"org.jkiss.dbeaver.debug.ui.actions.ToggleBreakpointHandler"
/>
</extension>
<extension
point=
"org.eclipse.ui.menus"
>
<menuContribution
allPopups=
"false"
locationURI=
"popup:#SQLRulerContext?before=additions"
>
<command
commandId=
"org.eclipse.debug.ui.commands.ToggleBreakpoint"
label=
"%command.ToggleBreakpoint.label"
style=
"push"
/>
<command
commandId=
"org.eclipse.debug.ui.commands.ToggleBreakpoint"
label=
"%command.ToggleBreakpoint.label"
style=
"push"
/>
</menuContribution>
</extension>
<extension
point=
"org.eclipse.ui.commands"
>
<category
description=
"Debug Procedure commands"
id=
"org.jkiss.dbeaver.debug.ui.commands.category.procedure"
name=
"Debug Procedure"
/>
<category
description=
"Database Debug commands"
id=
"org.jkiss.dbeaver.debug.ui.commands.category"
name=
"Database Debug"
/>
<command
name=
"%commands.command.menuDelegateToolbar.name"
description=
"%commands.command.menuDelegateToolbar.description"
categoryId=
"org.jkiss.dbeaver.debug.ui.commands.category"
id=
"org.jkiss.dbeaver.debug.ui.commands.command.menuDelegateToolbar"
>
</command>
<command
name=
"%commands.command.debugConfigurations.name"
categoryId=
"org.jkiss.dbeaver.debug.ui.commands.category"
description=
"%commands.command.debugConfigurations.description"
id=
"org.jkiss.dbeaver.debug.ui.commands.command.debugConfigurations"
>
</command>
</extension>
<extension
point=
"org.eclipse.ui.actionSets"
>
<actionSet
label=
"%actionSets.actionSet.label"
visible=
"true"
id=
"org.jkiss.dbeaver.debug.actionSet"
>
<!-- Do we need an entry in main menu? I guess not -->
<!--
<menu label="%actionSets.actionSet.menu.debug.label" path="additions" id="org.eclipse.ui.debug">
<separator name="org.jkiss.dbeaver.debug.group"/>
</menu>
<action
label="%actionSets.action.menu.label"
style="pulldown"
icon="platform:/plugin/org.eclipse.debug.ui/$nl$/icons/full/obj16/ldebug_obj.png"
class="org.jkiss.dbeaver.debug.ui.internal.DebugMenuDelegate"
menubarPath="org.eclipse.ui.debug/org.jkiss.dbeaver.debug.group"
id="org.jkiss.dbeaver.debug.ui.actionSets.action.menuAction">
</action>
-->
<action
definitionId=
"org.jkiss.dbeaver.debug.ui.commands.command.menuDelegateToolbar"
label=
"%actionSets.action.toolbar.label"
style=
"pulldown"
icon=
"platform:/plugin/org.eclipse.debug.ui/$nl$/icons/full/obj16/ldebug_obj.png"
tooltip=
"%actionSets.action.toolbar.tooltip"
class=
"org.jkiss.dbeaver.debug.ui.internal.DebugMenuDelegate"
toolbarPath=
"org.eclipse.debug.ui.launchActionSet/debug"
id=
"org.jkiss.dbeaver.debug.ui.actionSets.action.debugToolbar"
>
</action>
<action
definitionId=
"org.jkiss.dbeaver.debug.ui.commands.command.debugConfigurations"
label=
"%actionSets.action.debugConfigurations.label"
class=
"org.jkiss.dbeaver.debug.ui.internal.DebugLaunchDialogAction"
id=
"org.jkiss.dbeaver.debug.ui.actionSets.action.debugConfigurations"
>
</action>
</actionSet>
</extension>
</plugin>
plugins/org.jkiss.dbeaver.debug.ui/src/org/jkiss/dbeaver/debug/ui/DebugUI.java
浏览文件 @
d46de710
...
...
@@ -29,6 +29,8 @@ import org.jkiss.dbeaver.model.struct.DBSObject;
public
class
DebugUI
{
public
static
final
String
BUNDLE_SYMBOLIC_NAME
=
"org.jkiss.dbeaver.debug.ui"
;
//$NON-NLS-1$
public
static
final
String
DEBUG_LAUNCH_GROUP_ID
=
"org.jkiss.dbeaver.debug.launchGroup"
;
public
static
final
String
DEBUG_OPEN_CONFIGURATION_COMMAND_ID
=
"org.jkiss.dbeaver.debug.ui.commands.command.debugConfigurations"
;
//$NON-NLS-1$
public
static
DBGEditorAdvisor
findEditorAdvisor
(
DBPDataSourceContainer
dataSourceContainer
)
{
DBGEditorAdvisor
advisor
=
Adapters
.
adapt
(
dataSourceContainer
,
DBGEditorAdvisor
.
class
);
...
...
plugins/org.jkiss.dbeaver.debug.ui/src/org/jkiss/dbeaver/debug/ui/internal/DebugLaunchDialogAction.java
0 → 100644
浏览文件 @
d46de710
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2018 Serge Rider (serge@jkiss.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org.jkiss.dbeaver.debug.ui.internal
;
import
org.eclipse.debug.ui.actions.OpenLaunchDialogAction
;
import
org.jkiss.dbeaver.debug.ui.DebugUI
;
public
class
DebugLaunchDialogAction
extends
OpenLaunchDialogAction
{
public
DebugLaunchDialogAction
()
{
super
(
DebugUI
.
DEBUG_LAUNCH_GROUP_ID
);
setActionDefinitionId
(
DebugUI
.
DEBUG_OPEN_CONFIGURATION_COMMAND_ID
);
}
}
plugins/org.jkiss.dbeaver.debug.ui/src/org/jkiss/dbeaver/debug/ui/internal/DebugMenuDelegate.java
0 → 100644
浏览文件 @
d46de710
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2018 Serge Rider (serge@jkiss.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org.jkiss.dbeaver.debug.ui.internal
;
import
org.eclipse.debug.ui.actions.AbstractLaunchToolbarAction
;
import
org.eclipse.jface.action.IAction
;
import
org.jkiss.dbeaver.debug.ui.DebugUI
;
public
class
DebugMenuDelegate
extends
AbstractLaunchToolbarAction
{
public
DebugMenuDelegate
()
{
super
(
DebugUI
.
DEBUG_LAUNCH_GROUP_ID
);
}
@Override
protected
IAction
getOpenDialogAction
()
{
return
new
DebugLaunchDialogAction
();
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录