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
public void handleValueChange(IObservableValue source,
				final ValueDiff diff) {
			if (updatingModel)
				return;
			
			model.getRealm().exec(new Runnable() {
				public void run() {
					doUpdateTargetFromModel(diff);
				}
			});
		}
	};
	/**
	 * This also does validation.
	 * 
	 * @param diff
	 * 
	 * @param changeEvent
	 *            TODO
	 */
	private void doUpdateModelFromTarget(ValueDiff diff) {
		Assert.isTrue(model.getRealm().isCurrent());
		BindingEvent e = new BindingEvent(model, target, diff,
				BindingEvent.EVENT_COPY_TO_MODEL,
				BindingEvent.PIPELINE_AFTER_GET) {
		};
		e.originalValue = diff.getNewValue();
		if (failure(errMsg(fireBindingEvent(e)))) {
			return;
		}