| Summary: | [Compatibility] <dynamic> org.eclipse.ui.menus contributions to text editors appears to be ignored | ||
|---|---|---|---|
| Product: | [Eclipse Project] e4 | Reporter: | Remy Suen <remy.suen> |
| Component: | UI | Assignee: | Project Inbox <e4.ui-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | pwebster |
| Version: | 1.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Looks like it may be because MenuAdditionCacheEntry's addMenuChildren(*) method doesn't consider <dynamic> elements. Actually, based on bug 332240, it feels like you'll appear if you're nested within a <menu> but won't if you're not? See also bug 329439 for the targeted view case. The snippet seems to be working now. |
The snippet below does not work on 4.1. <extension point="org.eclipse.ui.menus"> <menuContribution locationURI="popup:#TextEditorContext?after=additions"> <dynamic class="b.items.CCIImpl" id="b.items.cci"> </dynamic> </menuContribution> </extension>