Bug 127861 [DataBinding] Mark API provisional
bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/databinding/updatables/SettableList.java
private final List list;
	private final Class elementType;
	
	/**
	 * A java.util.List updatable collection that can be instantiated directly.
	 * 
	 * @param list The list to wrap.
	 * @param elementType The type of elements inside the list.
	 */
	public SettableList(List list, Class elementType) {
		this.list = list;
		this.elementType = elementType;
	}
	/* (non-Javadoc)
	 * @see org.eclipse.jface.databinding.UpdatableCollection#getSize()
	 */
	public int computeSize() {
		return list.size();
	}
	/* (non-Javadoc)
	 * @see org.eclipse.jface.databinding.UpdatableCollection#addElement(java.lang.Object, int)
	 */
	public int addElement(Object value, int index) {
		list.add(index, value);
		fireChangeEvent(ChangeEvent.ADD, null, value, index);