Bug 127861 [DataBinding] Mark API provisional
bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/databinding/UpdatableCollection.java
}
	
	/* (non-Javadoc)
	 * @see org.eclipse.jface.databinding.IUpdatableCollection#getElement(int)
	 */
	protected abstract Object computeElement(int index);
	/* (non-Javadoc)
	 * @see org.eclipse.jface.databinding.IUpdatableCollection#getElementType()
	 */
	public abstract Class getElementType();
	public List getElements() {
		List elements = new ArrayList();
		for (int i = 0; i < getSize(); i++) {
			elements.add(getElement(i));
		}
		return elements;
	}
	public void setElements(List elements) {
		while (getSize() > 0) {
			removeElement(0);
		}
		
		for (int i = 0; i < elements.size(); i++) {
			addElement(elements.get(i), i);
		}
	}
	
	
}