Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-11-13 12:41:12 +0000
committerUwe Stieber2012-11-13 12:41:12 +0000
commit769790d4128a4221e1ce8f79398db6e161d47b82 (patch)
tree2811a13179231d81126c7809eff12e9a844fb8e1
parentf1a49ade381193fec5f56ec7c3c5aaf67bb94a71 (diff)
downloadorg.eclipse.tcf-769790d4128a4221e1ce8f79398db6e161d47b82.tar.gz
org.eclipse.tcf-769790d4128a4221e1ce8f79398db6e161d47b82.tar.xz
org.eclipse.tcf-769790d4128a4221e1ce8f79398db6e161d47b82.zip
Target Explorer: Cleanup launch in debug mode command definition
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.launch.ui/plugin.properties16
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.launch.ui/plugin.xml26
2 files changed, 25 insertions, 17 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/plugin.properties b/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/plugin.properties
index 1b48cae4c..f717c26b7 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/plugin.properties
+++ b/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/plugin.properties
@@ -26,6 +26,17 @@ command.attach.description=Attach to the selected Context
command.detach.name=Detach Context Command
command.detach.description=Detach from the selected Context
+command.run.name=Launch in Run Mode Command
+command.run.label=Run
+command.run.description=Launches the selected launch configuration in Run mode
+
+command.debug.name=Launch in Debug Mode Command
+command.debug.label=Debug
+command.debug.description=Launches the selected launch configuration in Debug mode
+
+command.delete.label=Delete
+command.delete.description=Delete the selected node
+
# ***** Editor page Contributions *****
LauchEditorPage.name=Launches
@@ -50,12 +61,7 @@ Refresh.menu.name=Refresh
Refresh.menu.mnemonic=f
ShowIn.menu.name=Show In
Properties.menu.name=Properties
-Run.menu.name=Run
-Debug.menu.name=Debug
AddTo.menu.name=Add To
-command.delete.label=Delete
-command.delete.description=Delete the selected node
-
LaunchTree.name=Launches
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/plugin.xml b/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/plugin.xml
index 8df48a5af..df7d82d3c 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/plugin.xml
+++ b/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/plugin.xml
@@ -495,7 +495,7 @@
<command
commandId="org.eclipse.tcf.te.ui.launch.command.run"
id="org.eclipse.tcf.te.launch.ui.editor.toolbar.commands.run"
- label="%Run.menu.name"
+ label="%command.run.label"
style="push"/>
<separator
name="group.debug"
@@ -503,7 +503,7 @@
<command
commandId="org.eclipse.tcf.te.ui.launch.command.debug"
id="org.eclipse.tcf.te.launch.ui.editor.toolbar.commands.debug"
- label="%Debug.menu.name"
+ label="%command.debug.label"
style="push"/>
<separator
name="group.launch"
@@ -533,29 +533,33 @@
<command
categoryId="org.eclipse.tcf.te.ui.commands.category"
description="%command.showInDebugView.description"
- helpContextId="org.eclipse.tcf.te.launch.command_ShowInDebugView"
id="org.eclipse.tcf.te.launch.command.showInDebugView"
+ helpContextId="org.eclipse.tcf.te.launch.command_ShowInDebugView"
name="%command.showInDebugView.name"/>
<command
categoryId="org.eclipse.tcf.te.ui.commands.category"
description="%command.attach.description"
- helpContextId="org.eclipse.tcf.te.launch.command_Attach"
id="org.eclipse.tcf.te.launch.command.attach"
+ helpContextId="org.eclipse.tcf.te.launch.command_Attach"
name="%command.attach.name"/>
<command
categoryId="org.eclipse.tcf.te.ui.commands.category"
description="%command.detach.description"
- helpContextId="org.eclipse.tcf.te.launch.command_Detach"
id="org.eclipse.tcf.te.launch.command.detach"
+ helpContextId="org.eclipse.tcf.te.launch.command_Detach"
name="%command.detach.name"/>
<command
- helpContextId="org.eclipse.tcf.te.ui.launch.command_Run"
+ categoryId="org.eclipse.tcf.te.ui.commands.category"
+ description="%command.run.description"
id="org.eclipse.tcf.te.ui.launch.command.run"
- name="%Run.menu.name"/>
+ helpContextId="org.eclipse.tcf.te.ui.launch.command_Run"
+ name="%command.run.name"/>
<command
- helpContextId="org.eclipse.tcf.te.ui.launch.command_Debug"
+ categoryId="org.eclipse.tcf.te.ui.commands.category"
+ description="%command.debug.description"
id="org.eclipse.tcf.te.ui.launch.command.debug"
- name="%Debug.menu.name"/>
+ helpContextId="org.eclipse.tcf.te.ui.launch.command_Debug"
+ name="%command.debug.name"/>
</extension>
<!-- Command image contributions -->
@@ -713,9 +717,7 @@
<enabledWhen>
<with variable="selection">
<count value="1"/>
- <iterate
- operator="and"
- ifEmpty="false">
+ <iterate operator="and" ifEmpty="false">
<and>
<test property="org.eclipse.tcf.te.launch.ui.model.isLaunchConfig"/>
<test property="org.eclipse.tcf.te.launch.ui.model.isValidLaunchConfig" value="debug"/>

Back to the top