| Summary: | org.eclipse.wst.sse.ui adds invalid popup menu to all java elements | ||
|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | Raheel Ashraf <rashraf> |
| Component: | wst.sse | Assignee: | Nick Sandonato <nsand.dev> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Nitin Dahyabhai <thatnitind> |
| Severity: | normal | ||
| Priority: | P3 | CC: | for.work.things |
| Version: | unspecified | ||
| Target Milestone: | 3.0 M7 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
This should already be fixed in a recent WTP 3.0 M7 build. See: bug 226197 bug 228065 *** This bug has been marked as a duplicate of bug 226197 *** |
Build ID: I20080330-1350 Steps To Reproduce: org.eclipse.wst.sse.ui uses the org.eclipse.ui.menus extension point. However one of the declaration looks like: <menuContribution locationURI="popup:org.eclipse.ui.popup.any?after=additions"> <menu id="sourceMenuId" label="%Source"> <command commandId="org.eclipse.wst.sse.ui.format" id="sourceFormat" style="push"> <visibleWhen checkEnabled="false"> <or> <iterate> <adapt type="org.eclipse.core.resources.IContainer"> </adapt> </iterate> <iterate> <adapt type="org.eclipse.core.resources.IFile"> </adapt> </iterate> </or> </visibleWhen> </command> </menu> </menuContribution> this is invalid since this is added to all views where the underlying object is IContainer or IFile. I have a view where it displays the reports and this entry is showing up in my context menu More information: