Uses of Class
org.eclipse.core.databinding.observable.map.MapDiff
-
Packages that use MapDiff Package Description org.eclipse.core.databinding.observable Provides the core APIs for observing changes in objects.org.eclipse.core.databinding.observable.map Provides classes that can be used to observe changes in maps.org.eclipse.core.databinding.property.map -
-
Uses of MapDiff in org.eclipse.core.databinding.observable
Methods in org.eclipse.core.databinding.observable that return MapDiff Modifier and Type Method Description static <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.Methods in org.eclipse.core.databinding.observable with parameters of type MapDiff Modifier and Type Method Description static <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 MapDiff Modifier and Type Field Description MapDiff<K,V>
MapChangeEvent. diff
Description of the change to the source observable map.Methods in org.eclipse.core.databinding.observable.map with parameters of type MapDiff Modifier and Type Method Description protected 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)
Constructors in org.eclipse.core.databinding.observable.map with parameters of type MapDiff Constructor Description MapChangeEvent(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 MapDiff Modifier and Type Method Description protected abstract void
SimpleMapProperty. doSetMap(S source, Map<K,V> map, MapDiff<K,V> diff)
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)
void
SimpleMapProperty. setMap(S source, Map<K,V> map, MapDiff<K,V> diff)
Updates the property on the source with the specified change.void
IMapProperty. updateMap(S source, MapDiff<K,V> diff)
Updates the property on the source with the specified change.void
MapProperty. updateMap(S source, MapDiff<K,V> diff)
Method parameters in org.eclipse.core.databinding.property.map with type arguments of type MapDiff Modifier and Type Method Description abstract 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.
-