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.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.property |
Interfaces and classes for representing and observing properties of objects.
|
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.viewers |
Provides classes that can be used to observe the JFace Viewer framework.
|
Modifier and Type | Method and Description |
---|---|
Binding |
DataBindingContext.bindSet(IObservableSet targetObservableSet,
IObservableSet modelObservableSet)
Creates a
Binding to synchronize the values of two
observable sets . |
Binding |
DataBindingContext.bindSet(IObservableSet targetObservableSet,
IObservableSet modelObservableSet,
UpdateSetStrategy targetToModel,
UpdateSetStrategy modelToTarget)
Creates a
Binding to synchronize the values of two
observable sets . |
protected UpdateSetStrategy |
DataBindingContext.createModelToTargetUpdateSetStrategy(IObservableSet modelObservableSet,
IObservableSet targetObservableSet) |
protected UpdateSetStrategy |
DataBindingContext.createTargetToModelUpdateSetStrategy(IObservableSet targetObservableSet,
IObservableSet modelObservableSet) |
protected IStatus |
UpdateSetStrategy.doAdd(IObservableSet observableSet,
Object element)
Adds the given element at the given index to the given observable list.
|
protected IStatus |
UpdateSetStrategy.doRemove(IObservableSet observableSet,
Object element)
Removes the element at the given index from the given observable list.
|
protected void |
UpdateSetStrategy.fillDefaults(IObservableSet source,
IObservableSet destination) |
Constructor and Description |
---|
SetBinding(IObservableSet target,
IObservableSet model,
UpdateSetStrategy targetToModelStrategy,
UpdateSetStrategy modelToTargetStrategy) |
Modifier and Type | Method and Description |
---|---|
static IObservableSet |
BeansObservables.observeDetailSet(IObservableValue master,
String propertyName,
Class propertyType)
Helper method for
MasterDetailObservables.detailSet(master, setFactory(master.getRealm(), propertyName), propertyType) |
static IObservableSet |
PojoObservables.observeDetailSet(IObservableValue master,
String propertyName,
Class propertyType)
Helper method for
MasterDetailObservables.detailSet(master, setFactory(master.getRealm(), propertyName), propertyType) |
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 IObservableSet |
BeansObservables.observeSet(Object bean,
String propertyName)
Returns an observable set in the default realm tracking the
collection-typed named property of the given bean object
|
static IObservableSet |
PojoObservables.observeSet(Object pojo,
String propertyName)
Returns an observable set in the default realm tracking the
collection-typed named property of the given pojo object.
|
static IObservableSet |
BeansObservables.observeSet(Object bean,
String propertyName,
Class elementType)
Returns an observable set in the current default realm tracking the
collection-typed named property of the given bean object.
|
static IObservableSet |
PojoObservables.observeSet(Object pojo,
String propertyName,
Class elementType)
Returns an observable set in the default realm, tracking the
collection-typed named property of the given pojo object.
|
static IObservableSet |
BeansObservables.observeSet(Realm realm,
Object bean,
String propertyName)
Returns an observable set in the given realm tracking the
collection-typed named property of the given bean object
|
static IObservableSet |
PojoObservables.observeSet(Realm realm,
Object pojo,
String propertyName)
Returns an observable set in the given realm tracking the
collection-typed named property of the given pojo object.
|
static IObservableSet |
BeansObservables.observeSet(Realm realm,
Object bean,
String propertyName,
Class elementType)
Returns an observable set in the given realm tracking the
collection-typed named property of the given bean object.
|
static IObservableSet |
PojoObservables.observeSet(Realm realm,
Object pojo,
String propertyName,
Class elementType)
Returns an observable set in the given realm tracking the
collection-typed named property of the given pojo object.
|
Modifier and Type | Method and Description |
---|---|
static IObservableMap |
BeansObservables.observeMap(IObservableSet domain,
Class beanClass,
String propertyName)
Returns an observable map in the given observable set's realm tracking
the current values of the named property for the beans in the given set.
|
static IObservableMap |
PojoObservables.observeMap(IObservableSet domain,
Class pojoClass,
String propertyName)
Returns an observable map in the given observable set's realm tracking
the current values of the named property for the pojos in the given set.
|
static IObservableMap |
BeansObservables.observeMap(IObservableSet domain,
String propertyName)
Returns an observable map in the given observable set's realm tracking
the current values of the named property for the beans in the given set.
|
static IObservableMap |
PojoObservables.observeMap(IObservableSet domain,
String propertyName)
Returns an observable map in the given observable set's realm tracking
the current values of the named property for the beans in the given set.
|
static IObservableMap[] |
BeansObservables.observeMaps(IObservableSet domain,
Class beanClass,
String[] propertyNames)
Returns an array of observable maps in the given observable set's realm
tracking the current values of the named properties for the beans in the
given set.
|
static IObservableMap[] |
PojoObservables.observeMaps(IObservableSet domain,
Class pojoClass,
String[] propertyNames)
Returns an array of observable maps in the given observable set's realm
tracking the current values of the named propertys for the pojos in the
given set.
|
static IObservableMap[] |
BeansObservables.observeMaps(IObservableSet domain,
String[] propertyNames)
Returns an array of observable maps in the given observable set's realm
tracking the current values of the named properties for the beans in the
given set.
|
static IObservableMap[] |
PojoObservables.observeMaps(IObservableSet domain,
String[] propertyNames)
Returns an array of observable maps in the given observable set's realm
tracking the current values of the named properties for the beans in the
given set.
|
Modifier and Type | Method and Description |
---|---|
static IObservableSet |
Observables.emptyObservableSet()
Returns an empty observable set.
|
static IObservableSet |
Observables.emptyObservableSet(Object elementType)
Returns an empty observable set of the given element type.
|
static IObservableSet |
Observables.emptyObservableSet(Realm realm)
Returns an empty observable set belonging to the given realm.
|
static IObservableSet |
Observables.emptyObservableSet(Realm realm,
Object elementType)
Returns an empty observable set of the given element type and belonging
to the given realm.
|
static IObservableSet |
Observables.proxyObservableSet(IObservableSet target)
Returns an observable set that contains the same elements as the given
set, and fires the same events as the given set, but can be disposed of
without disposing of the wrapped set.
|
static IObservableSet |
Observables.staticObservableSet(Realm realm,
Set set)
Returns an observable set belonging to the given realm, backed by the
given set.
|
static IObservableSet |
Observables.staticObservableSet(Realm realm,
Set set,
Object elementType)
Returns an observable set of the given element type and belonging to the
given realm, backed by the given set.
|
static IObservableSet |
Observables.staticObservableSet(Set set)
Returns an observable set backed by the given set.
|
static IObservableSet |
Observables.staticObservableSet(Set set,
Object elementType)
Returns an observable set of the given element type, backed by the given
set.
|
static IObservableSet |
Observables.unmodifiableObservableSet(IObservableSet set)
Returns an unmodifiable observable set backed by the given observable
set.
|
Modifier and Type | Method and Description |
---|---|
static IObservableSet |
Observables.proxyObservableSet(IObservableSet target)
Returns an observable set that contains the same elements as the given
set, and fires the same events as the given set, but can be disposed of
without disposing of the wrapped set.
|
static IObservableSet |
Observables.unmodifiableObservableSet(IObservableSet set)
Returns an unmodifiable observable set backed by the given observable
set.
|
Constructor and Description |
---|
ComputedObservableMap(IObservableSet keySet) |
ComputedObservableMap(IObservableSet keySet,
Object valueType) |
Modifier and Type | Method and Description |
---|---|
static IObservableSet |
MasterDetailObservables.detailSet(IObservableValue master,
IObservableFactory detailFactory,
Object detailElementType)
Creates a detail observable set from a master observable value and a
factory.
|
Modifier and Type | Method and Description |
---|---|
static IObservableMap |
MasterDetailObservables.detailValues(IObservableSet masterSet,
IObservableFactory detailFactory,
Object detailType)
Returns a detail observable map where the map's key set is the same as
the given observable set, and where each value is the detail value of the
element in the master observable set.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractObservableSet
Abstract implementation of
IObservableSet . |
class |
ComputedSet
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
An observable set which decorates another observable set.
|
class |
ListToSetAdapter
Observable set backed by an observable list.
|
class |
MappedSet
Deprecated.
This class is deprecated.
|
class |
ObservableSet
Abstract implementation of
IObservableSet . |
class |
UnionSet
Represents a set consisting of the union of elements from one or more other
sets.
|
class |
WritableSet
Mutable (writable) implementation of
IObservableSet . |
Modifier and Type | Method and Description |
---|---|
IObservableSet |
SetChangeEvent.getObservableSet()
Returns the observable set from which this event originated.
|
Constructor and Description |
---|
DecoratingObservableSet(IObservableSet decorated,
boolean disposeDecoratedOnDispose)
Constructs a DecoratingObservableSet which decorates the given
observable.
|
MappedSet(IObservableSet input,
IObservableMap map)
Deprecated.
|
SetChangeEvent(IObservableSet source,
SetDiff diff)
Creates a new set change event.
|
UnionSet(IObservableSet[] childSets) |
UnionSet(IObservableSet[] childSets,
Object elementType) |
Modifier and Type | Method and Description |
---|---|
static IObservableMap[] |
Properties.observeEach(IObservableSet domainSet,
IValueProperty[] properties)
Returns an array of observable maps where each map observes the
corresponding value property on all elements in the given domain set, for
each property in the given array.
|
Modifier and Type | Method and Description |
---|---|
IObservableSet |
DelegatingSetProperty.observe(Object source) |
IObservableSet |
ISetProperty.observe(Object source)
Returns an observable set observing this set property on the given
property source
|
IObservableSet |
SetProperty.observe(Object source) |
IObservableSet |
UnionSetProperty.observe(Realm realm,
Object source) |
IObservableSet |
SimpleSetProperty.observe(Realm realm,
Object source) |
IObservableSet |
DelegatingSetProperty.observe(Realm realm,
Object source) |
IObservableSet |
ISetProperty.observe(Realm realm,
Object source)
Returns an observable set observing this set property on the given
property source
|
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 |
---|---|
IObservableMap |
SimpleValueProperty.observeDetail(IObservableSet master) |
IObservableMap |
IValueProperty.observeDetail(IObservableSet master)
Returns an observable map on the master observable's realm where the
map's key set is the specified master set, and where each key maps to the
current property value for each element.
|
IObservableMap |
ValueProperty.observeDetail(IObservableSet master) |
IObservableMap |
DelegatingValueProperty.observeDetail(IObservableSet master) |
Modifier and Type | Method and Description |
---|---|
IObservableSet |
MultiValidator.observeValidatedSet(IObservableSet target)
Returns a wrapper
IObservableSet which stays in sync with the
given target observable only when the validation status is valid. |
Modifier and Type | Method and Description |
---|---|
IObservableSet |
MultiValidator.observeValidatedSet(IObservableSet target)
Returns a wrapper
IObservableSet which stays in sync with the
given target observable only when the validation status is valid. |
Modifier and Type | Interface and Description |
---|---|
interface |
IViewerObservableSet
IObservableSet observing a JFace Viewer. |
Modifier and Type | Method and Description |
---|---|
IObservableSet |
ObservableSetTreeContentProvider.getKnownElements()
Returns the set of elements known to this content provider.
|
IObservableSet |
ObservableSetContentProvider.getKnownElements()
Returns the set of elements known to this content provider.
|
IObservableSet |
ObservableListTreeContentProvider.getKnownElements()
Returns the set of elements known to this content provider.
|
IObservableSet |
ObservableListContentProvider.getKnownElements()
Returns the set of elements known to this content provider.
|
IObservableSet |
ObservableSetTreeContentProvider.getRealizedElements()
Returns the set of known elements which have been realized in the viewer.
|
IObservableSet |
ObservableSetContentProvider.getRealizedElements()
Returns the set of known elements which have been realized in the viewer.
|
IObservableSet |
ObservableListTreeContentProvider.getRealizedElements()
Returns the set of known elements which have been realized in the viewer.
|
IObservableSet |
ObservableListContentProvider.getRealizedElements()
Returns the set of known elements which have been realized in the viewer.
|
IObservableSet |
ViewerSetProperty.observe(Object source) |
IObservableSet |
ViewerSetProperty.observe(Realm realm,
Object source) |
static IObservableSet |
ViewersObservables.observeCheckedElements(ICheckable checkable,
Object elementType)
Returns an observable set that tracks the checked elements of the given
ICheckable . |
Modifier and Type | Method and Description |
---|---|
static void |
ViewerSupport.bind(StructuredViewer viewer,
IObservableSet input,
IValueProperty labelProperty)
Binds the viewer to the specified input, using the specified label
property to generate labels.
|
static void |
ViewerSupport.bind(StructuredViewer viewer,
IObservableSet input,
IValueProperty[] labelProperties)
Binds the viewer to the specified input, using the specified label
properties to generate labels.
|
Constructor and Description |
---|
ListeningLabelProvider(IObservableSet itemsThatNeedLabels) |
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.