Bug 127861 [DataBinding] Mark API provisional
bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/internal/databinding/swt/ListUpdatableCollection.java
public void setElement(int index, Object value) {
		String old = list.getItem(index);
		list.setItem(index, (String)value);
		fireChangeEvent(ChangeEvent.CHANGE, old, value, index);
	}
	public Object computeElement(int index) {
		return list.getItem(index);
	}
	public Class getElementType() {
		return String.class;
	}
	public Object getSelectedObject() {
		if (list.getSelectionCount() > 0) {
			return list.getSelection()[0];
		} 
		return null;
	}
	public void setSelectedObject(Object object) {
		if (object == null) {
			list.setSelection(-1);
		} else {
			int index = list.indexOf((String) object);
			if (index > -1) {
				list.setSelection(index);
			}
		}
	}
	
}