Package | Description |
---|---|
org.eclipse.core.databinding |
Provides classes for binding observable objects, for example UI widgets and model objects.
|
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.observable.map |
Provides classes that can be used to observe changes in maps.
|
org.eclipse.core.databinding.observable.masterdetail |
Provides classes that can be used to observe a detail of a master object.
|
org.eclipse.core.databinding.observable.set |
Provides classes that can be used to observe changes in sets.
|
org.eclipse.core.databinding.observable.value |
Provides classes that can be used to observe changes in discrete values.
|
org.eclipse.jface.databinding.fieldassist |
Provides classes that bridge between data binding and the JFace Fieldassist framework.
|
org.eclipse.jface.databinding.swt |
Provides classes that can be used to observe changes in SWT widgets.
|
org.eclipse.jface.databinding.viewers |
Provides classes that can be used to observe the JFace Viewer framework.
|
Modifier and Type | Class and Description |
---|---|
class |
AggregateValidationStatus
This class can be used to aggregate status values from a data binding context
into a single status value.
|
Modifier and Type | Method and Description |
---|---|
IObservable |
Binding.getModel()
Returns the model observable
|
IObservable |
Binding.getTarget()
Returns the target observable
|
Modifier and Type | Method and Description |
---|---|
void |
ObservablesManager.addObservable(IObservable observable)
Adds the given observable to this manager.
|
void |
ObservablesManager.excludeObservable(IObservable observable)
Adds the given observable to this manager's exclusion list.
|
Constructor and Description |
---|
Binding(IObservable target,
IObservable model)
Creates a new binding.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IDecoratingObservable
Interface for observables which decorate other observables.
|
interface |
IObservableCollection<E>
Interface for observable collections.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractObservable |
class |
DecoratingObservable
An observable which decorates another observable
|
class |
DecoratingObservableCollection<E>
An observable collection which decorates another observable collection
|
Modifier and Type | Method and Description |
---|---|
IObservable |
IDecoratingObservable.getDecorated() |
IObservable |
DecoratingObservable.getDecorated() |
IObservable |
ObservableEvent.getObservable()
Returns the observable that generated this event.
|
static IObservable[] |
ObservableTracker.runAndCollect(Runnable runnable)
Invokes the given runnable, and returns the set of IObservables that were
created by the runnable.
|
static IObservable[] |
ObservableTracker.runAndMonitor(Runnable runnable,
IChangeListener changeListener,
IStaleListener staleListener)
Invokes the given runnable, and returns the set of IObservables that were
read by the runnable.
|
Modifier and Type | Method and Description |
---|---|
static void |
ObservableTracker.getterCalled(IObservable observable)
Notifies the ObservableTracker that an observable was read from.
|
static void |
ObservableTracker.observableCreated(IObservable observable)
Notifies the ObservableTracker that an observable was created.
|
static IObservableValue<Boolean> |
Observables.observeStale(IObservable observable)
Returns an observable value of type
Boolean.TYPE which
tracks whether the given observable is stale. |
Constructor and Description |
---|
ChangeEvent(IObservable source)
Creates a new change event object.
|
DecoratingObservable(IObservable decorated,
boolean disposeDecoratedOnDispose)
Constructs a DecoratingObservable which decorates the given observable.
|
DisposeEvent(IObservable source)
Creates a new dispose event object.
|
ObservableEvent(IObservable source)
Creates a new observable event.
|
StaleEvent(IObservable source)
Creates a new stale event.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IObservableList<E>
A list whose changes can be tracked by list change listeners.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractObservableList<E>
Subclasses should override at least get(int index) and size().
|
class |
ComputedList<E>
A lazily calculated list that automatically computes and registers listeners
on its dependencies as long as all of its dependencies are
IObservable objects. |
class |
DecoratingObservableList<E>
An observable list which decorates another observable list.
|
class |
MultiList<E>
An observable list backed by an array of observable lists.
|
class |
ObservableList<E>
Abstract implementation of
IObservableList , based on an underlying
regular list. |
class |
WritableList<E>
Mutable observable list backed by an ArrayList.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IObservableMap<K,V>
Observable Map.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractObservableMap<K,V>
This class is thread safe.
|
class |
BidiObservableMap<K,V>
An
This class is thread safe.
|
class |
BidirectionalMap<K,V>
Deprecated.
This class is deprecated; use
BidiObservableMap instead. |
class |
CompositeMap<K,I,V>
A read-only observable map formed by the composition of two observable maps.
|
class |
ComputedObservableMap<K,V>
Maps objects to one of their attributes.
|
class |
DecoratingObservableMap<K,V>
An observable map which decorates another observable map.
|
class |
ObservableMap<K,V>
This class is thread safe.
|
class |
WritableMap<K,V>
This class is thread safe.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IObservableFactory<T,E extends IObservable>
Generates an
IObservable when passed a target instance. |
Modifier and Type | Interface and Description |
---|---|
interface |
IObservableSet<E>
A set whose changes can be tracked by set change listeners.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractObservableSet<E>
Abstract implementation of
IObservableSet . |
class |
ComputedSet<E>
A lazily calculated set that automatically computes and registers listeners
on its dependencies as long as all of its dependencies are
IObservable objects. |
class |
DecoratingObservableSet<E>
An observable set which decorates another observable set.
|
class |
ListToSetAdapter<E>
Observable set backed by an observable list.
|
class |
MappedSet
Deprecated.
This class is deprecated.
|
class |
ObservableSet<E>
Abstract implementation of
IObservableSet . |
class |
UnionSet<E>
Represents a set consisting of the union of elements from one or more other
sets.
|
class |
WritableSet<E>
Mutable (writable) implementation of
IObservableSet . |
Modifier and Type | Interface and Description |
---|---|
interface |
IObservableValue<T>
A value whose changes can be tracked by value change listeners.
|
interface |
IVetoableValue<T>
An observable value whose changes can be vetoed by listeners.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractObservableValue<T>
This class is thread safe.
|
class |
AbstractVetoableValue<T>
This class is thread safe.
|
class |
ComputedValue<T>
A Lazily calculated value that automatically computes and registers listeners
on its dependencies as long as all of its dependencies are
IObservable objects. |
class |
DateAndTimeObservableValue
An
IObservableValue < Date > which supports
scenarios where the date and time are presented as separate elements in the
user interface. |
class |
DecoratingObservableValue<T>
An observable value which decorates another observable value.
|
class |
DecoratingVetoableValue<T>
An
IVetoableValue decorator for an observable value. |
class |
DuplexingObservableValue<T> |
class |
SelectObservableValue<T>
An observable value which behaves similarly to the <select> and
<option> HTML tags.
|
class |
WritableValue<T>
Mutable (writable) implementation of
IObservableValue that will
maintain a value and fire change events when the value changes. |
Modifier and Type | Method and Description |
---|---|
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 a
ControlDecoration over the underlying SWT control
of all target observables that implement ISWTObservable or
IViewerObservable . |
static ControlDecorationSupport |
ControlDecorationSupport.create(IObservableValue<IStatus> validationStatus,
int position,
Composite composite,
IObservable... targetsToBeDecorated)
Creates a ControlDecorationSupport which observes the validation status
and displays a
ControlDecoration over the underlying SWT control
of all target observables that implement ISWTObservable or
IViewerObservable . |
static ControlDecorationSupport |
ControlDecorationSupport.create(IObservableValue<IStatus> validationStatus,
int position,
IObservable... targetsToBeDecorated)
Creates a ControlDecorationSupport which observes the given validation
status and displays a
ControlDecoration over the underlying SWT
control of all target observables that implement ISWTObservable
or IViewerObservable . |
Modifier and Type | Method and Description |
---|---|
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 a
ControlDecoration over the underlying SWT control
of all target observables that implement ISWTObservable or
IViewerObservable . |
static ControlDecorationSupport |
ControlDecorationSupport.create(IObservableValue<IStatus> validationStatus,
int position,
Composite composite,
IObservableList<IObservable> targetsToBeDecorated)
Creates a ControlDecorationSupport which observes the validation status
and displays a
ControlDecoration over the underlying SWT control
of all target observables that implement ISWTObservable or
IViewerObservable . |
static ControlDecorationSupport |
ControlDecorationSupport.create(IObservableValue<IStatus> validationStatus,
int position,
IObservableList<IObservable> targetsToBeDecorated)
Creates a ControlDecorationSupport which observes the given validation
status and displays a
ControlDecoration over the underlying SWT
control of all target observables that implement ISWTObservable
or IViewerObservable . |
Modifier and Type | Interface and Description |
---|---|
interface |
ISWTObservable
IObservable observing an SWT widget. |
interface |
ISWTObservableList
IObservableList observing an SWT widget. |
interface |
ISWTObservableValue
IObservableValue observing an SWT widget. |
Modifier and Type | Interface and Description |
---|---|
interface |
IViewerObservable
IObservable observing a JFace Viewer. |
interface |
IViewerObservableList
IObservableList observing a JFace Viewer. |
interface |
IViewerObservableSet
IObservableSet observing a JFace Viewer. |
interface |
IViewerObservableValue
IObservableValue observing a JFace Viewer. |
Copyright (c) 2000, 2016 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.