Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 157072

Summary: [ActionSets][Contributions] QuickMenuAction funtionality should be made public
Product: [Eclipse Project] Platform Reporter: Kim Horne <eclipse>
Component: UIAssignee: 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:
Description Flags
Patch against org.eclipse.ui.workbench none

Description Kim Horne CLA 2006-09-12 14:04:52 EDT
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).
Comment 1 Kim Horne CLA 2006-09-12 14:37:39 EDT
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.
Comment 2 Kim Horne CLA 2006-09-12 14:38:56 EDT
If there is no objection I would like to commit this.  I have a working set fix that would benefit from this greatly.  
Comment 3 Paul Webster CLA 2006-09-12 15:41:59 EDT
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
Comment 4 Kim Horne CLA 2006-09-12 15:58:22 EDT
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 ;)