| Summary: | org.eclipse.wst.xml.ui adds invalid popup menu to all java elements | ||
|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | Raheel Ashraf <rashraf> |
| Component: | wst.xml | 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.xml.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="generateMenuId" label="%genMenuLabel"> <command commandId="org.eclipse.wst.sse.ui.generate.xml" id="GenerateXML" style="push"> <visibleWhen checkEnabled="false"> <or> <iterate> <adapt type="org.eclipse.core.resources.IFile"> <test property="org.eclipse.core.resources.contentTypeId" value="org.eclipse.wst.xsd.core.xsdsource"> </test> </adapt> </iterate> <iterate> <adapt type="org.eclipse.core.resources.IFile"> <test property="org.eclipse.core.resources.contentTypeId" value="org.eclipse.wst.dtd.core.dtdsource"> </test> </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: