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
}
			});
		} finally {
			updatingTarget = false;
		}
	}
	public IObservableValue getValidationStatus() {
		return validationErrorObservable;
	}
	public IObservableValue getPartialValidationStatus() {
		return partialValidationErrorObservable;
	}
	/**
	 * Can be called from any thread/realm.
	 */
	public void updateModelFromTarget() {
		target.getRealm().exec(new Runnable() {
			public void run() {
				final ValueDiff valueDiff = Diffs.createValueDiff(target
						.getValue(), target.getValue());
				model.getRealm().exec(new Runnable() {
					public void run() {
						doUpdateModelFromTarget(valueDiff);
					}
				});
			}
		});
	}
}