[hibernate-issues] [Hibernate-JIRA] Updated: (HBX-863) Hibernate Code Generation toolbar group is appearing in all Eclipse perspectives.

John O'Shea (JIRA) noreply at atlassian.com
Fri Jan 26 08:57:19 EST 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-863?page=all ]

John O'Shea updated HBX-863:
----------------------------

    Attachment: plugin.xml

Hi Max,

Attached is a modified "org.hibernate.eclipse.console\plugin.xml" that limits visibility of the "org.hibernate.eclipse.launch.actionset" to only the Java, Java Browsing and Hibernate Console perspectives.   The "visibility=true" attribute has been removed from the action set (this should not be used in production code) and perspectiveExtension extension points have been added/modified to declare which perspectives the group should be visible in.

To be honest, I still don't see any real need to have this actionset in the debug or PDE perspectives, given how infrequently it would be used in the context of day to day debugging or PDE development.



> Hibernate Code Generation toolbar group is appearing in all Eclipse perspectives.
> ---------------------------------------------------------------------------------
>
>          Key: HBX-863
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-863
>      Project: Hibernate Tools
>         Type: Bug

>   Components: eclipse
>     Versions: 3.2beta9
>  Environment: All
>     Reporter: John O'Shea
>  Attachments: hib_tools.png, plugin.xml
>
>
> Currently the org.hibernate.eclipse.console plugin is contributing an action to the "org.eclipse.debug.ui.launchActionSet".  Consequently, the icon for the action group containing the "Hibernate Code Generation....." action is appearing in all Eclipse perspectives.  This is not really a good thing - it is polluting other perspectives that probably have no hibernate related functionality.  For example the attached screenshot shows the Synchronize perspective toolbar, with the Hibernate group visible - not very useful (and perhaps confusing for users).
> Could you perhaps move this action into a hibernate tools action set that is only displayed when the Hibernate Console (and maybe Java) perspective is active?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list