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 |
Modifier and Type | Method and Description |
---|---|
static <K,V> MapDiff<K,V> |
Diffs.computeLazyMapDiff(Map<? extends K,? extends V> oldMap,
Map<? extends K,? extends V> newMap)
Returns a lazily computed
MapDiff 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 a
MapDiff 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 key
|
static <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 Type | Method and 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.
|
Modifier and Type | Field and Description |
---|---|
MapDiff<K,V> |
MapChangeEvent.diff
Description of the change to the source observable map.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractObservableMap.fireMapChange(MapDiff<K,V> diff)
Fires map change events.
|
protected void |
ObservableMap.fireMapChange(MapDiff<K,V> diff) |
protected void |
DecoratingObservableMap.fireMapChange(MapDiff<K,V> diff) |
Constructor and Description |
---|
MapChangeEvent(IObservableMap<K,V> source,
MapDiff<K,V> diff)
Creates a new map change event
|
Modifier and Type | Method and 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 |
MapProperty.updateMap(S source,
MapDiff<K,V> diff) |
void |
IMapProperty.updateMap(S source,
MapDiff<K,V> diff)
Updates the property on the source with the specified change.
|
Modifier and Type | Method and 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.
|
Copyright (c) 2000, 2016 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.