[
http://jira.jboss.com/jira/browse/JBIDE-1077?page=comments#action_12420989 ]
Denis Golovin commented on JBIDE-1077:
--------------------------------------
It seems you right, I spent some time trying to make it. I couldn't find a way to add
items in sub menu, but at least there is a way to add top level menu items in editor's
context menu. What we need is to know the context id for menu. Java popup menu has context
id #CompilationUnitEditorContext.
To add menu 'Seam' after 'Refactoring' in Java Editor Context menu add
extension point to seam.ui plugin.xml
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="popup:#CompilationUnitEditorContext?after=org.eclipse.jdt.ui.refactoring.menu">
<menu
id="java.editor.seam.popup.menu"
label="Seam">
<command
commandId="org.jboss.tools.seam.ui.open.component"
id="org.jboss.tools.seam.ui.open.component.submenu"
label="Open Seam Component"
style="push"
tooltip="Open Seam Component">
</command>
</menu>
</menuContribution>
</extension>
Seam refactoring tools
----------------------
Key: JBIDE-1077
URL:
http://jira.jboss.com/jira/browse/JBIDE-1077
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Seam, Plan
Affects Versions: 2.0.0.Beta4
Reporter: Denis Golovin
Assigned To: Alexey Kazakov
Priority: Critical
Fix For: 3.0.0.alpha
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira