[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
Tue Dec 20 10:51:09 EST 2011
[ https://issues.jboss.org/browse/JBIDE-7361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652313#comment-12652313 ]
Victor Rubezhny commented on JBIDE-7361:
----------------------------------------
Max,
"Open Type... " command/toolbar button/ Navigate Menu item is always enabled (at least I couldn't find a perspective where this button/menu item is hidden). This is not a Command, but action in Action Set associated with many Action Set Parts (all are defined in JDT UI) like Compilation Unit Editor, Package Explorer and even Poperties File Editor. So, this button/menu item is almost always visible and enabled (unless it is configured to be hidden in Customize Perspective Dialog).
But... If I:
1) open Java perspective
2) then disable visibility of Open Type action in Customize Perspective Dialog
3) then switch to Resource Perspective (Not Debug perspective, 'cause it seems that it defines its own instance of the same action)
Then I couldn't enable Open Type action (make it visible) because - See CannotEnableOpenType.png screenshot.
So, all I can improve is, probably, associate "org.jboss.tools.seam.ui.actionSet" (which is used to hide/show "Open Seam Component" command's toolbar button/menu items) with more UI Parts like Visual Page Editor, JBoss Perspective etc. But in this case it (Open Seam Component toolbar button/menu item) will be enabled and visible by default if any of such part is activated (even if Seam Perspective is not opened).
WDYT?
> 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: jbide-7361.patch, 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