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.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 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,
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.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) |
Constructor and Description |
---|
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)
Helper method for
MasterDetailObservables.detailList(master, listFactory(master.getRealm(), propertyName, propertyType), propertyType) |
static IObservableList |
PojoObservables.observeDetailList(IObservableValue master,
String propertyName,
Class propertyType)
Helper method for
MasterDetailObservables.detailList(master, listFactory(master.getRealm(), propertyName, propertyType), propertyType) |
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)
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)
Returns an observable list in the default realm tracking the
collection-typed named property of the given pojo object.
|
static IObservableList |
BeansObservables.observeList(Object bean,
String propertyName,
Class elementType)
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)
Returns an observable list in the default realm tracking the
collection-typed named property of the given bean object.
|
static IObservableList |
BeansObservables.observeList(Realm realm,
Object bean,
String propertyName)
Returns an observable list in the given realm tracking the
collection-typed named property of the given bean object.
|
static IObservableList |
PojoObservables.observeList(Realm realm,
Object pojo,
String propertyName)
Returns an observable list in the given realm tracking the
collection-typed named property of the given pojo object.
|
static IObservableList |
BeansObservables.observeList(Realm realm,
Object bean,
String propertyName,
Class elementType)
Returns an observable list in the given realm tracking the
collection-typed named property of the given bean object.
|
static IObservableList |
PojoObservables.observeList(Realm realm,
Object pojo,
String propertyName,
Class elementType)
Returns an observable list in the given realm tracking the
collection-typed named property of the given bean object.
|
Modifier and Type | Method and Description |
---|---|
static IObservableList |
Observables.emptyObservableList()
Returns an empty observable list.
|
static IObservableList |
Observables.emptyObservableList(Object elementType)
Returns an empty observable list of the given element type.
|
static IObservableList |
Observables.emptyObservableList(Realm realm)
Returns an empty observable list belonging to the given realm.
|
static IObservableList |
Observables.emptyObservableList(Realm realm,
Object elementType)
Returns an empty observable list of the given element type and belonging
to the given realm.
|
static IObservableList |
Observables.proxyObservableList(IObservableList 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 IObservableList |
Observables.staticObservableList(List list)
Returns an observable list backed by the given list.
|
static IObservableList |
Observables.staticObservableList(List list,
Object elementType)
Returns an observable list of the given element type, backed by the given
list.
|
static IObservableList |
Observables.staticObservableList(Realm realm,
List list)
Returns an observable list belonging to the given realm, backed by the
given list.
|
static IObservableList |
Observables.staticObservableList(Realm realm,
List list,
Object elementType)
Returns an observable list of the given element type and belonging to the
given realm, backed by the given list.
|
static IObservableList |
Observables.unmodifiableObservableList(IObservableList list)
Returns an unmodifiable observable list backed by the given observable
list.
|
Modifier and Type | Method and Description |
---|---|
static IObservableList |
Observables.proxyObservableList(IObservableList 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 IObservableList |
Observables.unmodifiableObservableList(IObservableList list)
Returns an unmodifiable observable list backed by the given observable
list.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractObservableList
Subclasses should override at least get(int index) and size().
|
class |
ComputedList
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
An observable list which decorates another observable list.
|
class |
MultiList
An observable list backed by an array of observable lists.
|
class |
ObservableList
Abstract implementation of
IObservableList , based on an underlying
regular list. |
class |
WritableList
Mutable observable list backed by an ArrayList.
|
Modifier and Type | Method and Description |
---|---|
IObservableList |
ListChangeEvent.getObservableList()
Returns the observable list from which this event originated.
|
Constructor and Description |
---|
DecoratingObservableList(IObservableList decorated,
boolean disposeDecoratedOnDispose)
Constructs a DecoratingObservableList which decorates the given
observable.
|
ListChangeEvent(IObservableList source,
ListDiff diff)
Creates a new list change event.
|
MultiList(IObservableList[] lists)
Constructs a MultiList in the default realm, and backed by the given
observable lists.
|
MultiList(IObservableList[] lists,
Object elementType)
Constructs a MultiList in the default realm backed by the given
observable lists.
|
MultiList(Realm realm,
IObservableList[] lists)
Constructs a MultiList belonging to the given realm, and backed by the
given observable lists.
|
MultiList(Realm realm,
IObservableList[] 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 IObservableList |
MasterDetailObservables.detailList(IObservableValue master,
IObservableFactory detailFactory,
Object detailElementType)
Creates a detail observable list from a master observable value and a
factory.
|
static IObservableList |
MasterDetailObservables.detailValues(IObservableList masterList,
IObservableFactory 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 IObservableList |
MasterDetailObservables.detailValues(IObservableList masterList,
IObservableFactory detailFactory,
Object detailType)
Returns a detail observable list where each element is the detail value
of the element in the master observable list.
|
Constructor and Description |
---|
ListToSetAdapter(IObservableList list) |
Modifier and Type | Method and Description |
---|---|
static DuplexingObservableValue |
DuplexingObservableValue.withDefaults(IObservableList target,
Object emptyValue,
Object 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 target) |
DuplexingObservableValue(IObservableList target,
Object valueType) |
Modifier and Type | Method and Description |
---|---|
IObservableList |
ListProperty.observe(Object source) |
IObservableList |
IListProperty.observe(Object source)
Returns an observable list observing this list property on the given
property source
|
IObservableList |
DelegatingListProperty.observe(Object source) |
IObservableList |
IListProperty.observe(Realm realm,
Object source)
Returns an observable list observing this list property on the given
property source
|
IObservableList |
SimpleListProperty.observe(Realm realm,
Object source) |
IObservableList |
MultiListProperty.observe(Realm realm,
Object source) |
IObservableList |
DelegatingListProperty.observe(Realm realm,
Object source) |
IObservableList |
ListProperty.observeDetail(IObservableValue master) |
IObservableList |
IListProperty.observeDetail(IObservableValue 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 |
---|---|
IObservableList |
SimpleValueProperty.observeDetail(IObservableList master) |
IObservableList |
IValueProperty.observeDetail(IObservableList master)
Returns an observable list on the master observable's realm which tracks
this property on each element of
master . |
IObservableList |
ValueProperty.observeDetail(IObservableList master) |
IObservableList |
DelegatingValueProperty.observeDetail(IObservableList master) |
Modifier and Type | Method and Description |
---|---|
IObservableList |
SimpleValueProperty.observeDetail(IObservableList master) |
IObservableList |
IValueProperty.observeDetail(IObservableList master)
Returns an observable list on the master observable's realm which tracks
this property on each element of
master . |
IObservableList |
ValueProperty.observeDetail(IObservableList master) |
IObservableList |
DelegatingValueProperty.observeDetail(IObservableList 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 | 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)
Returns an observable observing the items attribute of the provided
control . |
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 labelProperty)
Binds the viewer to the specified input, using the specified label
property to generate labels.
|
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.
|
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.