Bug 159940 [DataBinding] DataBindingContext shouldn't expose the bindings list as a mutable list
Currently in DataBindingContext getBindings() exposes the bindings observable list as a mutable observable list. I think we need to make this an unmodifiable list and also add a removeBinding(Binding binding) method to the API of DataBindingContext so that the DBC can remove itself from the binding when removed from the DBC. I'll create a patch soon.
bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/databinding/DataBindingContext.java
bindings, true);
	private ComputedValue validationError = new ComputedValue() {
		protected Object calculate() {
			int size = validationErrors.size();
			return size == 0 ? null : validationErrors.get(size - 1);
		}
	};
	private ObservableList validationErrors = new ValidationErrorList(bindings,
			false);
	private List childContexts = new ArrayList();
	/**
	 * 
	 */
	public DataBindingContext() {
	}
	/**
	 * @param parent
	 * 
	 */
	public DataBindingContext(DataBindingContext parent) {
		this.parent = parent;
		parent.addChild(this);
	}
	protected void addChild(DataBindingContext context) {
		childContexts.add(context);
	}
	/**
	 * Add a listener to the set of listeners that will be notified when an
	 * event occurs in the data flow pipeline that is managed by any binding
	 * created by this data binding context.