Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » XWT + TableViewer + Retrieve Table Data
XWT + TableViewer + Retrieve Table Data [message #565587] Tue, 08 December 2009 21:15
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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.
>
Previous Topic:XWT + CDO + Refresh
Next Topic:XWT + TableViewer + Handler + open vs load Behaviour
Goto Forum:
  


Current Time: Sat Jul 12 23:34:09 EDT 2025

Powered by FUDForum. Page generated in 0.27607 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top