| Summary: | Attempt to put my Step menu with Step/Return has side-effect of changing Eclipse's Step/Return position in menu | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Marcio <mqm> | ||||
| Component: | Debug | Assignee: | Platform-Debug-Inbox <platform-debug-inbox> | ||||
| Status: | RESOLVED WORKSFORME | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | n.a.edgar, simon_arsenault | ||||
| Version: | 2.1 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Marcio
Created attachment 4707 [details]
Plugin that illustrates the problem
Run and see the Step/special menu under Run in the debug perspective, and how
Step/Return is with it.
The stepReturnGroup is defined as a groupMarker in the plugin.xml for the Debug UI plugin. This seems wrong to me as well. Nick can you comment on what we are seeing? Thanks. I'd be interested to know what I need to change in my plugin to make my Step appear together with Step/Return, without this bad side-effect. Thanks in advance. Action sets are processed in the order of action set ids. So the action set with id="com.sglebs.SglebsActionSet" is processed before "org.eclipse.debug.ui.debugActionSet", and ends up implicitly adding the "stepReturnGroup" group first. The only workaround is to change your action set id to be greater than Debug's. CC'ing Simon for confirmation. Nick's comment is correct. Marcio, you will have to change your action set id as indicated by the UI committers. Thanks Darin (and the others). I have to say this fix (workaround) feels like a hack to me as a plug-in provider though. The definition of groups should respect the plug-in pre-req chain, and not the alphabetical ordering of ids. Sigh. Oh well... Thanks anyway. Marcio, You can always log your last comment as a enhancement against platform ui. |