[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-7599) cannot refresh instances
Andre Dietisheim (JIRA)
jira-events at lists.jboss.org
Mon Nov 15 12:47:24 EST 2010
[ https://jira.jboss.org/browse/JBIDE-7599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563433#comment-12563433 ]
Andre Dietisheim commented on JBIDE-7599:
-----------------------------------------
the problem is due to conflicting refresh handlers. I spotted a message in the log that said that there were 2 refresh handlers (images and instances) that were conflicting.
There are 3 handlers that are registered with the refresh command:
- refresh images
- refresh instances
- refresh cloud
<activateWhen> on behald of an instance type
<instanceof
value="org.jboss.tools.deltacloud.core.DeltaCloudInstance">
</instanceof>
etc.
is not enough. The handlers get activated even if there's no item selected. The message in the log disappears if I tell the command framework that the appropriate handler shall only be activated if there is at least 1 element selected:
<count value="+" />
> cannot refresh instances
> ------------------------
>
> Key: JBIDE-7599
> URL: https://jira.jboss.org/browse/JBIDE-7599
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
>
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list