XWT + TableViewer + Retrieve Table Data [message #565587] |
Tue, 08 December 2009 21:15 |
Eclipse User |
|
|
|
Have used XWT.open to show a Collection in a TableViewer.
When the user clicks on a menu item, I need to have access to the data to persist.
What is the best way to achieve this ?
Thanks
- Walter.
|
|
|
Re: XWT + TableViewer + Retrieve Table Data [message #565648 is a reply to message #565587] |
Tue, 08 December 2009 11:48  |
Eclipse User |
|
|
|
You can give a name to the TableViewer, and use
XWT.findElementByName(context, "<name>") and then you can get the collection
by calling getInput().
Best regards
Yves YANG
"Walter" <kwchess@gmail.com> wrote in message
news:hfn181$8sp$1@build.eclipse.org...
> Have used XWT.open to show a Collection in a TableViewer.
> When the user clicks on a menu item, I need to have access to the data to
> persist.
> What is the best way to achieve this ?
>
> Thanks
> - Walter.
>
|
|
|
Powered by
FUDForum. Page generated in 0.27607 seconds