[jbosstools-commits] JBoss Tools SVN: r43760 - trunk/openshift/plugins/org.jboss.tools.openshift.express.ui.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Mon Sep 17 13:05:53 EDT 2012


Author: adietish
Date: 2012-09-17 13:05:53 -0400 (Mon, 17 Sep 2012)
New Revision: 43760

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 17:00:50 UTC (rev 43759)
+++ trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/plugin.xml	2012-09-17 17:05:53 UTC (rev 43760)
@@ -705,10 +705,13 @@
                 mnemonic="K">
               <visibleWhen>
 				<with variable="selection">
-         			<iterate ifEmpty="false" operator="or">
-            			<instanceof
-                       		value="org.jboss.tools.openshift.express.internal.core.console.UserDelegate" />
-                    </iterate>
+					<and>
+						<count value="1" />
+	         			<iterate ifEmpty="false" operator="or">
+	            			<instanceof
+	                       		value="org.jboss.tools.openshift.express.internal.core.console.UserDelegate" />
+	                    </iterate>
+					</and>
                 </with>
               </visibleWhen>
           </command>



More information about the jbosstools-commits mailing list