[jbosstools-commits] JBoss Tools SVN: r43753 - trunk/openshift/plugins/org.jboss.tools.openshift.express.ui.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Mon Sep 17 12:54:41 EDT 2012
Author: adietish
Date: 2012-09-17 12:54:41 -0400 (Mon, 17 Sep 2012)
New Revision: 43753
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/plugin.xml
Log:
[JBIDE-11912] corrected "Manage SSH Keys" context-menu entry visibility (was always visible, but only enabled on user, now: only visible on user)
Modified: trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/plugin.xml
===================================================================
--- trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/plugin.xml 2012-09-17 16:18:31 UTC (rev 43752)
+++ trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/plugin.xml 2012-09-17 16:54:41 UTC (rev 43753)
@@ -692,14 +692,6 @@
<handler
class="org.jboss.tools.openshift.express.internal.ui.command.ManageSSHKeysHandler"
commandId="org.jboss.tools.openshift.express.ui.command.manageKeys">
- <enabledWhen>
- <with variable="selection">
- <iterate ifEmpty="false" operator="or">
- <instanceof
- value="org.jboss.tools.openshift.express.internal.core.console.UserDelegate" />
- </iterate>
- </with>
- </enabledWhen>
</handler>
</extension>
<extension
@@ -711,6 +703,14 @@
icon="icons/key-icon.png"
id="org.jboss.tools.openshift.express.ui.command.manageKeys"
mnemonic="K">
+ <visibleWhen>
+ <with variable="selection">
+ <iterate ifEmpty="false" operator="or">
+ <instanceof
+ value="org.jboss.tools.openshift.express.internal.core.console.UserDelegate" />
+ </iterate>
+ </with>
+ </visibleWhen>
</command>
</menuContribution>
</extension>
More information about the jbosstools-commits
mailing list