[jbosstools-issues] [JBoss JIRA] (JBIDE-7361) Seam toolbar items are showing up in the Teiid toolbar

Victor Rubezhny (Commented) (JIRA) jira-events at lists.jboss.org
Mon Dec 12 15:30:09 EST 2011


    [ https://issues.jboss.org/browse/JBIDE-7361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650197#comment-12650197 ] 

Victor Rubezhny commented on JBIDE-7361:
----------------------------------------

I mean the trick with "visible when" and actionSet definition which were provided by you for runBrowserSim command in issue JBIDE-10417.

Without this trick we cannot show "Open Seam Component" toolbar button only in Seam Perspective (and not to show for other perspectives). But we can hide it for each perspective using "RClick->Customize Perspective" Toolbar context menu. (We can't hide it by default for all the perspectives other than Seam, but a user can hide it later at run time.)

Using an action set defined for perspective to define visibility of the toolbar button (to make it visible only in Seam perspective) prevents us from a possibility to make it visible on other perspective using "RClick->Customize Perspective" Toolbar context menu (the command will be listed there only for Seam perspective).

Do not understand question about Java contributions... Java toolbar/menu items are always visible, but their visibility could be edited by "RClick->Customize Perspective" Toolbar context menu. But have an opposite case for Seam-related stuff: we need to hide it from toolbars/menues when non-Seam perspective is active. And if we're hiding it by default (for non-Seam perspectives) - there is no way for a user to make them visible again (the only way is to activate Seam perspective). 
Is that we want?
                
> Seam toolbar items are showing up in the Teiid toolbar
> ------------------------------------------------------
>
>                 Key: JBIDE-7361
>                 URL: https://issues.jboss.org/browse/JBIDE-7361
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Seam 2, UpStream
>    Affects Versions: 3.2.0.Beta1
>         Environment: Fedora 12, JBDS 4.0.0 H52 with EDS
>            Reporter: Paul Nittel
>            Assignee: Victor Rubezhny
>             Fix For: 3.3.0.Beta1
>
>         Attachments: Screenshot-SeamTools.png
>
>
> I was inspecting the toolbar to test actions when I noticed that there was no "Find Model Object" button. I did find the "Open Seam Component" and "Open Spring Bean" buttons, but I'm in the Teiid perspective.
> Even with the Seam perspective closed, there toolbar contains these buttons.
> Screenshot will be attached.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list