Currently, WB does not offer any way to manipulate the properties of CellEditors
created in initDataBindings()
The only way around this at the moment, would be to add your own method (e.g., postInitBindings()
) and call it after initDataBindings()
. You could reference the BindingContext
and do anything you wanted at that point.
If all you want to do is make the CellEditor
read-only, you can make that change directly in initDataBindings()
, and it will be preserved the next time that method is written.
- Code: Select all
final CellEditor cellEditor_1 = new ComboBoxCellEditor(tvProperties.getTable(), new String, SWT.READ_ONLY);