Bug 147530 [DataBinding] Provide event objects for change listeners
Before data binding goes 1.0 it would be wise to provide EventObjects for the following listeners to ensure that the API doesn't preclude future expansion of the values supplied to listeners. Interfaces that would be affected: * IValueChangeListener * IValueChangingListener * IListChangeListener * ISetChangeListener * IMappingChangeListener
bundles/org.eclipse.core.databinding/src/org/eclipse/core/internal/databinding/ValueBinding.java
validationErrorObservable.setValue(error);
		} finally {
			updatingModel = false;
		}
	}
	/**
	 * @param convertedValue
	 * @return String
	 */
	private IStatus doDomainValidation(Object convertedValue) {
		if (domainValidator == null) {
			return Status.OK_STATUS;
		}
		IStatus validationStatus = domainValidator.validate(convertedValue);
		return errMsg(validationStatus);
	}
	private IStatus doValidate(Object value) {
		if (targetValidator == null)
			return Status.OK_STATUS;
		IStatus validationStatus = targetValidator.validate(value);
		return errMsg(validationStatus);
	}
	private IStatus errMsg(final IStatus validationStatus) {
		Assert.isTrue(partialValidationErrorObservable.getRealm().equals(
				validationErrorObservable.getRealm()));
		partialValidationErrorObservable.getRealm().exec(new Runnable() {
			public void run() {
				partialValidationErrorObservable.setValue(Status.OK_STATUS);
				validationErrorObservable.setValue(validationStatus);
			}