Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » ComboBoxCellEditor and dynamic values
ComboBoxCellEditor and dynamic values [message #456906] Mon, 13 June 2005 02:38
Mike Wille is currently offline Mike WilleFriend
Messages: 2
Registered: July 2009
Junior Member
Hello,

I am working on an application that is using a table with columns that
can be edited. There are two columns that are using ComboBoxCellEditor
to edit the data. Both of these ComboBoxCellEditors use lists that are
populated after the table is setup. I could, potentially, read one of
the lists before the table is created. But the second list is derived
off of the first list (i.e., it is is a key into another table).

So my question is:

How do you populate the list items of a ComboBoxCellEditor after it has
been created?

I've tried delaying the creation of the cell editors until all list data
is known. That didn't work.

I've also tried using ComboBoxCellEditor.setItems(String[]) but the list
doesn't seem to be affected by the call.

Thanks for any help!!

Regards,

Mike Wille
Previous Topic:Conflict between SWT and JDBC in Eclipse
Next Topic:Conversion: from "Image" to "File"
Goto Forum:
  


Current Time: Wed Sep 25 00:50:17 GMT 2024

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

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

Back to the top