Author: adietish
Date: 2010-11-16 04:21:39 -0500 (Tue, 16 Nov 2010)
New Revision: 26605
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml
Log:
[JBIDE-7599] switched refresh for image- and instance-view to be available as soon as the
view is active (and not only when an item is selected)
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog 2010-11-16 08:06:14
UTC (rev 26604)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog 2010-11-16 09:21:39
UTC (rev 26605)
@@ -1,5 +1,8 @@
2010-11-16 André Dietisheim <adietish(a)redhat.com>
+ * plugin.xml:
+ [JBIDE-7599] switched refresh for image- and instance-view to be available as soon as
the view is active
+ (and not only when an item is selected)
* src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstanceWizard2.java
(WatchCreateJob.run):
* src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstanceWizard.java
(WatchCreateJob.run):
[JBIDE-7603] moved (duplicate) instance state waiting code to delta cloud and removed
duplication
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml 2010-11-16 08:06:14
UTC (rev 26604)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml 2010-11-16 09:21:39
UTC (rev 26605)
@@ -176,38 +176,18 @@
commandId="org.eclipse.ui.file.refresh">
<activeWhen>
<with
- variable="selection">
- <and>
- <count value="+" />
- <iterate>
- <instanceof
- value="org.jboss.tools.deltacloud.core.DeltaCloudInstance">
- </instanceof>
- </iterate>
- </and>
+ variable="activePart">
+ <instanceof value="org.jboss.tools.deltacloud.ui.views.InstanceView"
/>
</with>
</activeWhen>
- <enabledWhen>
- <with
- variable="selection">
- <count value="+" />
- </with>
- </enabledWhen>
</handler>
<handler
class="org.jboss.tools.deltacloud.ui.commands.RefreshImagesHandler"
commandId="org.eclipse.ui.file.refresh">
<activeWhen>
<with
- variable="selection">
- <and>
- <count value="+" />
- <iterate>
- <instanceof
- value="org.jboss.tools.deltacloud.core.DeltaCloudImage">
- </instanceof>
- </iterate>
- </and>
+ variable="activePart">
+ <instanceof value="org.jboss.tools.deltacloud.ui.views.ImageView"
/>
</with>
</activeWhen>
<enabledWhen>
Show replies by date