Author: adietish
Date: 2011-01-12 08:06:33 -0500 (Wed, 12 Jan 2011)
New Revision: 28123
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/plugin.xml
Log:
[JBIDE-8095] made command "show in remote system exploerer" to be available only
if a single instance is selected
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/plugin.xml
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/plugin.xml 2011-01-12
13:02:39 UTC (rev 28122)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/plugin.xml 2011-01-12
13:06:33 UTC (rev 28123)
@@ -24,7 +24,7 @@
<enabledWhen>
<with
variable="selection">
- <count value="+" />
+ <count value="1" />
</with>
</enabledWhen>
</handler>
@@ -51,9 +51,10 @@
</command>
</menuContribution>
</extension>
- <menuContribution
+ <extension point="org.eclipse.ui.menus">
+ <menuContribution
allPopups="true"
-
locationURI="toolbar:org.jboss.tools.deltacloud.ui.views.InstanceView?after=instances">
+
locationURI="popup:org.jboss.tools.deltacloud.ui.views.DeltaCloudView?after=additions">
<command
commandId="org.jboss.tools.deltacloud.integration.rse.showremotesysexplorer"
disabledIcon="icons/system_viewd.gif"
@@ -62,7 +63,8 @@
style="push"
tooltip="%command.showInRemoteSysExplorer.tooltip">
</command>
- </menuContribution>
+ </menuContribution>
+ </extension>
<extension
point="org.jboss.tools.deltacloud.ui.newInstanceWizardPage">
<page
Show replies by date