Bug 147530 [DataBinding] Provide event objects for change listeners
Before data binding goes 1.0 it would be wise to provide EventObjects for the following listeners to ensure that the API doesn't preclude future expansion of the values supplied to listeners. Interfaces that would be affected: * IValueChangeListener * IValueChangingListener * IListChangeListener * ISetChangeListener * IMappingChangeListener
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/scenarios/PropertyScenarios.java
}
    public void testScenario11() {
        // Bdi
        Spner spner1 = new Spner(getComposite(), SWT.NONE);
        spner1.setSelection(10);
        spner1.setMimum(1);
        spner1.setMaximum(100);
        Spner spner2 = new Spner(getComposite(), SWT.NONE);
        spner2.setMaximum(1);
        getDbc().bdValue(SWTObservables.observeSelection(spner1), SWTObservables.observeMax(spner2), null);
        assertEquals(1, spner1.getSelection());
        spner1.setSelection(10);
        spner1.notifyListeners(SWT.Modify, new Event());
        assertEquals(10, spner2.getMaximum());
    }
    public void testScenario12() {
        // Bdi
        // There 
        // other 
        Button checkbox1 = new Button(getComposite(), SWT.CHECK);
        checkbox1.setSelection(false);
        Button checkbox2 = new Button(getComposite(), SWT.CHECK);
        checkbox2.setSelection(false);
        Text text1 = new Text(getComposite(), SWT.NONE);
        Text text2 = new Text(getComposite(), SWT.NONE);
        IObservableValue checkbox1Selected = SWTObservables.observeSelection(checkbox1);
        IObservableValue checkbox2Selected = SWTObservables.observeSelection(checkbox2);
        // bd 
        // and v
        Converter negatgConverter = new Converter(boolean.class, boolean.class) {