Package | Description |
---|---|
org.eclipse.core.databinding.observable |
Provides the core APIs for observing changes in objects.
|
org.eclipse.core.databinding.observable.list |
Provides classes for observing changes in lists.
|
org.eclipse.core.databinding.property.list |
Modifier and Type | Method and Description |
---|---|
static <E> ListDiff<E> |
Diffs.computeLazyListDiff(List<? extends E> oldList,
List<? extends E> newList)
Returns a lazily computed
ListDiff describing the change between
the specified old and new list states. |
static <E> ListDiff<E> |
Diffs.computeListDiff(List<? extends E> oldList,
List<? extends E> newList)
Returns a
ListDiff describing the change between the specified
old and new list states. |
static <E> ListDiff<E> |
Diffs.createListDiff(List<ListDiffEntry<E>> differences)
Creates a new ListDiff object given its constituent ListDiffEntry
objects.
|
static <E> ListDiff<E> |
Diffs.createListDiff(ListDiffEntry<E> difference) |
static <E> ListDiff<E> |
Diffs.createListDiff(ListDiffEntry<E>[] differences)
Creates a new ListDiff object given its constituent ListDiffEntry
objects.
|
static <E> ListDiff<E> |
Diffs.createListDiff(ListDiffEntry<E> difference1,
ListDiffEntry<E> difference2) |
static <E> ListDiff<E> |
Diffs.unmodifiableDiff(ListDiff<? extends E> diff)
Returns an unmodifiable wrapper on top of the given diff.
|
Modifier and Type | Method and Description |
---|---|
static <E> ListDiff<E> |
Diffs.unmodifiableDiff(ListDiff<? extends E> diff)
Returns an unmodifiable wrapper on top of the given diff.
|
Modifier and Type | Field and Description |
---|---|
ListDiff<E> |
ListChangeEvent.diff
Description of the change to the source observable list.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DecoratingObservableList.fireListChange(ListDiff<E> diff) |
protected void |
ObservableList.fireListChange(ListDiff<E> diff) |
protected void |
AbstractObservableList.fireListChange(ListDiff<E> diff) |
Constructor and Description |
---|
ListChangeEvent(IObservableList<E> source,
ListDiff<E> diff)
Creates a new list change event.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
SimpleListProperty.doSetList(S source,
List<E> list,
ListDiff<E> diff)
Updates the property on the source with the specified change.
|
protected void |
ListProperty.doUpdateList(S source,
ListDiff<E> diff)
Updates the property on the source with the specified change
|
protected void |
SimpleListProperty.doUpdateList(S source,
ListDiff<E> diff) |
protected void |
MultiListProperty.doUpdateList(S source,
ListDiff<E> diff) |
protected void |
DelegatingListProperty.doUpdateList(S source,
ListDiff<E> diff) |
void |
SimpleListProperty.setList(S source,
List<E> list,
ListDiff<E> diff)
Updates the property on the source with the specified change.
|
void |
ListProperty.updateList(S source,
ListDiff<E> diff) |
void |
IListProperty.updateList(S source,
ListDiff<E> diff)
Updates the property on the source with the specified change
Note: This method is made available to facilitate basic property
access.
|
Modifier and Type | Method and Description |
---|---|
abstract INativePropertyListener<S> |
SimpleListProperty.adaptListener(ISimplePropertyListener<S,ListDiff<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.