[jbosstools-issues] [JBoss JIRA] (JBIDE-12783) Missing QuickFix context menu within Source pane of VPE for JSF project
Viacheslav Kabanovich (JIRA)
jira-events at lists.jboss.org
Wed Oct 17 17:18:01 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-12783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727418#comment-12727418 ]
Viacheslav Kabanovich commented on JBIDE-12783:
-----------------------------------------------
Cool, it works. One little improvement: there is no need for using reflection, ZContextMenuListener.getMenuItems(IMenuManager) can be implemented as
{code}
Item[] getMenuItems(IMenuManager manager) {
Menu menu = ((MenuManager)manager).getMenu();
return (menu == null) ? new Item[0] : menu.getItems();
}
{code}
> Missing QuickFix context menu within Source pane of VPE for JSF project
> -----------------------------------------------------------------------
>
> Key: JBIDE-12783
> URL: https://issues.jboss.org/browse/JBIDE-12783
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsp/jsf/xml source editing
> Affects Versions: 4.0.0.Alpha2
> Environment: Linux 64bit, Eclipse SDK 4.2.1, JBT 4.0.0.Alpha2-v20121002-1149-B19
> Reporter: Vlado Pakan
> Assignee: Victor Rubezhny
> Priority: Critical
> Fix For: 4.0.0.CR1
>
> Attachments: disabledquickfixmenuproblemsview.png, jbide-12783-workaround.patch, noquickfixmenuvpe.png
>
>
> 1. Create JSF project
> 2. Open inputUserName.jsp
> 3. Change EL "#{user.name}" to "#{user.sname}"
> 4. Warning marker is displayed on side of VPE and warning appeared in Problems view
> 5. Right click on changed EL
> ERROR: There is no QuickFix context menu
> !noquickfixmenuvpe.png!
> ERROR: QuickFix menu in Problems view is disabled
> !disabledquickfixmenuproblemsview.png!
> Workaround is to press Ctrl+1 in VPE editor
> It's probably introduced by new Eclipse SDK 4.2.1
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list