[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-5431) Main menu: Source -> Generate Hibernate/JPA annotations - visible for Mapping Diagram
Vitali Yemialyanchyk (JIRA)
jira-events at lists.jboss.org
Wed Dec 9 11:37:29 EST 2009
[ https://jira.jboss.org/jira/browse/JBIDE-5431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vitali Yemialyanchyk updated JBIDE-5431:
----------------------------------------
Description:
ordinally it disabled, but sametimes enabled and then I get this exception:
org.eclipse.core.commands.NotEnabledException: Trying to execute the disabled command org.hibernate.eclipse.jdt.ui.run_jpaaction
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:469)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:770)
at org.eclipse.ui.menus.CommandContributionItem.access$10(CommandContributionItem.java:756)
at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:746)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
also if Package Explorer is active - main menu -> Source -> Generate Hibernate/JPA annotations should handle a selected tree items - not open active editor (current behavior)
was:
ordinally it disabled, but sametimes enabled and then I get this exception:
org.eclipse.core.commands.NotEnabledException: Trying to execute the disabled command org.hibernate.eclipse.jdt.ui.run_jpaaction
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:469)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:770)
at org.eclipse.ui.menus.CommandContributionItem.access$10(CommandContributionItem.java:756)
at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:746)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> Main menu: Source -> Generate Hibernate/JPA annotations - visible for Mapping Diagram
> -------------------------------------------------------------------------------------
>
> Key: JBIDE-5431
> URL: https://jira.jboss.org/jira/browse/JBIDE-5431
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Hibernate
> Affects Versions: 3.1.0.CR1
> Reporter: Vitali Yemialyanchyk
> Assignee: Vitali Yemialyanchyk
> Priority: Minor
> Fix For: 3.1.0.GA
>
>
> ordinally it disabled, but sametimes enabled and then I get this exception:
> org.eclipse.core.commands.NotEnabledException: Trying to execute the disabled command org.hibernate.eclipse.jdt.ui.run_jpaaction
> at org.eclipse.core.commands.Command.executeWithChecks(Command.java:469)
> at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
> at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
> at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
> at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:770)
> at org.eclipse.ui.menus.CommandContributionItem.access$10(CommandContributionItem.java:756)
> at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:746)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> also if Package Explorer is active - main menu -> Source -> Generate Hibernate/JPA annotations should handle a selected tree items - not open active editor (current behavior)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list