getIndex from combo URGENT [message #11611] |
Fri, 23 March 2007 11:12 |
Eclipse User |
|
|
|
Originally posted by: rhernandez_64.hotmail.com
I have a table persons with person_id and person__name how populate a
combo box with this and how get the person_id and person_name from combo
|
|
|
Re: getIndex from combo URGENT [message #11754 is a reply to message #11611] |
Fri, 23 March 2007 20:30 |
Eclipse User |
|
|
|
Originally posted by: jkrause.innoopract.com
Hi Rafael,
In CVS in the org.eclipse.rap.jface project you will find a new class
ComboViewer. You can use it just like a ListViewer and populate it with
arbitrary objects. Use a LabelProvider for displaying the content and
the getSelection method of the viewer to retrieve the selected object.
Jochen
Rafael Hernandez wrote:
> I have a table persons with person_id and person__name how populate a
> combo box with this and how get the person_id and person_name from combo
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03288 seconds