[Wizard]: TableViewer selectionProvider inside a Wizard [message #656383] |
Fri, 25 February 2011 06:41  |
Eclipse User |
|
|
|
Hi guys,
I have A JFace Wizard which has a page with a tableViewer.
I need to select elements from the table so I have to make the selection available in the table.
If I was in a ViewPart, I would do:
getSite().setSelectionProvider(viewer);
I saw that in the Wizard I can't access to a WorkbenchPart to call the setSelectionProvide method.
I can't use the getSelection from the SWT table gotten from the viewer, but I need the object of my model (i.e. the IStructuredSelection from the viewer). The TableItem selected from the SWT Table is insufficiet.
Thank you in advance for any help
Gabriele
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03283 seconds