提交 f90aaee7 编写于 作者: A Alexander Fedorov

#2556 move launch shortcut to org.jkiss.dbeaver.postgresql.debug.ui

上级 71a99e42
......@@ -7,5 +7,6 @@ Bundle-Vendor: %Bundle-Vendor
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Require-Bundle: org.eclipse.core.runtime,
org.jkiss.dbeaver.core,
org.jkiss.dbeaver.debug.core,
org.jkiss.dbeaver.debug.ui,
org.jkiss.dbeaver.ext.postgresql
......@@ -4,3 +4,6 @@ Bundle-Name = DBeaver PostgreSQL Debug UI
launchConfigurationTabGroups.launchConfigurationTabGroup.pgSQL.description=Settings of PL/pgSQL debug launch
launchConfigurationTabGroups.launchConfigurationTabGroup.launchMode.pgSQL.debug.description=Create a configuration to debug PL/pgSQL procedures
launchShortcuts.shortcut.pgSQL.label=PL/pgSQL
launchShortcuts.shortcut.pgSQL.description=PL/pgSQL debug for PostgreSQL procedures
......@@ -22,6 +22,40 @@
</launchMode>
</launchConfigurationTabGroup>
</extension>
<extension
point="org.eclipse.debug.ui.launchShortcuts">
<shortcut
class="org.jkiss.dbeaver.postgresql.internal.debug.ui.PgSqlLaunchShortcut"
description="%launchShortcuts.shortcut.pgSQL.description"
icon="platform:/plugin/org.jkiss.dbeaver.ext.postgresql/$nl$/icons/postgresql_icon.png"
id="org.jkiss.dbeaver.postgresql.debug.ui.launchShortcuts.shortcut.pgSQL"
label="%launchShortcuts.shortcut.pgSQL.label"
modes="debug">
<configurationType
id="org.jkiss.dbeaver.postgresql.debug.core.pgSQL"></configurationType>
<contextualLaunch>
<contextLabel
label="%launchShortcuts.shortcut.pgSQL.label"
mode="debug">
</contextLabel>
<enablement>
<with
variable="selection">
<count
value="1">
</count>
<iterate
ifEmpty="false"
operator="and">
<adapt
type="org.jkiss.dbeaver.ext.postgresql.model.PostgreProcedure">
</adapt>
</iterate>
</with>
</enablement>
</contextualLaunch>
</shortcut>
</extension>
<extension
point="org.eclipse.debug.ui.debugModelPresentations">
......
......@@ -544,7 +544,3 @@ tools.truncate.description=Truncate table(s)
launchConfigurationTypes.launchConfigurationType.pgSQL.name=PL/pgSQL
launchConfigurationTypes.launchConfigurationType.pgSQL.delegateName=PL/pgSQL Debug
launchConfigurationTypes.launchConfigurationType.pgSQL.delegateDescription=PL/pgSQL debug for PostgreSQL procedures
# org.jkiss.dbeaver.postgresql.debug.ui
launchShortcuts.shortcut.pgSQL.label=PL/pgSQL
launchShortcuts.shortcut.pgSQL.description=PL/pgSQL debug for PostgreSQL procedures
\ No newline at end of file
......@@ -413,41 +413,4 @@
</extension>
<!-- org.jkiss.dbeaver.postgresql.debug.core ends -->
<!-- org.jkiss.dbeaver.postgresql.debug.ui begins -->
<extension
point="org.eclipse.debug.ui.launchShortcuts">
<shortcut
class="org.jkiss.dbeaver.postgresql.internal.debug.ui.PgSqlLaunchShortcut"
description="%launchShortcuts.shortcut.pgSQL.description"
icon="icons/postgresql_icon.png"
id="org.jkiss.dbeaver.postgresql.debug.ui.launchShortcuts.shortcut.pgSQL"
label="%launchShortcuts.shortcut.pgSQL.label"
modes="debug">
<contextualLaunch>
<contextLabel
label="%launchShortcuts.shortcut.pgSQL.label"
mode="debug">
</contextLabel>
<enablement>
<with
variable="selection">
<count
value="1">
</count>
<iterate
ifEmpty="false"
operator="and">
<adapt
type="org.jkiss.dbeaver.ext.postgresql.model.PostgreProcedure">
</adapt>
</iterate>
</with></enablement></contextualLaunch>
<configurationType
id="org.jkiss.dbeaver.postgresql.debug.core.pgSQL">
</configurationType>
</shortcut>
</extension>
<!-- org.jkiss.dbeaver.postgresql.debug.ui ends -->
</plugin>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册