Author: adietish
Date: 2010-11-15 12:47:54 -0500 (Mon, 15 Nov 2010)
New Revision: 26572
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml
Log:
[JBIDE-7599] corrected refresh handler activation to remove conflicts between the 3
refresh handlers (cloud-, image-, instance-)
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog 2010-11-15 17:34:15
UTC (rev 26571)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog 2010-11-15 17:47:54
UTC (rev 26572)
@@ -1,5 +1,8 @@
2010-11-15 André Dietisheim <adietish(a)redhat.com>
+ * plugin.xml:
+ [JBIDE-7599] corrected refresh handler activation to remove conflicts between the 3
refresh handlers
+ (cloud-, image-, instance-)
* src/org/jboss/tools/internal/deltacloud/ui/wizards/ManageKeysPage.java (.modifyText):
(validateDirectory):
(createControl):
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml 2010-11-15 17:34:15
UTC (rev 26571)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml 2010-11-15 17:47:54
UTC (rev 26572)
@@ -154,13 +154,22 @@
<activeWhen>
<with
variable="selection">
- <iterate>
- <instanceof
-
value="org.jboss.tools.deltacloud.ui.views.CloudViewElement">
- </instanceof>
- </iterate>
+ <and>
+ <count value="+" />
+ <iterate>
+ <instanceof
+
value="org.jboss.tools.deltacloud.ui.views.CloudViewElement">
+ </instanceof>
+ </iterate>
+ </and>
</with>
</activeWhen>
+ <enabledWhen>
+ <with
+ variable="selection">
+ <count value="+" />
+ </with>
+ </enabledWhen>
</handler>
<handler
class="org.jboss.tools.deltacloud.ui.commands.RefreshInstancesHandler"
@@ -168,13 +177,22 @@
<activeWhen>
<with
variable="selection">
- <iterate>
- <instanceof
- value="org.jboss.tools.deltacloud.core.DeltaCloudInstance">
- </instanceof>
- </iterate>
+ <and>
+ <count value="+" />
+ <iterate>
+ <instanceof
+ value="org.jboss.tools.deltacloud.core.DeltaCloudInstance">
+ </instanceof>
+ </iterate>
+ </and>
</with>
</activeWhen>
+ <enabledWhen>
+ <with
+ variable="selection">
+ <count value="+" />
+ </with>
+ </enabledWhen>
</handler>
<handler
class="org.jboss.tools.deltacloud.ui.commands.RefreshImagesHandler"
@@ -182,13 +200,22 @@
<activeWhen>
<with
variable="selection">
- <iterate>
- <instanceof
- value="org.jboss.tools.deltacloud.core.DeltaCloudImage">
- </instanceof>
- </iterate>
+ <and>
+ <count value="+" />
+ <iterate>
+ <instanceof
+ value="org.jboss.tools.deltacloud.core.DeltaCloudImage">
+ </instanceof>
+ </iterate>
+ </and>
</with>
</activeWhen>
+ <enabledWhen>
+ <with
+ variable="selection">
+ <count value="+" />
+ </with>
+ </enabledWhen>
</handler>
</extension>
<extension
Show replies by date