Package | Description |
---|---|
org.eclipse.core.databinding |
Provides classes for binding observable objects, for example UI widgets and model objects.
|
org.eclipse.core.databinding.beans |
Provides classes for observing JavaBeans(tm) 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.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.core.databinding.property.list | |
org.eclipse.core.databinding.property.value | |
org.eclipse.core.databinding.validation |
Provides the core APIs for validation.
|
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 | Method and Description |
---|---|
IObservableList |
DataBindingContext.getBindings()
Returns an unmodifiable
IObservableList < Binding >
of all bindings in order by time of addition. |
IObservableList |
Binding.getModels() |
abstract IObservableList |
ValidationStatusProvider.getModels()
Returns an
IObservableList < IObservable >
containing the model observables (if any) that are being tracked by this
validation status provider. |
IObservableList |
Binding.getTargets() |
abstract IObservableList |
ValidationStatusProvider.getTargets()
Returns an
IObservableList < IObservable >
containing the target observables (if any) that are being tracked by this
validation status provider. |
IObservableList |
DataBindingContext.getValidationStatusProviders()
Returns an unmodifiable
IObservableList <
ValidationStatusProvider > of all validation status providers
in order by time of addition. |
Modifier and Type | Method and Description |
---|---|
Binding |
DataBindingContext.bindList(IObservableList targetObservableList,
IObservableList modelObservableList)
Creates a
Binding to synchronize the values of two
observable lists . |
Binding |
DataBindingContext.bindList(IObservableList targetObservableList,
IObservableList modelObservableList)
Creates a
Binding to synchronize the values of two
observable lists . |
Binding |
DataBindingContext.bindList(IObservableList targetObservableList,
IObservableList modelObservableList,
UpdateListStrategy targetToModel,
UpdateListStrategy modelToTarget)
Creates a
Binding to synchronize the values of two
observable lists . |
Binding |
DataBindingContext.bindList(IObservableList targetObservableList,
IObservableList modelObservableList,
UpdateListStrategy targetToModel,
UpdateListStrategy modelToTarget)
Creates a
Binding to synchronize the values of two
observable lists . |
protected UpdateListStrategy |
DataBindingContext.createModelToTargetUpdateListStrategy(IObservableList modelObservableList,
IObservableList targetObservableList) |
protected UpdateListStrategy |
DataBindingContext.createModelToTargetUpdateListStrategy(IObservableList modelObservableList,
IObservableList targetObservableList) |
protected UpdateListStrategy |
DataBindingContext.createTargetToModelUpdateListStrategy(IObservableList targetObservableList,
IObservableList modelObservableList) |
protected UpdateListStrategy |
DataBindingContext.createTargetToModelUpdateListStrategy(IObservableList targetObservableList,
IObservableList modelObservableList) |
protected IStatus |
UpdateListStrategy.doAdd(IObservableList observableList,
Object element,
int index)
Adds the given element at the given index to the given observable list.
|
protected IStatus |
UpdateListStrategy.doMove(IObservableList observableList,
int oldIndex,
int newIndex)
Moves the element in the observable list located at the given old index
to the given new index.
|
protected IStatus |
UpdateListStrategy.doRemove(IObservableList observableList,
int index)
Removes the element at the given index from the given observable list.
|
protected IStatus |
UpdateListStrategy.doReplace(IObservableList observableList,
int index,
Object element)
Replaces the element in the observable list located at the given index to
with the given element.
|
protected void |
UpdateListStrategy.fillDefaults(IObservableList source,
IObservableList destination) |
protected void |
UpdateListStrategy.fillDefaults(IObservableList source,
IObservableList destination) |
Constructor and Description |
---|
ListBinding(IObservableList target,
IObservableList model,
UpdateListStrategy targetToModelStrategy,
UpdateListStrategy modelToTargetStrategy) |
ListBinding(IObservableList target,
IObservableList model,
UpdateListStrategy targetToModelStrategy,
UpdateListStrategy modelToTargetStrategy) |
Modifier and Type | Method and Description |
---|---|
static IObservableList |
BeansObservables.observeDetailList(IObservableValue master,
String propertyName,
Class propertyType)
Deprecated.
use
BeanProperties instead |
static IObservableList |
PojoObservables.observeDetailList(IObservableValue master,
String propertyName,
Class propertyType)
Deprecated.
use
PojoProperties instead |
static IObservableList |
BeansObservables.observeDetailList(Realm realm,
IObservableValue master,
String propertyName,
Class propertyType)
Deprecated.
|
static IObservableList |
PojoObservables.observeDetailList(Realm realm,
IObservableValue master,
String propertyName,
Class propertyType)
Deprecated.
|
static IObservableList |
BeansObservables.observeList(Object bean,
String propertyName)
Deprecated.
Returns an observable list in the default realm tracking the
collection-typed named property of the given bean object.
|
static IObservableList |
PojoObservables.observeList(Object pojo,
String propertyName)
Deprecated.
use
PojoProperties instead |
static IObservableList |
BeansObservables.observeList(Object bean,
String propertyName,
Class elementType)
Deprecated.
Returns an observable list in the default realm tracking the
collection-typed named property of the given bean object.
|
static IObservableList |
PojoObservables.observeList(Object pojo,
String propertyName,
Class elementType)
Deprecated.
use
PojoProperties instead |
static IObservableList |
BeansObservables.observeList(Realm realm,
Object bean,
String propertyName)
Deprecated.
use
BeanProperties instead |
static IObservableList |
PojoObservables.observeList(Realm realm,
Object pojo,
String propertyName)
Deprecated.
use
PojoProperties instead |
static IObservableList |
BeansObservables.observeList(Realm realm,
Object bean,
String propertyName,
Class elementType)
Deprecated.
use
BeanProperties instead |
static IObservableList |
PojoObservables.observeList(Realm realm,
Object pojo,
String propertyName,
Class elementType)
Deprecated.
use
PojoProperties instead |
Modifier and Type | Method and Description |
---|---|
static <E> IObservableList<E> |
Observables.emptyObservableList()
Returns an empty observable list.
|
static <E> IObservableList<E> |
Observables.emptyObservableList(Object elementType)
Returns an empty observable list of the given element type.
|
static <E> IObservableList<E> |
Observables.emptyObservableList(Realm realm)
Returns an empty observable list belonging to the given realm.
|
static <E> IObservableList<E> |
Observables.emptyObservableList(Realm realm,
Object elementType)
Returns an empty observable list of the given element type and belonging
to the given realm.
|
static <E> IObservableList<E> |
Observables.proxyObservableList(IObservableList<E> target)
Returns an observable list that contains the same elements as the given
list, and fires the same events as the given list, but can be disposed of
without disposing of the wrapped list.
|
static <E> IObservableList<E> |
Observables.staticObservableList(List<E> list)
Returns an observable list backed by the given list.
|
static <E> IObservableList<E> |
Observables.staticObservableList(List<E> list,
Object elementType)
Returns an observable list of the given element type, backed by the given
list.
|
static <E> IObservableList<E> |
Observables.staticObservableList(Realm realm,
List<E> list)
Returns an observable list belonging to the given realm, backed by the
given list.
|
static <E> IObservableList<E> |
Observables.staticObservableList(Realm realm,
List<E> list,
Object elementType)
Returns an observable list of the given element type and belonging to the
given realm, backed by the given list.
|
static <E> IObservableList<E> |
Observables.unmodifiableObservableList(IObservableList<E> list)
Returns an unmodifiable observable list backed by the given observable
list.
|
Modifier and Type | Method and Description |
---|---|
static <E> IObservableList<E> |
Observables.proxyObservableList(IObservableList<E> target)
Returns an observable list that contains the same elements as the given
list, and fires the same events as the given list, but can be disposed of
without disposing of the wrapped list.
|
static <E> IObservableList<E> |
Observables.unmodifiableObservableList(IObservableList<E> list)
Returns an unmodifiable observable list backed by the given observable
list.
|
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 | Method and Description |
---|---|
IObservableList<E> |
ListChangeEvent.getObservableList()
Returns the observable list from which this event originated.
|
Constructor and Description |
---|
DecoratingObservableList(IObservableList<E> decorated,
boolean disposeDecoratedOnDispose)
Constructs a DecoratingObservableList which decorates the given
observable.
|
ListChangeEvent(IObservableList<E> source,
ListDiff<E> diff)
Creates a new list change event.
|
MultiList(IObservableList<E>[] lists)
Deprecated.
use MultiList(List
|
MultiList(IObservableList<E>[] lists,
Object elementType)
Deprecated.
use MultiList(List
|
MultiList(Realm realm,
IObservableList<E>[] lists)
Constructs a MultiList belonging to the given realm, and backed by the
given observable lists.
|
MultiList(Realm realm,
IObservableList<E>[] lists,
Object elementType)
Deprecated.
use MultiList(realm, List
|
Constructor and Description |
---|
MultiList(List<IObservableList<E>> lists)
Constructs a MultiList in the default realm, and backed by the given
observable lists.
|
MultiList(List<IObservableList<E>> lists,
Object elementType)
Constructs a MultiList in the default realm backed by the given
observable lists.
|
MultiList(Realm realm,
List<IObservableList<E>> lists,
Object elementType)
Constructs a MultiList belonging to the given realm, and backed by the
given observable lists.
|
Modifier and Type | Method and Description |
---|---|
static <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,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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
static <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.
|
Constructor and Description |
---|
ListToSetAdapter(IObservableList<E> list) |
Modifier and Type | Method and Description |
---|---|
static <T> DuplexingObservableValue<T> |
DuplexingObservableValue.withDefaults(IObservableList<T> target,
T emptyValue,
T multiValue)
Returns a DuplexingObservableValue implementation with predefined values
to use if the list is empty or contains multiple different values.
|
Constructor and Description |
---|
DuplexingObservableValue(IObservableList<T> target) |
DuplexingObservableValue(IObservableList<T> target,
Object valueType) |
Modifier and Type | Method and Description |
---|---|
IObservableList<E> |
IListProperty.observe(Realm realm,
S source)
Returns an observable list observing this list property on the given
property source
|
IObservableList<E> |
SimpleListProperty.observe(Realm realm,
S source) |
IObservableList<E> |
MultiListProperty.observe(Realm realm,
S source) |
IObservableList<E> |
DelegatingListProperty.observe(Realm realm,
S source) |
IObservableList<E> |
ListProperty.observe(S source) |
IObservableList<E> |
IListProperty.observe(S source)
Returns an observable list observing this list property on the given
property source
|
IObservableList<E> |
DelegatingListProperty.observe(S source) |
<U extends S> |
ListProperty.observeDetail(IObservableValue<U> master) |
<U extends S> |
IListProperty.observeDetail(IObservableValue<U> master)
Returns an observable list on the master observable's realm which tracks
this property of the current value of
master . |
Modifier and Type | Method and Description |
---|---|
IObservableFactory<S,IObservableList<E>> |
ListProperty.listFactory() |
IObservableFactory<S,IObservableList<E>> |
IListProperty.listFactory()
Returns a factory for creating observable lists tracking this property of
a particular property source.
|
IObservableFactory<S,IObservableList<E>> |
ListProperty.listFactory(Realm realm) |
IObservableFactory<S,IObservableList<E>> |
IListProperty.listFactory(Realm realm)
Returns a factory for creating observable lists in the given realm,
tracking this property of a particular property source.
|
Modifier and Type | Method and Description |
---|---|
<M extends S> |
IValueProperty.observeDetail(IObservableList<M> master)
Returns an observable list on the master observable's realm which tracks
this property on each element of
master . |
<U extends S> |
SimpleValueProperty.observeDetail(IObservableList<U> master) |
<U extends S> |
DelegatingValueProperty.observeDetail(IObservableList<U> master) |
<V extends S> |
ValueProperty.observeDetail(IObservableList<V> master) |
Modifier and Type | Method and Description |
---|---|
<M extends S> |
IValueProperty.observeDetail(IObservableList<M> master)
Returns an observable list on the master observable's realm which tracks
this property on each element of
master . |
<U extends S> |
SimpleValueProperty.observeDetail(IObservableList<U> master) |
<U extends S> |
DelegatingValueProperty.observeDetail(IObservableList<U> master) |
<V extends S> |
ValueProperty.observeDetail(IObservableList<V> master) |
Modifier and Type | Method and Description |
---|---|
IObservableList |
MultiValidator.getModels() |
IObservableList |
MultiValidator.getTargets() |
IObservableList |
MultiValidator.observeValidatedList(IObservableList target)
Returns a wrapper
IObservableList which stays in sync with the
given target observable only when the validation status is valid. |
Modifier and Type | Method and Description |
---|---|
IObservableList |
MultiValidator.observeValidatedList(IObservableList target)
Returns a wrapper
IObservableList which stays in sync with the
given target observable only when the validation status is valid. |
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 |
ISWTObservableList
IObservableList observing an SWT widget. |
Modifier and Type | Method and Description |
---|---|
IObservableList |
WidgetListProperty.observe(Object source) |
IObservableList |
WidgetListProperty.observe(Realm realm,
Object source) |
static IObservableList |
SWTObservables.observeItems(Control control)
Deprecated.
use
WidgetProperties instead |
Modifier and Type | Interface and Description |
---|---|
interface |
IViewerObservableList
IObservableList observing a JFace Viewer. |
Modifier and Type | Method and Description |
---|---|
IObservableList |
ViewerListProperty.observe(Object source) |
IObservableList |
ViewerListProperty.observe(Realm realm,
Object source) |
static IObservableList |
ViewersObservables.observeMultiPostSelection(IPostSelectionProvider selectionProvider)
Returns an observable list that tracks the current post selection
of the given post selection provider.
|
static IObservableList |
ViewersObservables.observeMultiSelection(ISelectionProvider selectionProvider)
Returns an observable list that tracks the current selection of the given
selection provider.
|
Modifier and Type | Method and Description |
---|---|
static void |
ViewerSupport.bind(StructuredViewer viewer,
IObservableList input,
IValueProperty... labelProperties)
Binds the viewer to the specified input, using the specified label
properties to generate labels.
|
static void |
ViewerSupport.bind(StructuredViewer viewer,
IObservableList input,
IValueProperty labelProperty)
Binds the viewer to the specified input, using the specified label
property to generate labels.
|
Copyright (c) 2000, 2016 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.