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
int count;
        public void handleValueChange(IObservableValue source, ValueDiff diff) {
            count++;
        }
    }
    /**
     * {@link IListChangeListener} implementation that counts the times
     * handleListChange(...) is invoked.
     * 
     */
    private static class ListChangeCounter implements IListChangeListener {
        int count;
        public void handleListChange(IObservableList source, ListDiff diff) {
            count++;
        }
    }
	
	
	
	
	
	public class MockObservableFactory implements IObservableFactory {