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/internal/databinding/internal/ValueBindingTest.java
}
	}
    
    public void testValuePropagation() throws Exception {
        DefaultBindSpec spec = new DefaultBindSpec();
        String initialValue = "value";
        
        WritableValue target = new WritableValue(String.class);
        WritableValue model = new WritableValue(String.class, initialValue);
        
        DataBindingContext dbc = new DataBindingContext();
        dbc.fillBindSpecDefaults(dbc, spec, target.getValueType(), model.getValueType());
        
        assertFalse(model.getValue().equals(target.getValue()));
        new ValueBinding(dbc, target, model, spec);
        
        assertEquals(target.getValue(), model.getValue());
    }
    
    public void testBindingListeners() {
        final int[] calls = new int[] { 0, 0 };
        
        
        
        
        
        
        
        
        final int[] pipelinePositions = new int[] { 0, 1, 2, 3, 4, 0, 2, 4, 1,