Summary: | [consistency] SWT.CHECK Table Selection events inconsistent | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Grant Gayed <grant_gayed> |
Component: | SWT | Assignee: | Grant Gayed <grant_gayed> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.2 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Whiteboard: |
Description
Grant Gayed
2005-08-09 11:00:48 EDT
my mistake, motif seems to be the only platform that doesn't do this, changing title and OS fields accordingly (3.3) Changing title and attaching updated snippet. Having two items that are multi-selectable reveals more inconsistencies. public static void main(String[] args) { Display display = new Display (); Shell shell = new Shell (display); shell.setBounds (10,10,200,200); Table table = new Table (shell, SWT.CHECK | SWT.MULTI); table.setBounds (10,10,150,100); new TableItem (table, SWT.NONE).setText ("item"); new TableItem (table, SWT.NONE).setText ("item2"); shell.open (); table.addListener(SWT.Selection, new Listener() { public void handleEvent (Event e) { System.out.println("selection: " + e.toString()); } }); while (!shell.isDisposed ()){ if (!display.readAndDispatch ())display.sleep (); } display.dispose (); } This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. |