Package org.eclipse.core.databinding
Package Specification
This package provides classes that can be used to synchronize state between pairs of observable objects with optional data type conversion and validation.
A DataBindingContext
is used to manage a list of Bindings
with their validation results.
Concrete subclasses of Binding
synchronize state between two observables,
called the target observable and the model observable. Usually, the binding will
first copy the current state of the model observable to the target observable and
from then on track changes on both sides, reacting to changes on one side by
performing the corresponding change on the other side.
For each binding, two UpdateValueStrategy
or UpdateListStrategy
objects (one
for each direction) is used to control how the binding should synchronize, and can be used to
specify data type converters and validators.
AggregateValidationStatus
allows clients to aggregate the current validation
statuses of a list of bindings, typically obtained from a data binding context.
For advanced validation, conversion, or similar requirements that affect the way
state is copied from one side to the other, subclasses of UpdateValueStrategy
or UpdateListStrategy
can be created.
-
ClassDescriptionThis class can be used to aggregate status values from a data binding context into a single status value.This abstract class represents a binding between a model and a target.An unchecked exception indicating a binding problem.A factory for creating properties for core types in the DataBinding framework e.g.A DataBindingContext is the point of contact for the creation and management of
bindings
, and aggregates validation statuses of its bindings, or more generally, its validation status providers.ListBinding<M,T> An observables manager can be used for lifecycle management ofIObservable
objects.SetBinding<M,T> UpdateListStrategy<S,D> Customizes aBinding
between twoobservable lists
.UpdateSetStrategy<S,D> Customizes aBinding
between twoobservable sets
.UpdateValueStrategy<S,D> Customizes aBinding
between twoobservable values
.A validation status provider tracks the state of zero or more target observables and zero or more model observables and produces a validation result.