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
} else {
                    return Status.OK_STATUS;
                }
            }
        };
        BdSpec bdSpec = new DefaultBdSpec().setModelToTargetConverter(new IdentityConverter(Strg.class))
                .setTargetToModelConverter(new IdentityConverter(Strg.class))
                .setPartialTargetValidator(validator);
        getDbc().bdValue(SWTObservables.observeText(text, SWT.Modify),
                BeansObservables.observeValue(adventure, "name"),
                bdSpec);
        // 
        assertTrue(((IStatus)getDbc().getPartialValidationStatus().getValue()).isOK());
        enterText(text, "Invalid Value");
        assertEquals(noSpacesMessage, ((IStatus) getDbc().getPartialValidationStatus().getValue()).getMessage());
        assertEquals("ValidValue", text.getText());
        text.setText("InvalidValueBecauseTooLong");
        assertEquals(max15CharactersMessage,
                ((IStatus) getDbc().getPartialValidationStatus().getValue()).getMessage());
        assertEquals("ValidValue", text.getText());
        enterText(text, "anothervalid");
        assertTrue(((IStatus)getDbc().getPartialValidationStatus().getValue()).isOK());
        assertEquals("anothervalid", text.getText());
        assertEquals("anothervalid", adventure.getName());
    }
    public void testScenario07() {
        // 
        // 
        // 
        Text text = new Text(getComposite(), SWT.BORDER);