Bug 167450 [DataBinding] Get rid of bind support factory magic
I finally realized that we don't need that other magic factory. I'll move fillBindSpecDefaults() and the methods it calls (createConverter, createValidator etc) to a new class DefaultBindSpec. Clients who want default validators and converters created for them just create a DefaultBindSpec as opposed to a (rather empty) BindSpec. I will also move the early type checking into DefaultBindSpec to make it optional as well.
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/scenarios/PropertyScenarios.java
enterText(text, "jygt");
        assertEquals(mustBeCurrencyMessage, ((IStatus) getDbc().getValidationStatus().getValue()).getMessage());
        enterText(text, "-$23.9");
        assertEquals(cannotBeNegativeMessage, ((IStatus) getDbc().getValidationStatus().getValue()).getMessage());
        assertEquals(42.24, adventure.getPrice(), 0.0001);
        adventure.setPrice(0.0);
        assertTrue(((IStatus)getDbc().getValidationStatus().getValue()).isOK());
    }
    public void testScenario09() {
        // B
        // B
        Button checkbox = new Button(getComposite(), SWT.CHECK);
        // check
        // check
        adventure.setPetsAllowed(true);
        getDbc().bdValue(SWTObservables.observeSelection(checkbox),
                BeansObservables.observeValue(adventure, "petsAllowed"),
                null);
        assertEquals(true, checkbox.getSelection());
        setButtonSelectionWithEvents(checkbox, false);
        assertEquals(false, adventure.isPetsAllowed());
        adventure.setPetsAllowed(true);
        assertEquals(true, checkbox.getSelection());
    }
    public void testScenario10() {
        // Bdi
        // forma
        // prope
        // and a
        // TODO fail("not implemented");