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.masterdetail |
Provides classes that can be used to observe a detail of a master object.
|
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.map | |
org.eclipse.core.databinding.property.set | |
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.
|
org.eclipse.ui.databinding |
APIs for Workbench properties and observables for use with data binding
Package Specification
This package provides APIs that provide access to properties of Workbench objects for
use with the data binding 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 |
---|---|
IObservableValue |
SetBinding.getValidationStatus() |
IObservableValue |
ListBinding.getValidationStatus() |
abstract IObservableValue |
ValidationStatusProvider.getValidationStatus() |
Modifier and Type | Method and Description |
---|---|
Binding |
DataBindingContext.bindValue(IObservableValue targetObservableValue,
IObservableValue modelObservableValue)
Creates a
Binding to synchronize the values of two
observable values . |
Binding |
DataBindingContext.bindValue(IObservableValue targetObservableValue,
IObservableValue modelObservableValue,
UpdateValueStrategy targetToModel,
UpdateValueStrategy modelToTarget)
Creates a
Binding to synchronize the values of two
observable values . |
protected UpdateValueStrategy |
DataBindingContext.createModelToTargetUpdateValueStrategy(IObservableValue fromValue,
IObservableValue toValue)
Returns an update value strategy to be used for copying values from the
from value to the to value.
|
protected UpdateValueStrategy |
DataBindingContext.createTargetToModelUpdateValueStrategy(IObservableValue fromValue,
IObservableValue 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 observableValue,
Object value)
Sets the current value of the given observable to the given value.
|
protected void |
UpdateValueStrategy.fillDefaults(IObservableValue source,
IObservableValue destination)
Fills out default values based upon the provided
source and
destination . |
Modifier and Type | Method and Description |
---|---|
static IObservableValue |
BeansObservables.observeDetailValue(IObservableValue master,
Class masterType,
String propertyName,
Class propertyType)
Deprecated.
use
BeanProperties instead |
static IObservableValue |
BeansObservables.observeDetailValue(IObservableValue master,
String propertyName,
Class propertyType)
Deprecated.
use
BeanProperties instead |
static IObservableValue |
PojoObservables.observeDetailValue(IObservableValue master,
String propertyName,
Class propertyType)
Deprecated.
use
PojoProperties instead |
static IObservableValue |
BeansObservables.observeDetailValue(Realm realm,
IObservableValue master,
Class masterType,
String propertyName,
Class propertyType)
Deprecated.
|
static IObservableValue |
BeansObservables.observeDetailValue(Realm realm,
IObservableValue master,
String propertyName,
Class propertyType)
Deprecated.
|
static IObservableValue |
PojoObservables.observeDetailValue(Realm realm,
IObservableValue master,
String propertyName,
Class propertyType)
Deprecated.
|
static IObservableValue |
BeansObservables.observeValue(Object bean,
String propertyName)
Deprecated.
use
BeanProperties instead |
static IObservableValue |
PojoObservables.observeValue(Object pojo,
String propertyName)
Deprecated.
use
PojoProperties instead |
static IObservableValue |
BeansObservables.observeValue(Realm realm,
Object bean,
String propertyName)
Deprecated.
use
BeanProperties instead |
static IObservableValue |
PojoObservables.observeValue(Realm realm,
Object pojo,
String propertyName)
Deprecated.
use
PojoProperties instead |
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 IObservableMap |
BeansObservables.observeDetailMap(IObservableValue master,
String propertyName)
Deprecated.
use
BeanProperties instead |
static IObservableMap |
PojoObservables.observeDetailMap(IObservableValue master,
String propertyName)
Deprecated.
use
PojoProperties instead |
static IObservableMap |
BeansObservables.observeDetailMap(Realm realm,
IObservableValue master,
String propertyName)
Deprecated.
|
static IObservableMap |
PojoObservables.observeDetailMap(Realm realm,
IObservableValue master,
String propertyName)
Deprecated.
|
static IObservableSet |
BeansObservables.observeDetailSet(IObservableValue master,
String propertyName,
Class propertyType)
Deprecated.
use
BeanProperties instead |
static IObservableSet |
PojoObservables.observeDetailSet(IObservableValue master,
String propertyName,
Class propertyType)
Deprecated.
use
PojoProperties instead |
static IObservableSet |
BeansObservables.observeDetailSet(Realm realm,
IObservableValue master,
String propertyName,
Class propertyType)
Deprecated.
|
static IObservableSet |
PojoObservables.observeDetailSet(Realm realm,
IObservableValue master,
String propertyName,
Class propertyType)
Deprecated.
|
static IObservableValue |
BeansObservables.observeDetailValue(IObservableValue master,
Class masterType,
String propertyName,
Class propertyType)
Deprecated.
use
BeanProperties instead |
static IObservableValue |
BeansObservables.observeDetailValue(IObservableValue master,
String propertyName,
Class propertyType)
Deprecated.
use
BeanProperties instead |
static IObservableValue |
PojoObservables.observeDetailValue(IObservableValue master,
String propertyName,
Class propertyType)
Deprecated.
use
PojoProperties instead |
static IObservableValue |
BeansObservables.observeDetailValue(Realm realm,
IObservableValue master,
Class masterType,
String propertyName,
Class propertyType)
Deprecated.
|
static IObservableValue |
BeansObservables.observeDetailValue(Realm realm,
IObservableValue master,
String propertyName,
Class propertyType)
Deprecated.
|
static IObservableValue |
PojoObservables.observeDetailValue(Realm realm,
IObservableValue master,
String propertyName,
Class propertyType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static IObservableValue |
Observables.constantObservableValue(Object value)
Returns an observable value with the given constant value.
|
static IObservableValue |
Observables.constantObservableValue(Object value,
Object valueType)
Returns an observable value with the given constant value.
|
static IObservableValue |
Observables.constantObservableValue(Realm realm,
Object value)
Returns an observable value with the given constant value.
|
static IObservableValue |
Observables.constantObservableValue(Realm realm,
Object value,
Object valueType)
Returns an observable value with the given constant value.
|
static IObservableValue |
Observables.observeDelayedValue(int delay,
IObservableValue observable)
Returns an observable which delays notification of value change events
from
observable until delay milliseconds have
elapsed since the last change event. |
static IObservableValue |
Observables.observeDetailMapEntry(IObservableMap map,
IObservableValue master,
Object valueType)
Helper method for
MasterDetailObservables.detailValue(master,
mapEntryValueFactory(map, valueType), valueType) . |
static IObservableValue |
Observables.observeMapEntry(IObservableMap map,
Object key)
Returns an observable value that tracks changes to the value of an
observable map's entry specified by its key.
|
static IObservableValue |
Observables.observeMapEntry(IObservableMap map,
Object 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 |
Observables.observeStale(IObservable observable)
Returns an observable value of type
Boolean.TYPE which
tracks whether the given observable is stale. |
static IObservableValue |
Observables.proxyObservableValue(IObservableValue 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 IObservableValue |
Observables.unmodifiableObservableValue(IObservableValue value)
Returns an unmodifiable observable value backed by the given observable
value.
|
Modifier and Type | Method and Description |
---|---|
static IObservableValue |
Observables.observeDelayedValue(int delay,
IObservableValue observable)
Returns an observable which delays notification of value change events
from
observable until delay milliseconds have
elapsed since the last change event. |
static IObservableValue |
Observables.observeDetailMapEntry(IObservableMap map,
IObservableValue master,
Object valueType)
Helper method for
MasterDetailObservables.detailValue(master,
mapEntryValueFactory(map, valueType), valueType) . |
static void |
Observables.pipe(IObservableValue source,
IObservableValue 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 IObservableValue |
Observables.proxyObservableValue(IObservableValue 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 IObservableValue |
Observables.unmodifiableObservableValue(IObservableValue value)
Returns an unmodifiable observable value backed by the given observable
value.
|
Modifier and Type | Method and Description |
---|---|
static IObservableValue |
MasterDetailObservables.detailValue(IObservableValue master,
IObservableFactory detailFactory,
Object detailType)
Creates a detail observable value from a master observable value and a
factory.
|
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 IObservableMap |
MasterDetailObservables.detailMap(IObservableValue master,
IObservableFactory detailFactory)
Creates a detail observable map from a master observable value and a
factory.
|
static IObservableMap |
MasterDetailObservables.detailMap(IObservableValue master,
IObservableFactory detailFactory,
Object detailKeyType,
Object detailValueType)
Creates a detail observable map from a master observable value and a
factory.
|
static IObservableSet |
MasterDetailObservables.detailSet(IObservableValue master,
IObservableFactory detailFactory,
Object detailElementType)
Creates a detail observable set from a master observable value and a
factory.
|
static IObservableValue |
MasterDetailObservables.detailValue(IObservableValue master,
IObservableFactory detailFactory,
Object detailType)
Creates a detail observable value from a master observable value and a
factory.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IVetoableValue
An observable value whose changes can be vetoed by listeners.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractObservableValue
This class is thread safe.
|
class |
AbstractVetoableValue
This class is thread safe.
|
class |
ComputedValue
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
An observable value which decorates another observable value.
|
class |
DecoratingVetoableValue
An
IVetoableValue decorator for an observable value. |
class |
DuplexingObservableValue |
class |
SelectObservableValue
An observable value which behaves similarly to the <select> and
<option> HTML tags.
|
class |
WritableValue
Mutable (writable) implementation of
IObservableValue that will maintain a value and fire
change events when the value changes. |
Modifier and Type | Method and Description |
---|---|
IObservableValue |
ValueChangeEvent.getObservableValue()
Returns the observable value from which this event originated.
|
IObservableValue |
ValueChangingEvent.getObservableValue() |
Modifier and Type | Method and Description |
---|---|
void |
SelectObservableValue.addOption(Object value,
IObservableValue observable)
Adds an option to this SelectObservableValue.
|
Constructor and Description |
---|
DateAndTimeObservableValue(IObservableValue dateObservable,
IObservableValue timeObservable)
Constructs a DateAndTimeObservableValue with the specified constituent
observables.
|
DecoratingObservableValue(IObservableValue decorated,
boolean disposeDecoratedOnDispose)
Constructs a DecoratingObservableValue which decorates the given
observable.
|
DecoratingVetoableValue(IObservableValue decorated,
boolean disposeDecoratedOnDispose) |
ValueChangeEvent(IObservableValue source,
ValueDiff diff)
Creates a new value change event.
|
ValueChangingEvent(IObservableValue source,
ValueDiff diff)
Creates a new value changing event.
|
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
IObservableMap |
MapProperty.observeDetail(IObservableValue master) |
IObservableMap |
IMapProperty.observeDetail(IObservableValue master)
Returns an observable map on the master observable's realm which tracks
this property of the values in the entry set of
master . |
Modifier and Type | Method and Description |
---|---|
IObservableSet |
ISetProperty.observeDetail(IObservableValue master)
Returns an observable set on the master observable's realm which tracks
this property of the current value of
master . |
IObservableSet |
SetProperty.observeDetail(IObservableValue master) |
Modifier and Type | Method and Description |
---|---|
IObservableValue |
IValueProperty.observe(Object source)
Returns an observable value observing this value property on the given
property source.
|
IObservableValue |
ValueProperty.observe(Object source) |
IObservableValue |
DelegatingValueProperty.observe(Object source) |
IObservableValue |
SimpleValueProperty.observe(Realm realm,
Object source) |
IObservableValue |
IValueProperty.observe(Realm realm,
Object source)
Returns an observable value observing this value property on the given
property source
|
IObservableValue |
DelegatingValueProperty.observe(Realm realm,
Object source) |
IObservableValue |
IValueProperty.observeDetail(IObservableValue master)
Returns an observable value on the master observable's realm which tracks
this property on the current value of
master . |
IObservableValue |
ValueProperty.observeDetail(IObservableValue master) |
Modifier and Type | Method and Description |
---|---|
IObservableValue |
IValueProperty.observeDetail(IObservableValue master)
Returns an observable value on the master observable's realm which tracks
this property on the current value of
master . |
IObservableValue |
ValueProperty.observeDetail(IObservableValue master) |
Modifier and Type | Method and Description |
---|---|
IObservableValue |
MultiValidator.getValidationStatus()
Returns an
IObservableValue whose value is always the current
validation status of this MultiValidator. |
IObservableValue |
MultiValidator.observeValidatedValue(IObservableValue target)
Returns a wrapper
IObservableValue which stays in sync with the
given target observable only when the validation status is valid. |
Modifier and Type | Method and Description |
---|---|
IObservableValue |
MultiValidator.observeValidatedValue(IObservableValue target)
Returns a wrapper
IObservableValue which stays in sync with the
given target observable only when the validation status is valid. |
Modifier and Type | Interface and Description |
---|---|
interface |
ISWTObservableValue
IObservableValue observing an SWT widget. |
Modifier and Type | Method and Description |
---|---|
IObservableValue |
WidgetValueProperty.observe(Object source) |
IObservableValue |
WidgetValueProperty.observe(Realm realm,
Object source) |
Modifier and Type | Method and Description |
---|---|
protected ISWTObservableValue |
WidgetValueProperty.wrapObservable(IObservableValue observable,
Widget widget) |
Modifier and Type | Interface and Description |
---|---|
interface |
IViewerObservableValue
IObservableValue observing a JFace Viewer. |
Modifier and Type | Method and Description |
---|---|
protected abstract IObservableValue |
ObservableValueEditingSupport.doCreateCellEditorObservable(CellEditor cellEditor)
Creates the observable value for the CellEditor.
|
protected abstract IObservableValue |
ObservableValueEditingSupport.doCreateElementObservable(Object element,
ViewerCell cell)
Creates the observable value for the element.
|
IObservableValue |
ViewerValueProperty.observe(Object source) |
IObservableValue |
ViewerValueProperty.observe(Realm realm,
Object source) |
static IObservableValue |
ViewersObservables.observeInput(Viewer viewer)
Returns an observable value that tracks the input of the given viewer.
|
static IObservableValue |
ViewersObservables.observeSinglePostSelection(IPostSelectionProvider selectionProvider)
Returns an observable value that tracks the current post selection
of the given post selection provider.
|
static IObservableValue |
ViewersObservables.observeSingleSelection(ISelectionProvider selectionProvider)
Returns an observable value that tracks the current selection of the
given selection provider.
|
Modifier and Type | Method and Description |
---|---|
protected Binding |
ObservableValueEditingSupport.createBinding(IObservableValue target,
IObservableValue model)
Creates a new binding for the provided
target and
model . |
Modifier and Type | Method and Description |
---|---|
static IObservableValue |
WorkbenchObservables.observeAdaptedSingleSelection(IServiceLocator locator,
Class targetType)
Returns an observable value that tracks the post selection of a selection
service obtained through the given service locator, and adapts the first
element of that selection to the given target type.
|
static IObservableValue |
WorkbenchObservables.observeDetailAdaptedValue(IObservableValue master,
Class adapter)
Returns an observable with values of the given target type.
|
Modifier and Type | Method and Description |
---|---|
static IObservableValue |
WorkbenchObservables.observeDetailAdaptedValue(IObservableValue master,
Class adapter)
Returns an observable with values of the given target type.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.