Grid: GridViewer selection service does not support cell selection [message #591710] |
Tue, 12 August 2008 18:33 |
David Kyle Messages: 125 Registered: July 2009 |
Senior Member |
|
|
I'm using GridViewer in Eclipse 3.3.
viewer = new GridTableViewer(aParent, SWT.BORDER | SWT.V_SCROLL |
SWT.H_SCROLL);
viewer.getGrid().setCellSelectionEnabled(true);
getSite().setSelectionProvider(viewer);
I can select various combinations of cells.
The problem is when I access the selection via the selection service I see a
list of the rows selected but there is no information about which cell(s)
have been selected. Do I need to implement my own
StructuredViewer.getSelectionFromWidget() to return only cells values or
have I completely misunderstood how gridviewer and the selection service
works?
Thanks,
David Kyle
|
|
|
Powered by
FUDForum. Page generated in 0.02755 seconds