| Summary: | 'endof' option in locationURI for menuContributions behaves incorrectly | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Deepak Azad <deepakazad> | ||||
| Component: | UI | Assignee: | Dean Roberts <dean.t.roberts> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | daniel_megert, dean.t.roberts, prakash, pwebster, remy.suen | ||||
| Version: | 4.1 | ||||||
| Target Milestone: | 4.2 M6 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
org.eclipse.e4.ui.internal.workbench.ContributionsAnalyzer.getIndex(...) does not have support for 'endof'. A fix similar to the one for Bug 193600 should be applied. This needs to be implemented while processing the MMCs PW Fixed with commits http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=8728fda4812d057f219c4cb68b996b1380bf5b8d and the more correct isGroupMarker check http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=35dd54ca04c8806fe2963e04f8b71a1892a8637f |
Created attachment 179081 [details] screenshot build id: I20100915-2008 I add a command to the navigate menu using the 'endof' option like this... (in o.e.jdt.debug.ui/plugin.xml) <extension point="org.eclipse.ui.menus"> <menuContribution locationURI="menu:navigate?endof=open.ext"> <command commandId="org.eclipse.jdt.debug.ui.command.OpenFromClipboard" But the command shows up in an incorrect location (see attached screenshot). I expect it to be present at position '2' in the screenshot. This works correctly in 3.7