Bug 127861 [DataBinding] Mark API provisional
bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/internal/databinding/swt/ComboUpdatableCollection.java
public Object getSelectedObject() {
		SyncRunnable runnable = new SyncRunnable() {
			public Object run() {
				int index = combo.getSelectionIndex();
				if (index > -1) {
					return combo.getItem(index);
				}
				return null;
			}
		};
		return runnable.runOn(combo.getDisplay());
	}
	public void setSelectedObject(final Object object) {
		SyncRunnable runnable = new SyncRunnable() {
			public Object run() {
				if (object == null) {
					combo.deselectAll();
				} else {
					int index = combo.indexOf((String) object);
					if (index != -1) {
						combo.select(index);
					}
				}
				return null;
			}
		};
		runnable.runOn(combo.getDisplay());
	}
}