Uses of Class
org.eclipse.core.databinding.observable.map.MapDiff
Packages that use MapDiff
Package
Description
Provides the core APIs for observing changes in objects.
Provides classes that can be used to observe changes in maps.
-
Uses of MapDiff in org.eclipse.core.databinding.observable
Methods in org.eclipse.core.databinding.observable that return MapDiffModifier and TypeMethodDescriptionstatic <K,V> MapDiff <K, V> Diffs.computeLazyMapDiff(Map<? extends K, ? extends V> oldMap, Map<? extends K, ? extends V> newMap) Returns a lazily computedMapDiffdescribing the change between the specified old and new map states.static <K,V> MapDiff <K, V> Diffs.computeMapDiff(Map<? extends K, ? extends V> oldMap, Map<? extends K, ? extends V> newMap) Returns aMapDiffdescribing the change between the specified old and new map states.static <K,V> MapDiff <K, V> Diffs.createMapDiff(Set<? extends K> addedKeys, Set<? extends K> removedKeys, Set<? extends K> changedKeys, Map<? extends K, ? extends V> oldValues, Map<? extends K, ? extends V> newValues) static <K,V> MapDiff <K, V> Diffs.createMapDiffRemoveAll(Map<K, V> copyOfOldMap) static <K,V> MapDiff <K, V> Diffs.createMapDiffSingleAdd(K addedKey, V newValue) Creates a MapDiff representing the addition of a single added keystatic <K,V> MapDiff <K, V> Diffs.createMapDiffSingleChange(K existingKey, V oldValue, V newValue) static <K,V> MapDiff <K, V> Diffs.createMapDiffSingleRemove(K removedKey, V oldValue) static <K,V> MapDiff <K, V> Diffs.unmodifiableDiff(MapDiff<? extends K, ? extends V> diff) Returns an unmodifiable wrapper on top of the given diff.Methods in org.eclipse.core.databinding.observable with parameters of type MapDiffModifier and TypeMethodDescriptionstatic <K,V> MapDiff <K, V> Diffs.unmodifiableDiff(MapDiff<? extends K, ? extends V> diff) Returns an unmodifiable wrapper on top of the given diff. -
Uses of MapDiff in org.eclipse.core.databinding.observable.map
Fields in org.eclipse.core.databinding.observable.map declared as MapDiffModifier and TypeFieldDescriptionMapChangeEvent.diffDescription of the change to the source observable map.Methods in org.eclipse.core.databinding.observable.map with parameters of type MapDiffModifier and TypeMethodDescriptionprotected voidAbstractObservableMap.fireMapChange(MapDiff<K, V> diff) Fires map change events.protected voidDecoratingObservableMap.fireMapChange(MapDiff<K, V> diff) protected voidObservableMap.fireMapChange(MapDiff<K, V> diff) Constructors in org.eclipse.core.databinding.observable.map with parameters of type MapDiffModifierConstructorDescriptionMapChangeEvent(IObservableMap<K, V> source, MapDiff<K, V> diff) Creates a new map change event -
Uses of MapDiff in org.eclipse.core.databinding.property.map
Methods in org.eclipse.core.databinding.property.map with parameters of type MapDiffModifier and TypeMethodDescriptionprotected abstract voidUpdates the property on the source with the specified change.protected voidDelegatingMapProperty.doUpdateMap(S source, MapDiff<K, V> diff) protected voidMapProperty.doUpdateMap(S source, MapDiff<K, V> diff) Updates the property on the source with the specified change.protected voidSimpleMapProperty.doUpdateMap(S source, MapDiff<K, V> diff) final voidUpdates the property on the source with the specified change.voidUpdates the property on the source with the specified change.final voidMethod parameters in org.eclipse.core.databinding.property.map with type arguments of type MapDiffModifier and TypeMethodDescriptionabstract INativePropertyListener<S> SimpleMapProperty.adaptListener(ISimplePropertyListener<S, MapDiff<K, V>> listener) Returns a listener capable of adding or removing itself as a listener on a source object using the the source's "native" listener API.