tags:

views:

302

answers:

0

This is using SWT, jface and eclipse 3.4.

I've set up a tableviewer with EditingSupport, and a ComboBoxCellEditor.
When I change the selection in the combobox and then click outside the combobox to deselect it, that's when it calls setValue in the EditingSupport.

However, I have this setup in a Dialog, and if I change the selection in the combobox and then click the OK button in the dialog, the window will close and setValue will never be called.

It might have something to do with the dialog disposing all controls before they trigger properly.

Anyone's had similar problems to this? Is there a way to perhaps have the ComboBoxCellEditor call setValue on every selection change, even though that's not consistent to how the native implementation does it?