| Summary: | [ActionSets][Contributions] QuickMenuAction funtionality should be made public | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Kim Horne <eclipse> | ||||
| Component: | UI | Assignee: | Duong Nguyen <duongn> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | pwebster | ||||
| Version: | 3.1 | ||||||
| Target Milestone: | 3.3 M2 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 151711 | ||||||
| Attachments: |
|
||||||
Created attachment 49966 [details]
Patch against org.eclipse.ui.workbench
Patch that adds a QuickMenuCreator API class that clients can use to create context menus under the mouse cursor.
If there is no objection I would like to commit this. I have a working set fix that would benefit from this greatly. My concern would be that we're gonna toss menu creation mechanisms. Although, if it's in 3.3M2, we can still yank it if we don't like it for 3.3M3 Later, PW If we develop an alternate solution yanking it would be fine. I just want to make sure that the ability is there if other solutions fall through. (I'm taking your response as tacit approval ;) |
The QuickMenuAction class should be made public and usable by IWorkbenchWindowPulldownDelegate{2}. As it is you need to roll this functionality yourself in the run method of your delegate (and it is by no means straightforward).