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.
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/DatabindingContextTest.java
}
	public void testCreateNestedObservableWithPrototypeClassAndInvalidPath() {
		String parentObject = "";
		NestedProperty nestedProperty = new NestedProperty(parentObject,
				"nestedChild1.nestedChild3.foo", NestedParent.class);
		try {
			DataBindingContext ctx = new DataBindingContext();
			ctx.addObservableFactory(new MockObservableFactory());
			ctx.addObservableFactory(new NestedObservableFactory(ctx));
			ctx.createObservable(nestedProperty);