[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] ComboBoxCellEditor and dynamic values

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