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
String newName = "Switzerland";
        for (int i = 0; i < newName.length(); i++) {
            text.setText(newName.substring(0, i + 1));
            
            assertEquals(newName.substring(0, i + 1), adventure.getName());
        }
        
        Event event = new Event();
        event.character = SWT.ESC;
        event.keyCode = 27;
        text.notifyListeners(SWT.KeyDown, event);
        assertEquals(adventure.getName(), originalName);
        
        newName = "Austria";
        for (int i = 0; i < newName.length(); i++) {
            text.setText(newName.substring(0, i + 1));
            
            assertEquals(newName.substring(0, i + 1), adventure.getName());
        }
        
        text.notifyListeners(SWT.FocusOut, null);
        
        text.notifyListeners(SWT.KeyDown, event);
        
        assertEquals(newName, adventure.getName());
    }
    /**
     * public void testScenario05(){ // Show that nesting of properties works.