Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-01-12 06:33:14 -0500
committerUwe Stieber2012-01-12 12:02:39 -0500
commitfe965e07536b65acde86a56f47158bde6bae22b9 (patch)
treeef43684feb7516431177a7ef3bf1241a944f18e9
parent9dc1398ebf92c098967dcbd9320cebd1126faf92 (diff)
downloadorg.eclipse.tcf-fe965e07536b65acde86a56f47158bde6bae22b9.tar.gz
org.eclipse.tcf-fe965e07536b65acde86a56f47158bde6bae22b9.tar.xz
org.eclipse.tcf-fe965e07536b65acde86a56f47158bde6bae22b9.zip
Target Explorer: Add common attach/detach command definition
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.launch.core/plugin.properties2
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.launch.ui/build.properties3
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.launch.ui/icons/dlcl16/attach.gifbin0 -> 173 bytes
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.launch.ui/icons/dlcl16/detach.gifbin0 -> 168 bytes
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.launch.ui/icons/elcl16/attach.gifbin0 -> 962 bytes
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.launch.ui/icons/elcl16/detach.gifbin0 -> 956 bytes
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.launch.ui/plugin.properties11
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.launch.ui/plugin.xml32
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.ui.views/plugin.properties2
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.ui.views/plugin.xml2
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.ui/plugin.properties6
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.ui/plugin.xml6
12 files changed, 50 insertions, 14 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.launch.core/plugin.properties b/target_explorer/plugins/org.eclipse.tcf.te.launch.core/plugin.properties
index 455ca43d9..4a9eec674 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.launch.core/plugin.properties
+++ b/target_explorer/plugins/org.eclipse.tcf.te.launch.core/plugin.properties
@@ -1,5 +1,5 @@
##################################################################################
-# Copyright (c) 2011 Wind River Systems, Inc. and others. All rights reserved.
+# Copyright (c) 2011, 2012 Wind River Systems, Inc. and others. All rights reserved.
# This program and the accompanying materials are made available under the terms
# of the Eclipse Public License v1.0 which accompanies this distribution, and is
# available at http://www.eclipse.org/legal/epl-v10.html
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/build.properties b/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/build.properties
index 73a5119ed..1cb217caf 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/build.properties
+++ b/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/build.properties
@@ -3,4 +3,5 @@ output.. = bin/
bin.includes = META-INF/,\
.,\
plugin.properties,\
- plugin.xml
+ plugin.xml,\
+ icons/
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/icons/dlcl16/attach.gif b/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/icons/dlcl16/attach.gif
new file mode 100644
index 000000000..fa7b225f3
--- /dev/null
+++ b/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/icons/dlcl16/attach.gif
Binary files differ
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/icons/dlcl16/detach.gif b/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/icons/dlcl16/detach.gif
new file mode 100644
index 000000000..4f0e310cf
--- /dev/null
+++ b/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/icons/dlcl16/detach.gif
Binary files differ
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/icons/elcl16/attach.gif b/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/icons/elcl16/attach.gif
new file mode 100644
index 000000000..59c0c793d
--- /dev/null
+++ b/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/icons/elcl16/attach.gif
Binary files differ
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/icons/elcl16/detach.gif b/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/icons/elcl16/detach.gif
new file mode 100644
index 000000000..7cb6dd37e
--- /dev/null
+++ b/target_explorer/plugins/org.eclipse.tcf.te.launch.ui/icons/elcl16/detach.gif
Binary files differ
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 23de3b105..8ef257110 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
@@ -10,3 +10,14 @@
pluginName = Target Explorer, Launching, UI
providerName = Eclipse.org
+
+# ***** Command Contributions *****
+
+command.showInDebugView.name=Show in Debug View Command
+command.showInDebugView.description=Show the selected context in the Debug View
+
+command.attach.name=Attach Context Command
+command.attach.description=Attach to the selected Context
+
+command.detach.name=Detach Context Command
+command.detach.description=Detach from the selected Context
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 17f57fb7f..76c0adae0 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
@@ -6,18 +6,42 @@
<extension point="org.eclipse.ui.commands">
<command
categoryId="org.eclipse.tcf.te.ui.commands.category"
- description="%Command.showInDebugView.description"
+ description="%command.showInDebugView.description"
helpContextId="org.eclipse.tcf.te.launch.command_ShowInDebugView"
id="org.eclipse.tcf.te.launch.command.showInDebugView"
- name="%Command.showInDebugView.name">
+ name="%command.showInDebugView.name">
</command>
+
+ <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"
+ 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"
+ name="%command.detach.name"/>
</extension>
- <extension
- point="org.eclipse.ui.commandImages">
+
+ <extension point="org.eclipse.ui.commandImages">
<image
commandId="org.eclipse.tcf.te.launch.command.showInDebugView"
icon="platform:/plugin/org.eclipse.debug.ui/icons/full/eview16/debug_view.gif">
</image>
+ <image
+ commandId="org.eclipse.tcf.te.launch.command.attach"
+ disabledIcon="icons/dlcl16/attach.gif"
+ icon="icons/elcl16/attach.gif">
+ </image>
+ <image
+ commandId="org.eclipse.tcf.te.launch.command.detach"
+ disabledIcon="icons/dlcl16/detach.gif"
+ icon="icons/elcl16/detach.gif">
+ </image>
</extension>
</plugin>
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui.views/plugin.properties b/target_explorer/plugins/org.eclipse.tcf.te.ui.views/plugin.properties
index 6da4f4a5c..33e8a57d1 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.ui.views/plugin.properties
+++ b/target_explorer/plugins/org.eclipse.tcf.te.ui.views/plugin.properties
@@ -43,7 +43,7 @@ workingset.others.name=Other
workingset.others.description=Working set containing all elements not in any group.
# ***** Command and menu contributions *****
-Command.open.name=Open
+command.open.name=Open
PropertiesAction.label=P&roperties
PropertiesAction.tooltip=Show Properties of Selection
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui.views/plugin.xml b/target_explorer/plugins/org.eclipse.tcf.te.ui.views/plugin.xml
index 1292c2a73..1420a97f1 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.ui.views/plugin.xml
+++ b/target_explorer/plugins/org.eclipse.tcf.te.ui.views/plugin.xml
@@ -281,7 +281,7 @@
categoryId="org.eclipse.tcf.te.ui.commands.category"
helpContextId="org.eclipse.ui.navigator.Open"
id="org.eclipse.ui.navigator.Open"
- name="%Command.open.name">
+ name="%command.open.name">
</command>
<command
categoryId="org.eclipse.tcf.te.ui.commands.category"
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui/plugin.properties b/target_explorer/plugins/org.eclipse.tcf.te.ui/plugin.properties
index 5227c4252..8217fcdfe 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.ui/plugin.properties
+++ b/target_explorer/plugins/org.eclipse.tcf.te.ui/plugin.properties
@@ -27,10 +27,10 @@ context.targetexplorer.name=In Target Explorer
context.targetexplorer.description=The Target Explorer view is active
# ***** Command contributions *****
-Command.category.name=Target Explorer Commands
+command.category.name=Target Explorer Commands
-Command.newWizards.name=New Target
-Command.newWizards.description=Open the New target wizard
+command.newWizards.name=New Target
+command.newWizards.description=Open the New target wizard
# ***** Status Handler *****
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui/plugin.xml b/target_explorer/plugins/org.eclipse.tcf.te.ui/plugin.xml
index 6df902d2f..9f1e62ebd 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.ui/plugin.xml
+++ b/target_explorer/plugins/org.eclipse.tcf.te.ui/plugin.xml
@@ -19,16 +19,16 @@
<extension point="org.eclipse.ui.commands">
<category
id="org.eclipse.tcf.te.ui.commands.category"
- name="%Command.category.name">
+ name="%command.category.name">
</category>
<command
categoryId="org.eclipse.tcf.te.ui.commands.category"
defaultHandler="org.eclipse.tcf.te.ui.wizards.newWizard.NewWizardCommandHandler"
- description="%Command.newWizards.description"
+ description="%command.newWizards.description"
helpContextId="org.eclipse.tcf.te.ui.command_NewWizards"
id="org.eclipse.tcf.te.ui.command.newWizards"
- name="%Command.newWizards.name">
+ name="%command.newWizards.name">
</command>
</extension>

Back to the top