Package | Description |
---|---|
org.eclipse.core.databinding.observable |
Provides the core APIs for observing changes in objects.
|
org.eclipse.core.databinding.observable.set |
Provides classes that can be used to observe changes in sets.
|
org.eclipse.core.databinding.property.set |
Modifier and Type | Method and Description |
---|---|
static <E> SetDiff<E> |
Diffs.computeLazySetDiff(Set<? extends E> oldSet,
Set<? extends E> newSet)
Returns a lazily computed
SetDiff describing the change between
the specified old and new set states. |
static <E> SetDiff<E> |
Diffs.computeSetDiff(Set<? extends E> oldSet,
Set<? extends E> newSet)
Returns a
SetDiff describing the change between the specified old
and new set states. |
static <E> SetDiff<E> |
Diffs.createSetDiff(Set<? extends E> additions,
Set<? extends E> removals) |
static <E> SetDiff<E> |
Diffs.unmodifiableDiff(SetDiff<? extends E> diff)
Returns an unmodifiable wrapper on top of the given diff.
|
Modifier and Type | Method and Description |
---|---|
static <E> SetDiff<E> |
Diffs.unmodifiableDiff(SetDiff<? extends E> diff)
Returns an unmodifiable wrapper on top of the given diff.
|
Modifier and Type | Field and Description |
---|---|
SetDiff<E> |
SetChangeEvent.diff
Description of the change to the source observable set.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ObservableSet.fireSetChange(SetDiff<E> diff) |
protected void |
AbstractObservableSet.fireSetChange(SetDiff<E> diff) |
protected void |
DecoratingObservableSet.fireSetChange(SetDiff<E> diff) |
Constructor and Description |
---|
SetChangeEvent(IObservableSet<E> source,
SetDiff<E> diff)
Creates a new set change event.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
SimpleSetProperty.doSetSet(S source,
Set<E> set,
SetDiff<E> diff)
Updates the property on the source with the specified change.
|
protected void |
UnionSetProperty.doUpdateSet(S source,
SetDiff<E> diff) |
protected void |
SimpleSetProperty.doUpdateSet(S source,
SetDiff<E> diff) |
protected void |
DelegatingSetProperty.doUpdateSet(S source,
SetDiff<E> diff) |
protected void |
SetProperty.doUpdateSet(S source,
SetDiff<E> diff)
Updates the property on the source with the specified change.
|
void |
SimpleSetProperty.setSet(S source,
Set<E> set,
SetDiff<E> diff)
Updates the property on the source with the specified change.
|
void |
ISetProperty.updateSet(S source,
SetDiff<E> diff)
Updates the property on the source with the specified change.
|
void |
SetProperty.updateSet(S source,
SetDiff<E> diff) |
Modifier and Type | Method and Description |
---|---|
abstract INativePropertyListener<S> |
SimpleSetProperty.adaptListener(ISimplePropertyListener<S,SetDiff<E>> 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.