Summary: | provide better way to identify tree or table column in certain event like SWT.MenuDetect | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Espinosa CZ <espinosa_cz> | ||||
Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||
Status: | NEW --- | QA Contact: | |||||
Severity: | enhancement | ||||||
Priority: | P3 | CC: | espinosa_cz, lshanmug | ||||
Version: | 4.6 | ||||||
Target Milestone: | --- | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Espinosa CZ
2017-05-05 14:25:43 EDT
Created attachment 268904 [details] modified Snippet311 There is no direct way to identify the column in the SWT.MenuDetect event. http://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet311.java shows a way to identify MenuDetect event in Table header using the event co-ordinates. I've attached the modified version of the snippet which also identifies the column index in the MenuDetect event. It has been tested on Mac. |