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.observable/src/org/eclipse/core/databinding/observable/list/ObservableList.java
getterCalled();
		final ListIterator wrappedIterator = wrappedList.listIterator(index);
		return new ListIterator() {
			public int nextIndex() {
				return wrappedIterator.nextIndex();
			}
			public int previousIndex() {
				return wrappedIterator.previousIndex();
			}
			public void remove() {
				throw new UnsupportedOperationException();
			}
			public boolean hasNext() {
				return wrappedIterator.hasNext();
			}
			public boolean hasPrevious() {
				return wrappedIterator.hasPrevious();
			}
			public Object next() {
				return wrappedIterator.next();
			}
			public Object previous() {
				return wrappedIterator.previous();
			}
			public void add(Object o) {
				throw new UnsupportedOperationException();
			}
			public void set(Object o) {
				throw new UnsupportedOperationException();
			}