Uses of Class
org.eclipse.core.databinding.observable.map.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
Modifier and TypeMethodDescriptionstatic <K,
V> MapDiff<K, V> Diffs.computeLazyMapDiff
(Map<? extends K, ? extends V> oldMap, Map<? extends K, ? extends V> newMap) Returns a lazily computedMapDiff
describing 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 aMapDiff
describing 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.Modifier 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
Modifier and TypeFieldDescriptionMapChangeEvent.diff
Description of the change to the source observable map.Modifier and TypeMethodDescriptionprotected void
AbstractObservableMap.fireMapChange
(MapDiff<K, V> diff) Fires map change events.protected void
DecoratingObservableMap.fireMapChange
(MapDiff<K, V> diff) protected void
ObservableMap.fireMapChange
(MapDiff<K, V> diff) ModifierConstructorDescriptionMapChangeEvent
(IObservableMap<K, V> source, MapDiff<K, V> diff) Creates a new map change event -
Uses of MapDiff in org.eclipse.core.databinding.property.map
Modifier and TypeMethodDescriptionprotected abstract void
Updates the property on the source with the specified change.protected void
DelegatingMapProperty.doUpdateMap
(S source, MapDiff<K, V> diff) protected void
MapProperty.doUpdateMap
(S source, MapDiff<K, V> diff) Updates the property on the source with the specified change.protected void
SimpleMapProperty.doUpdateMap
(S source, MapDiff<K, V> diff) final void
Updates the property on the source with the specified change.void
Updates the property on the source with the specified change.final void
Modifier 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.