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.
bundles/org.eclipse.core.databinding/src/org/eclipse/core/internal/databinding/ListBinding.java
import org.eclipse.core.databinding.observable.value.WritableValue;
import org.eclipse.core.databinding.validation.IValidator;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
/**
 * 
 */
public class ListBinding extends Binding {
	private boolean updating = false;
	private IObservableList modelList;
	private final IObservableList targetList;
	private Map targetValidators = new HashMap();
	private Map modelValidators = new HashMap();
	/**
	 * Positions that validation will be performed.
	 */
	private static final Integer[] VALIDATION_POSITIONS = new Integer[] {
			new Integer(BindingEvent.PIPELINE_AFTER_GET),
			new Integer(BindingEvent.PIPELINE_BEFORE_CHANGE) };
	/**
	 * @param targetList
	 * @param modelList
	 * @param bindSpec
	 */
	public ListBinding(IObservableList targetList,
			IObservableList modelList, BindSpec bindSpec) {
		super(targetList, modelList);
		
		this.targetList = targetList;
		this.modelList = modelList;