Bug 41589 [Properties View] Combo boxes in property sheets do not retain new values
Build: I20030813 It seems to be impossible to change the values of tracing options in a runtime workbench launch configuration. This was working last week, but doesn't work in yesterday's build. Steps: 1) Checkout org.eclipse.core.boot, org.eclipse.core.runtime, and org.apache.xerces 2) Setup target platform to include all plugins not in workspace 3) Create a runtime workbench launch configuration 4) Try to change tracing options in runtime plugin. After the cell editor closes, it reverts back to the old value.
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ComboBoxCellEditor.java
* @param value the zero-based index of the selection wrapped
 *   as an <code>Integer</code>
 */
protected void doSetValue(Object value) {
	Assert.isTrue(comboBox != null && (value instanceof Integer));
	selection = ((Integer) value).intValue();
	comboBox.select(selection);
}
/**
 * Updates the list of choices for the combo box for the current control.
 */
private void populateComboBoxItems() {
	if (comboBox != null && items != null) {
		comboBox.removeAll();
		for (int i = 0; i < items.length; i++)
			comboBox.add(items[i], i);
		setValueValid(true);
		selection = 0;
	}
}
/**
 * Applies the currently selected value and deactiavates the cell editor
 */
private void applyEditorValueAndDeactivate() {
	
	selection = comboBox.getSelectionIndex();
	Object newValue = doGetValue();
	markDirty();
	boolean isValid = isCorrect(newValue);
	setValueValid(isValid);