[ 
https://issues.apache.org/jira/browse/QPID-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654481#action_12654481
 ] 

Robert Gemmell commented on QPID-1011:
--------------------------------------

This appears to do what it says on the tin. Where issues would exist from using 
the qpid management functionality in other perspectives in an eclipse IDE, a 
warning is now given to request the user switches perspective.

It alters the exception handler to report that you should switch to the qpid 
management perspective. Adding the core management console plugin to the 
plugins directory of my eclipse IDE install I then get the qpid MC toolbar and 
menu within my IDE and am able to use the management functionality within the 
IDE. Using some of the functionality in perspectives other than the qpid 
management one does indeed generate messages as a result of the patch, meaning 
it was of course was generating exceptions to be handled and those are now 
being handled accordingly :)

Whilst this does address the issue, I would agree more with Senaka's 
alternative suggestion that really the buttons and toolbars just shouldnt be 
shown in the other perspectives to begin with if possible, so I will add that 
to my list of things to look at when bringing the plugin and MC up to v3.4. If 
that was handled, then i think the plugin could be offered for standalone use 
in the Eclipse IDE rather than just for use in the MC RCP app.

> Qpid Management Console Plugin has undefined behaviour in different Eclipse 
> Perspectives
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-1011
>                 URL: https://issues.apache.org/jira/browse/QPID-1011
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Management : JMX Console
>         Environment: Ubuntu 7.10 (Gusty Gibbon)
>            Reporter: Senaka Fernando
>            Assignee: Martin Ritchie
>         Attachments: invalid_perspective_fix.patch.txt
>
>
> Qpid Management Console Plugin has undefined behaviour in different Eclipse 
> Perspectives. For example in the Java perspective, I can't create a 
> connection and get a error "Server Connection Failed". I believe that the 
> error message must either be informative enough for the user to change the 
> perspective, or, the toolbar and the menu item must rather be disabled in 
> unsupported perspectives.
> Regards,
> Senaka
> N.B. this might not be an Ubuntu specific issue, and I'm not aware of the 
> behaviour on other platforms.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to