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/internal/databinding/internal/viewers/SelectionProviderSingleSelectionObservableValueTest.java
* @see junit.framework.TestCase#setUp()
     */
    protected void setUp() throws Exception {
        Shell shell = new Shell();
        viewer = new TableViewer(shell, SWT.NONE);
        viewer.setContentProvider(new ContentProvider());
        viewer.setInput(model);
        selectionProvider = viewer;
    }
    /*
     * (non-Javadoc)
     * 
     * @see junit.framework.TestCase#tearDown()
     */
    protected void tearDown() throws Exception {
        Shell shell = viewer.getTable().getShell();
        if (!shell.isDisposed())
            shell.dispose();
    }
    public void testConstructorIllegalArgumentException() {
        try {
            new SelectionProviderSingleSelectionObservableValue(SWTObservables.getRealm(Display.getDefault()), null);
            fail();
        } catch (IllegalArgumentException e) {
        }
    }
    /**
     * Asserts that when a selection is set on the viewer:
     * <ul>
     * <li>the selection is available in the observable</li>