Package | Description |
---|---|
org.eclipse.core.databinding.observable |
Provides the core APIs for observing changes in objects.
|
org.eclipse.core.databinding.observable.value |
Provides classes that can be used to observe changes in discrete values.
|
org.eclipse.core.databinding.property.value |
Modifier and Type | Method and Description |
---|---|
static <T> ValueDiff<T> |
Diffs.createValueDiff(T oldValue,
T newValue)
Creates a diff between two values
|
static <V> ValueDiff<V> |
Diffs.unmodifiableDiff(ValueDiff<? extends V> diff)
Returns an unmodifiable wrapper on top of the given diff.
|
Modifier and Type | Method and Description |
---|---|
static <V> ValueDiff<V> |
Diffs.unmodifiableDiff(ValueDiff<? extends V> diff)
Returns an unmodifiable wrapper on top of the given diff.
|
Modifier and Type | Field and Description |
---|---|
ValueDiff<T> |
ValueChangeEvent.diff
Description of the change to the source observable value.
|
ValueDiff<T> |
ValueChangingEvent.diff
Description of the change to the source observable value.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DecoratingObservableValue.fireValueChange(ValueDiff<T> diff) |
protected void |
AbstractObservableValue.fireValueChange(ValueDiff<T> diff) |
protected boolean |
AbstractVetoableValue.fireValueChanging(ValueDiff<T> diff)
Notifies listeners about a pending change, and returns true if no
listener vetoed the change.
|
protected boolean |
DecoratingVetoableValue.fireValueChanging(ValueDiff<T> diff)
Notifies listeners about a pending change, and returns true if no
listener vetoed the change.
|
Constructor and Description |
---|
ValueChangeEvent(IObservableValue<T> source,
ValueDiff<T> diff)
Creates a new value change event.
|
ValueChangingEvent(IObservableValue<T> source,
ValueDiff<T> diff)
Creates a new value changing event.
|
Modifier and Type | Method and Description |
---|---|
abstract INativePropertyListener<S> |
SimpleValueProperty.adaptListener(ISimplePropertyListener<S,ValueDiff<? extends T>> 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.