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/TextControlScenario.java
Event event = new Event();
        event.character = SWT.ESC;
        event.keyCode = 27;
        text.notifyListeners(SWT.KeyDown, event);
        
        assertEquals(currentText, text.getText());
        
        assertEquals(adventure.getName(), currentText);
        
        currentText = "Austria";
        text.setText(currentText);
        text.notifyListeners(SWT.FocusOut, null);
        assertEquals(text.getText(), adventure.getName());
        
        text.setText("Turkey");
        
        text.notifyListeners(SWT.KeyDown, event);
        
        
        assertEquals(currentText, text.getText());
    }
    public void testScenario04() {
        
        
        
        
        getDbc().bindValue(SWTObservables.observeText(text, SWT.Modify),
                BeansObservables.observeValue(adventure, "name"),
                null);
        String originalName = adventure.getName();