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

Bug 374147

Summary: New API for custom controls to know if context menu was requested from mouse or keyboard
Product: [Eclipse Project] Platform Reporter: Carolyn MacLeod <carolynmacleod4>
Component: SWTAssignee: Carolyn MacLeod <carolynmacleod4>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Silenio_Quarti
Version: 4.2   
Target Milestone: 4.2 M6   
Hardware: All   
OS: All   
Whiteboard:

Description Carolyn MacLeod CLA 2012-03-13 17:11:52 EDT
Need new API to tell custom controls whether a menu detect event came from the mouse or the keyboard. If the menu detect came from the keyboard (for example, the user typed shift+F10) then the custom control should set the context menu's location based on the current selection or selected item.
This is part of the fix for bug 110005.