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
import org.eclipse.core.databdg.beans.BeansObservables;
import org.eclipse.core.databdg.conversion.Converter;
import org.eclipse.core.databdg.conversion.IConverter;
import org.eclipse.core.databdg.conversion.IdentityConverter;
import org.eclipse.core.databdg.observable.IChangeListener;
import org.eclipse.core.databdg.observable.IObservable;
import org.eclipse.core.databdg.observable.value.IObservableValue;
import org.eclipse.core.databdg.validation.IValidator;
import org.eclipse.core.databdg.validation.ValidationStatus;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.jface.databdg.swt.SWTObservables;
import org.eclipse.jface.examples.databdg.model.Account;
import org.eclipse.jface.examples.databdg.model.Adventure;
import org.eclipse.jface.examples.databdg.model.Cart;
import org.eclipse.jface.examples.databdg.model.SampleData;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.FocusEvent;
import org.eclipse.swt.events.FocusListener;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.Spner;
import org.eclipse.swt.widgets.Text;
/**
 * To run the tests  this class, right-click and select "Run As JUnit Plug-
 * Test". This will also start an Eclipse stance. To clean up the launch
 * configuration, open up its "Ma" tab and select "[No Application] - Headless
 * Mode" as the application to run.
 */
public class PropertyScenarios extends ScenariosTestCase {