int i = findIndex(defValue, values);
if (i >= 0) {
// no recursion, because this area only gets called again if i was < 0
setIndex(i);
} else {
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
if (list == null || list.isDisposed()) {
return;
}
if (useCombo) {
((Combo)list).deselectAll();
} else {
((List)list).deselectAll();
}
}
});
}
return;
}
String selected_value = values[index];
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
if (list == null || list.isDisposed()) {
return;
}