Bug 127861 [DataBinding] Mark API provisional
bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/internal/databinding/beans/CopyOfJavaBeanUpdatableCollection.java
private IUpdatableValue objectUpdatable;
	
	/**
	 * @param object The collection object we're binding
	 * @param descriptor A java.beans.PropertyDescriptor
	 * @param elementType  The element data type (still needed?)
	 */
	public CopyOfJavaBeanUpdatableCollection(Object object,
			PropertyDescriptor descriptor, Class elementType) {
		this.descriptor = descriptor;
		this.elementType = elementType;
		
		
		IDataBindingContext dbc = DataBinding.createContext(new IUpdatableFactory[] {
				new JavaBeansScalarUpdatableValueFactory()
		});
		objectUpdatable = (IUpdatableValue) dbc.createUpdatable(new Property(object, descriptor.getName()));
		objectUpdatable.addChangeListener(changeListener);
	}
	
	private IChangeListener changeListener = new IChangeListener() {
		public void handleChange(ChangeEvent changeEvent) {
			if (!updating) {
				fireChangeEvent(changeEvent.getChangeType(), null,
						null, ChangeEvent.POSITION_UNKNOWN);
			}
		}
	};
	public void dispose() {
		super.dispose();