1 11 12 package org.eclipse.jface.internal.databinding.provisional.observable.mapping; 13 14 15 import org.eclipse.jface.internal.databinding.provisional.observable.ObservableTracker; 16 17 21 public abstract class AbstractObservableMultiMapping extends BaseObservableMapping 22 implements IObservableMultiMapping { 23 24 final public Object [] getMappingValues(Object element, int[] indices) { 25 ObservableTracker.getterCalled(this); 26 return doGetMappingValues(element, indices); 27 } 28 29 public void setMappingValues(Object element, int[] indices, Object [] values) { 30 throw new UnsupportedOperationException (); 31 } 32 33 37 abstract protected Object [] doGetMappingValues(Object element, int[] indices); 38 39 public boolean isStale() { 40 return false; 41 } 42 43 public void dispose() { 44 mappingChangeListeners = null; 45 super.dispose(); 46 } 47 } 48 | Popular Tags |