Bug 174555 [DataBinding] Run validation on binding construction
When a binding is created the assumption is that the UI is synchronized with the model. This means that the UI should reflect the state of the model's validity as well. In order to ensure that the UI reflects the model's validity the consumer needs to force a copy to model on instantiation of every binding. We need to remove this requirement.
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/internal/databinding/internal/ValueBindingTest_Policies.java
.setTargetUpdatePolicy(BindSpec.POLICY_EXPLICIT));
		binding.init(dbc);
		model.setValue("1");
		assertFalse(model.getValue().equals(target.getValue()));
		binding.updateTargetFromModel();
		assertEquals(model.getValue(), target.getValue());
	}
	public void testTargetUpdatePolicyNull() throws Exception {
		new ValueBinding(target, model, new BindSpec()
				.setTargetUpdatePolicy(null)).init(dbc);
		model.setValue("1");
		assertEquals("should be automatic", model.getValue(), target.getValue());
	}
	public void testTargetUpdatePolicyAutomatic() throws Exception {
		new ValueBinding(target, model, new BindSpec()
				.setTargetUpdatePolicy(BindSpec.POLICY_AUTOMATIC)).init(dbc);
		model.setValue("1");
		assertEquals("should be automatic", model.getValue(), target.getValue());
	}
	public void testTargetUpdatePolicyDefault() throws Exception {
		TrackLastListener listener = new TrackLastListener();
		listener.lastPosition = -1;
		
		ValueBinding binding = new ValueBinding(target, model,
				new BindSpec().setTargetUpdatePolicy(BindSpec.POLICY_EXPLICIT));
		binding.init(dbc);
		binding.addBindingEventListener(listener);
		model.setValue("1");
		assertFalse(model.getValue().equals(target.getValue()));
		assertEquals("last position should be PIPELINE_AFTER_CONVERT",