Bug 374147 - New API for custom controls to know if context menu was requested from mouse or keyboard
Summary: New API for custom controls to know if context menu was requested from mouse ...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.2 M6   Edit
Assignee: Carolyn MacLeod CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-13 17:11 EDT by Carolyn MacLeod CLA
Modified: 2012-03-13 17:16 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.