Uses of Interface
org.eclipse.core.databinding.observable.value.IObservableValue
Package
Description
Provides classes for binding observable objects, for example UI widgets and model objects.
Provides the core APIs for observing changes in objects.
Provides classes that can be used to observe a detail of a master object.
Provides classes that can be used to observe changes in discrete values.
Interfaces and classes for representing and observing properties of objects.
Provides the core APIs for validation.
Provides classes that bridge between data binding and the JFace Fieldassist framework.
Provides classes that can be used to observe changes in SWT widgets.
Provides classes that can be used to observe the JFace Viewer framework.
-
Uses of IObservableValue in org.eclipse.core.databinding
Modifier and TypeClassDescriptionfinal class
This class can be used to aggregate status values from a data binding context into a single status value.Modifier and TypeMethodDescriptionListBinding.getValidationStatus()
SetBinding.getValidationStatus()
abstract IObservableValue<IStatus>
ValidationStatusProvider.getValidationStatus()
Modifier and TypeMethodDescriptionfinal <T,
M> Binding DataBindingContext.bindValue
(IObservableValue<T> targetObservableValue, IObservableValue<M> modelObservableValue) Creates aBinding
to synchronize the values of twoobservable values
.final <T,
M> Binding DataBindingContext.bindValue
(IObservableValue<T> targetObservableValue, IObservableValue<M> modelObservableValue, UpdateValueStrategy<? super T, ? extends M> targetToModel, UpdateValueStrategy<? super M, ? extends T> modelToTarget) Creates aBinding
to synchronize the values of twoobservable values
.protected <M,
T> UpdateValueStrategy<M, T> DataBindingContext.createModelToTargetUpdateValueStrategy
(IObservableValue<M> fromValue, IObservableValue<T> toValue) Returns an update value strategy to be used for copying values from the from value to the to value.protected <T,
M> UpdateValueStrategy<T, M> DataBindingContext.createTargetToModelUpdateValueStrategy
(IObservableValue<T> fromValue, IObservableValue<M> toValue) Returns an update value strategy to be used for copying values from the from value to the to value.protected IStatus
UpdateValueStrategy.doSet
(IObservableValue<? super D> observableValue, D value) Sets the current value of the given observable to the given value.protected void
UpdateValueStrategy.fillDefaults
(IObservableValue<? extends S> source, IObservableValue<? super D> destination) Fills out default values based upon the providedsource
anddestination
. -
Uses of IObservableValue in org.eclipse.core.databinding.observable
Modifier and TypeMethodDescriptionstatic <T> IObservableValue<T>
Observables.constantObservableValue
(Realm realm, T value) Returns an observable value with the given constant value.static <T> IObservableValue<T>
Observables.constantObservableValue
(Realm realm, T value, Object valueType) Returns an observable value with the given constant value.static <T> IObservableValue<T>
Observables.constantObservableValue
(T value) Returns an observable value with the given constant value.static <T> IObservableValue<T>
Observables.constantObservableValue
(T value, Object valueType) Returns an observable value with the given constant value.static <T> IObservableValue<T>
Observables.observeDelayedValue
(int delay, IObservableValue<T> observable) Returns an observable which delays notification of value change events fromobservable
untildelay
milliseconds have elapsed since the last change event.static <K,
V> IObservableValue<V> Observables.observeDetailMapEntry
(IObservableMap<K, V> map, IObservableValue<K> master, Object valueType) Helper method forMasterDetailObservables.detailValue(master, mapEntryValueFactory(map, valueType), valueType)
.static <K,
V> IObservableValue<V> Observables.observeMapEntry
(IObservableMap<K, V> map, K key) Returns an observable value that tracks changes to the value of an observable map's entry specified by its key.static <K,
V> IObservableValue<V> Observables.observeMapEntry
(IObservableMap<K, V> map, K key, Object valueType) Returns an observable value that tracks changes to the value of an observable map's entry specified by its key.static IObservableValue<Boolean>
Observables.observeStale
(IObservable observable) Returns an observable value of typeBoolean.TYPE
which tracks whether the given observable is stale.static <T> IObservableValue<T>
Observables.proxyObservableValue
(IObservableValue<T> target) Returns an observable value that contains the same value as the given observable, and fires the same events as the given observable, but can be disposed of without disposing of the wrapped observable.static <T> IObservableValue<T>
Observables.unmodifiableObservableValue
(IObservableValue<T> value) Returns an unmodifiable observable value backed by the given observable value.Modifier and TypeMethodDescriptionstatic <K,
V> IObservableFactory<K, IObservableValue<V>> Observables.mapEntryValueFactory
(IObservableMap<K, V> map, Object valueType) Returns a factory for creating observable values tracking the value of theobservable map
entry identified by a particular key.Modifier and TypeMethodDescriptionstatic <T> IObservableValue<T>
Observables.observeDelayedValue
(int delay, IObservableValue<T> observable) Returns an observable which delays notification of value change events fromobservable
untildelay
milliseconds have elapsed since the last change event.static <K,
V> IObservableValue<V> Observables.observeDetailMapEntry
(IObservableMap<K, V> map, IObservableValue<K> master, Object valueType) Helper method forMasterDetailObservables.detailValue(master, mapEntryValueFactory(map, valueType), valueType)
.static <T> void
Observables.pipe
(IObservableValue<T> source, IObservableValue<? super T> destination) Copies the current value of the source observable to the destination observable, and upon value change events fired by the source observable, updates the destination observable accordingly, until the source observable is disposed.static <T> IObservableValue<T>
Observables.proxyObservableValue
(IObservableValue<T> target) Returns an observable value that contains the same value as the given observable, and fires the same events as the given observable, but can be disposed of without disposing of the wrapped observable.static <T> IObservableValue<T>
Observables.unmodifiableObservableValue
(IObservableValue<T> value) Returns an unmodifiable observable value backed by the given observable value. -
Uses of IObservableValue in org.eclipse.core.databinding.observable.masterdetail
Modifier and TypeMethodDescriptionstatic <M,
T> IObservableValue<T> MasterDetailObservables.detailValue
(IObservableValue<M> master, IObservableFactory<? super M, IObservableValue<T>> detailFactory, Object detailType) Creates a detail observable value from a master observable value and a factory.Modifier and TypeMethodDescriptionstatic <M,
E> IObservableList<E> MasterDetailObservables.detailList
(IObservableValue<M> master, IObservableFactory<? super M, IObservableList<E>> detailFactory, Object detailElementType) Creates a detail observable list from a master observable value and a factory.static <M,
K, V> IObservableMap<K, V> MasterDetailObservables.detailMap
(IObservableValue<M> master, IObservableFactory<? super M, IObservableMap<K, V>> detailFactory, Object detailKeyType, Object detailValueType) Creates a detail observable map from a master observable value and a factory.static <M,
K, V> IObservableMap<K, V> MasterDetailObservables.detailMap
(IObservableValue<M> master, IObservableFactory<M, IObservableMap<K, V>> detailFactory) Creates a detail observable map from a master observable value and a factory.static <M,
E> IObservableSet<E> MasterDetailObservables.detailSet
(IObservableValue<M> master, IObservableFactory<? super M, ? extends IObservableSet<E>> detailFactory, Object detailElementType) Creates a detail observable set from a master observable value and a factory.static <M,
T> IObservableValue<T> MasterDetailObservables.detailValue
(IObservableValue<M> master, IObservableFactory<? super M, IObservableValue<T>> detailFactory, Object detailType) Creates a detail observable value from a master observable value and a factory.Modifier and TypeMethodDescriptionstatic <M,
T> IObservableValue<T> MasterDetailObservables.detailValue
(IObservableValue<M> master, IObservableFactory<? super M, IObservableValue<T>> detailFactory, Object detailType) Creates a detail observable value from a master observable value and a factory.static <M,
E> IObservableList<E> MasterDetailObservables.detailValues
(IObservableList<M> masterList, IObservableFactory<? super M, IObservableValue<E>> detailFactory, Object detailType) Returns a detail observable list where each element is the detail value of the element in the master observable list.static <K,
M, E> IObservableMap<K, E> MasterDetailObservables.detailValues
(IObservableMap<K, M> masterMap, IObservableFactory<? super M, IObservableValue<E>> detailFactory, Object detailType) Returns a detail observable map where the map's key set is the same as the one of the given master observable map, and where each value is the detail value of the corresponding value in the master observable map.static <M,
E> IObservableMap<M, E> MasterDetailObservables.detailValues
(IObservableSet<M> masterSet, IObservableFactory<? super M, IObservableValue<E>> detailFactory, Object detailType) Returns a detail observable map where the map's key set is the same as the given observable set, and where each value is the detail value of the element in the master observable set. -
Uses of IObservableValue in org.eclipse.core.databinding.observable.value
Modifier and TypeInterfaceDescriptioninterface
An observable value whose changes can be vetoed by listeners.Modifier and TypeClassDescriptionclass
This class is thread safe.class
This class is thread safe.class
A Lazily calculated value that automatically computes and registers listeners on its dependencies as long as all of its dependencies areIObservable
objects.class
AnIObservableValue
<Date
> which supports scenarios where the date and time are presented as separate elements in the user interface.class
An observable value which decorates another observable value.class
AnIVetoableValue
decorator for an observable value.class
A class to reduce an observable list to a single value in an implementation specific way.final class
AnIObservableValue
<LocalDateTime
> which supports scenarios where the date and time are presented as separate elements in the user interface.class
An observable value which behaves similarly to the <select> and <option> HTML tags.class
Mutable (writable) implementation ofIObservableValue
that will maintain a value and fire change events when the value changes.Modifier and TypeMethodDescriptionstatic <T> IObservableValue<T>
Factory method to createComputedValue
objects in an easy manner.ValueChangeEvent.getObservableValue()
Returns the observable value from which this event originated.ValueChangingEvent.getObservableValue()
Modifier and TypeMethodDescriptionvoid
SelectObservableValue.addOption
(T value, IObservableValue<Boolean> observable) Adds an option to this SelectObservableValue.ModifierConstructorDescriptionDateAndTimeObservableValue
(IObservableValue<Date> dateObservable, IObservableValue<Date> timeObservable) Constructs a DateAndTimeObservableValue with the specified constituent observables.DecoratingObservableValue
(IObservableValue<T> decorated, boolean disposeDecoratedOnDispose) Constructs a DecoratingObservableValue which decorates the given observable.DecoratingVetoableValue
(IObservableValue<T> decorated, boolean disposeDecoratedOnDispose) LocalDateTimeObservableValue
(IObservableValue<LocalDate> dateObservable, IObservableValue<LocalTime> timeObservable) Constructs a DateAndTimeObservableValue with the specified constituent observables.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. -
Uses of IObservableValue in org.eclipse.core.databinding.property
Modifier and TypeMethodDescriptionstatic <T> IValueProperty<IObservableValue<T>,
T> Properties.observableValue
(Object valueType) Returns a value property which observes the value of anIObservableValue
. -
Uses of IObservableValue in org.eclipse.core.databinding.property.list
Modifier and TypeMethodDescription<U extends S>
IObservableList<E>IListProperty.observeDetail
(IObservableValue<U> master) Returns an observable list on the master observable's realm which tracks this property of the current value ofmaster
.<U extends S>
IObservableList<E>ListProperty.observeDetail
(IObservableValue<U> master) -
Uses of IObservableValue in org.eclipse.core.databinding.property.map
Modifier and TypeMethodDescription<U extends S>
IObservableMap<K,V> IMapProperty.observeDetail
(IObservableValue<U> master) Returns an observable map on the master observable's realm which tracks this property of the values in the entry set ofmaster
.<U extends S>
IObservableMap<K,V> MapProperty.observeDetail
(IObservableValue<U> master) -
Uses of IObservableValue in org.eclipse.core.databinding.property.set
Modifier and TypeMethodDescription<U extends S>
IObservableSet<E>ISetProperty.observeDetail
(IObservableValue<U> master) Returns an observable set on the master observable's realm which tracks this property of the current value ofmaster
.<U extends S>
IObservableSet<E>SetProperty.observeDetail
(IObservableValue<U> master) -
Uses of IObservableValue in org.eclipse.core.databinding.property.value
Modifier and TypeMethodDescriptionReturns an observable value observing this value property on the given property sourceReturns an observable value observing this value property on the given property source.<M extends S>
IObservableValue<T>IValueProperty.observeDetail
(IObservableValue<M> master) Returns an observable value on the master observable's realm which tracks this property on the current value ofmaster
.<U extends S>
IObservableValue<T>ValueProperty.observeDetail
(IObservableValue<U> master) Modifier and TypeMethodDescriptionIValueProperty.valueFactory()
Returns a factory for creating observable values tracking this property of a particular property source.IValueProperty.valueFactory
(Realm realm) Returns a factory for creating observable values in the given realm, tracking this property of a particular property source.ValueProperty.valueFactory()
ValueProperty.valueFactory
(Realm realm) Modifier and TypeMethodDescription<M extends S>
IObservableValue<T>IValueProperty.observeDetail
(IObservableValue<M> master) Returns an observable value on the master observable's realm which tracks this property on the current value ofmaster
.<U extends S>
IObservableValue<T>ValueProperty.observeDetail
(IObservableValue<U> master) -
Uses of IObservableValue in org.eclipse.core.databinding.validation
Modifier and TypeMethodDescriptionMultiValidator.getValidationStatus()
Returns anIObservableValue
whose value is always the current validation status of this MultiValidator.<T> IObservableValue<T>
MultiValidator.observeValidatedValue
(IObservableValue<T> target) Returns a wrapperIObservableValue
which stays in sync with the given target observable only when the validation status is valid.Modifier and TypeMethodDescription<T> IObservableValue<T>
MultiValidator.observeValidatedValue
(IObservableValue<T> target) Returns a wrapperIObservableValue
which stays in sync with the given target observable only when the validation status is valid. -
Uses of IObservableValue in org.eclipse.jface.databinding.fieldassist
Modifier and TypeMethodDescriptionstatic ControlDecorationSupport
ControlDecorationSupport.create
(IObservableValue<IStatus> validationStatus, int position, IObservable... targetsToBeDecorated) Creates a ControlDecorationSupport which observes the given validation status and displays aControlDecoration
over the underlying SWT control of all target observables that implementISWTObservable
orIViewerObservable
.static ControlDecorationSupport
ControlDecorationSupport.create
(IObservableValue<IStatus> validationStatus, int position, IObservableList<IObservable> targetsToBeDecorated) Creates a ControlDecorationSupport which observes the given validation status and displays aControlDecoration
over the underlying SWT control of all target observables that implementISWTObservable
orIViewerObservable
.static ControlDecorationSupport
ControlDecorationSupport.create
(IObservableValue<IStatus> validationStatus, int position, Composite composite, IObservable... targetsToBeDecorated) Creates a ControlDecorationSupport which observes the validation status and displays aControlDecoration
over the underlying SWT control of all target observables that implementISWTObservable
orIViewerObservable
.static ControlDecorationSupport
ControlDecorationSupport.create
(IObservableValue<IStatus> validationStatus, int position, Composite composite, IObservableList<IObservable> targetsToBeDecorated) Creates a ControlDecorationSupport which observes the validation status and displays aControlDecoration
over the underlying SWT control of all target observables that implementISWTObservable
orIViewerObservable
.static ControlDecorationSupport
ControlDecorationSupport.create
(IObservableValue<IStatus> validationStatus, int position, Composite composite, ControlDecorationUpdater updater, IObservable... targetsToBeDecorated) Creates a ControlDecorationSupport which observes the validation status and displays aControlDecoration
over the underlying SWT control of all target observables that implementISWTObservable
orIViewerObservable
.static ControlDecorationSupport
ControlDecorationSupport.create
(IObservableValue<IStatus> validationStatus, int position, Composite composite, ControlDecorationUpdater updater, IObservableList<IObservable> targetsToBeDecorated) Creates a ControlDecorationSupport which observes the validation status and displays aControlDecoration
over the underlying SWT control of all target observables that implementISWTObservable
orIViewerObservable
. -
Uses of IObservableValue in org.eclipse.jface.databinding.swt
Modifier and TypeMethodDescriptionprotected ISWTObservableValue<T>
WidgetValueProperty.wrapObservable
(IObservableValue<T> observable, Widget widget) -
Uses of IObservableValue in org.eclipse.jface.databinding.viewers
Modifier and TypeMethodDescriptionprotected abstract IObservableValue<T>
ObservableValueEditingSupport.doCreateCellEditorObservable
(CellEditor cellEditor) Creates the observable value for the CellEditor.protected abstract IObservableValue<M>
ObservableValueEditingSupport.doCreateElementObservable
(E element, ViewerCell cell) Creates the observable value for the element.This method is redeclared to trigger ambiguous method errors that are hidden by a suspected Eclipse compiler bug 536911.Modifier and TypeMethodDescriptionprotected Binding
ObservableValueEditingSupport.createBinding
(IObservableValue<T> target, IObservableValue<M> model) Creates a new binding for the providedtarget
andmodel
.