Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/plugin.xml')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/plugin.xml156
1 files changed, 154 insertions, 2 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/plugin.xml b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/plugin.xml
index db4d925f1..1671f2308 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/plugin.xml
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/plugin.xml
@@ -30,11 +30,13 @@
<!-- Launch shortcut contributions -->
<extension point="org.eclipse.debug.ui.launchShortcuts">
<shortcut
- class="org.eclipse.tcf.te.tcf.launch.ui.remote.app.LaunchShortcut"
id="org.eclipse.tcf.te.tcf.launch.ui.launchshortcut.remote.app.run"
label="%LaunchShortcut.Remote.App.name"
icon="icons/obj16/remote_app.gif"
modes="run">
+ <class class="org.eclipse.tcf.te.launch.ui.internal.handler.LaunchShortcutHandler">
+ <parameter name="typeId" value="org.eclipse.tcf.te.tcf.launch.type.remote.app"/>
+ </class>
<contextualLaunch>
<enablement>
<with variable="selection">
@@ -53,11 +55,13 @@
</contextualLaunch>
</shortcut>
<shortcut
- class="org.eclipse.tcf.te.tcf.launch.ui.remote.app.LaunchShortcut"
id="org.eclipse.tcf.te.tcf.launch.ui.launchshortcut.remote.app.debug"
label="%LaunchShortcut.Remote.App.name"
icon="icons/obj16/remote_app.gif"
modes="debug">
+ <class class="org.eclipse.tcf.te.launch.ui.internal.handler.LaunchShortcutHandler">
+ <parameter name="typeId" value="org.eclipse.tcf.te.tcf.launch.type.remote.app"/>
+ </class>
<contextualLaunch>
<enablement>
<with variable="selection">
@@ -122,6 +126,154 @@
</navigatorContent>
</extension>
+<!-- Menu contributions -->
+ <extension point="org.eclipse.ui.menus">
+ <!-- Project explorer menu contributions -->
+ <menuContribution locationURI="popup:org.eclipse.ui.navigator.ProjectExplorer#PopupMenu?before=additions">
+ <separator name="org.eclipse.tcf.te.tcf.ui.launch.remote.app.launch" visible="true"/>
+ <command
+ commandId="org.eclipse.tcf.te.tcf.ui.launch.remote.app.command.run"
+ disabledIcon="platform:/plugin/org.eclipse.debug.ui/icons/full/dtool16/run_exc.gif"
+ icon="platform:/plugin/org.eclipse.debug.ui/icons/full/etool16/run_exc.gif"
+ id="org.eclipse.tcf.te.tcf.ui.launch.remote.app.run"
+ label="%LaunchShortcutHandler.Remote.App.run.name"
+ style="push">
+ <visibleWhen checkEnabled="false">
+ <with variable="selection">
+ <iterate
+ operator="and"
+ ifEmpty="false">
+ <instanceof value="org.eclipse.core.resources.IResource"/>
+ </iterate>
+ </with>
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.tcf.te.tcf.ui.launch.remote.app.command.debug"
+ disabledIcon="platform:/plugin/org.eclipse.debug.ui/icons/full/dtool16/debug_exc.gif"
+ icon="platform:/plugin/org.eclipse.debug.ui/icons/full/etool16/debug_exc.gif"
+ id="org.eclipse.tcf.te.tcf.ui.launch.remote.app.debug"
+ label="%LaunchShortcutHandler.Remote.App.debug.name"
+ style="push">
+ <visibleWhen checkEnabled="false">
+ <with variable="selection">
+ <iterate
+ operator="and"
+ ifEmpty="false">
+ <instanceof value="org.eclipse.core.resources.IResource"/>
+ </iterate>
+ </with>
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ <!-- Target explorer menu contributions -->
+ <menuContribution locationURI="popup:org.eclipse.tcf.te.ui.views.View#Popup?before=additions">
+ <separator name="org.eclipse.tcf.te.tcf.ui.launch.remote.app.launch" visible="true"/>
+ <command
+ commandId="org.eclipse.tcf.te.tcf.ui.launch.remote.app.command.run"
+ disabledIcon="platform:/plugin/org.eclipse.debug.ui/icons/full/dtool16/run_exc.gif"
+ icon="platform:/plugin/org.eclipse.debug.ui/icons/full/etool16/run_exc.gif"
+ id="org.eclipse.tcf.te.tcf.ui.launch.remote.app.run"
+ label="%LaunchShortcutHandler.Remote.App.run.name"
+ style="push">
+ <visibleWhen checkEnabled="false">
+ <with variable="selection">
+ <iterate
+ operator="and"
+ ifEmpty="false">
+ <instanceof value="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel"/>
+ </iterate>
+ </with>
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.tcf.te.tcf.ui.launch.remote.app.command.debug"
+ disabledIcon="platform:/plugin/org.eclipse.debug.ui/icons/full/dtool16/debug_exc.gif"
+ icon="platform:/plugin/org.eclipse.debug.ui/icons/full/etool16/debug_exc.gif"
+ id="org.eclipse.tcf.te.tcf.ui.launch.remote.app.debug"
+ label="%LaunchShortcutHandler.Remote.App.debug.name"
+ style="push">
+ <visibleWhen checkEnabled="false">
+ <with variable="selection">
+ <iterate
+ operator="and"
+ ifEmpty="false">
+ <instanceof value="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel"/>
+ </iterate>
+ </with>
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ </extension>
+
+<!-- Command contributions -->
+ <extension point="org.eclipse.ui.commands">
+ <command
+ categoryId="org.eclipse.tcf.te.ui.commands.category"
+ id="org.eclipse.tcf.te.tcf.ui.launch.remote.app.command.run"
+ name="%LaunchShortcutHandler.Remote.App.run.name"/>
+ <command
+ categoryId="org.eclipse.tcf.te.ui.commands.category"
+ id="org.eclipse.tcf.te.tcf.ui.launch.remote.app.command.debug"
+ name="%LaunchShortcutHandler.Remote.App.debug.name"/>
+ </extension>
+
+<!-- Handler contributions -->
+ <extension point="org.eclipse.ui.handlers">
+ <handler commandId="org.eclipse.tcf.te.tcf.ui.launch.remote.app.command.run">
+ <class class="org.eclipse.tcf.te.launch.ui.internal.handler.LaunchShortcutHandler">
+ <parameter name="mode" value="run"/>
+ <parameter name="typeId" value="org.eclipse.tcf.te.tcf.launch.type.remote.app"/>
+ </class>
+ <activeWhen>
+ <with variable="activePartId">
+ <or>
+ <equals value="org.eclipse.tcf.te.ui.views.View"/>
+ <equals value="org.eclipse.ui.navigator.ProjectExplorer"/>
+ </or>
+ </with>
+ </activeWhen>
+ <enabledWhen>
+ <with variable="selection">
+ <iterate
+ operator="and"
+ ifEmpty="false">
+ <or>
+ <instanceof value="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel"/>
+ <instanceof value="org.eclipse.core.resources.IResource"/>
+ </or>
+ </iterate>
+ </with>
+ </enabledWhen>
+ </handler>
+ <handler commandId="org.eclipse.tcf.te.tcf.ui.launch.remote.app.command.debug">
+ <class class="org.eclipse.tcf.te.launch.ui.internal.handler.LaunchShortcutHandler">
+ <parameter name="mode" value="debug"/>
+ <parameter name="typeId" value="org.eclipse.tcf.te.tcf.launch.type.remote.app"/>
+ </class>
+ <activeWhen>
+ <with variable="activePartId">
+ <or>
+ <equals value="org.eclipse.tcf.te.ui.views.View"/>
+ <equals value="org.eclipse.ui.navigator.ProjectExplorer"/>
+ </or>
+ </with>
+ </activeWhen>
+ <enabledWhen>
+ <with variable="selection">
+ <iterate
+ operator="and"
+ ifEmpty="false">
+ <or>
+ <instanceof value="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel"/>
+ <instanceof value="org.eclipse.core.resources.IResource"/>
+ </or>
+ </iterate>
+ </with>
+ </enabledWhen>
+ </handler>
+ </extension>
+
<!-- Property section contributions -->
<extension point="org.eclipse.ui.views.properties.tabbed.propertySections">
<propertySections contributorId="org.eclipse.tcf.te.ui">

Back to the top