Author: adietish
Date: 2011-05-19 09:21:28 -0400 (Thu, 19 May 2011)
New Revision: 31375
Modified:
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml
Log:
[JBIDE-8928] added visibility expression to create instance menu contribution
Modified:
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml
===================================================================
---
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml 2011-05-19
13:21:18 UTC (rev 31374)
+++
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml 2011-05-19
13:21:28 UTC (rev 31375)
@@ -664,6 +664,18 @@
label="%command.createinstance.label"
style="push"
tooltip="%command.createinstance.tooltip">
+ <visibleWhen
+ checkEnabled="true">
+ <with
+ variable="selection">
+ <iterate>
+ <not>
+ <adapt
+ type="org.jboss.tools.deltacloud.core.DeltaCloudImage"
/>
+ </not>
+ </iterate>
+ </with>
+ </visibleWhen>
</command>
</menuContribution>
<menuContribution
Show replies by date