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
import org.eclipse.jface.databinding.swt.SWTObservables;
import org.eclipse.swt.widgets.Display;
/**
 * @since 3.2
 * 
 */
public class ValueBindingTest extends TestCase {
    /* (non-Javadoc)
     * @see junit.framework.TestCase#setUp()
     */
    protected void setUp() throws Exception {
        super.setUp();
        
        Realm.setDefault(SWTObservables.getRealm(Display.getDefault()));
    }
    
	/**
	 * Bug 152543.
	 * 
	 * @throws Exception
	 */
	public void testNoUpdateTargetFromModel() throws Exception {
		DefaultBindSpec spec = new DefaultBindSpec();
		spec.setUpdateModel(false);
		spec.setUpdateTarget(false);
		try {
			new ValueBinding(new DataBindingContext(),
					new ObservableValueStub(), new ObservableValueStub(), spec);
		} catch (Exception e) {
			fail();