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/databinding/observable/tree/AbstractObservableTree.java
}
	public void setChildren(TreePath parentPath, Object[] children) {
		throw new UnsupportedOperationException();
	}
	public void updateChildren(IChildrenUpdate update) {
		TreePath parent = update.getParent();
		Object[] children = getChildren(parent);
		for (int i = 0; i < update.getLength(); i++) {
			int targetIndex = update.getOffset() + i;
			if (targetIndex < children.length) {
				update.setChild(children[targetIndex], targetIndex);
			} else {
				update
						.setStatus(new Status(
								IStatus.WARNING,
								Policy.JFACE_DATABINDING, 
								IStatus.OK,
								BindingMessages
										.getString(BindingMessages.INDEX_OUT_OF_RANGE), 
										null));
			}
		}
		update.done();
	}
	public void updateChildrenCount(IChildrenCountUpdate update) {
		TreePath[] parents = update.getParents();
		for (int i = 0; i < parents.length; i++) {
			update.setChildCount(parents[i], getChildCount(parents[i]));
		}
		update.done();