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.map | |
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 |
---|---|
IObservableMap |
DataBindingContext.getValidationStatusMap()
Deprecated.
as of 1.1, please use
DataBindingContext.getValidationStatusProviders() |
Modifier and Type | Method and Description |
---|---|
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 IObservableMap |
BeansObservables.observeMap(IObservableSet domain,
Class beanClass,
String propertyName)
Deprecated.
use
BeanProperties instead |
static IObservableMap |
PojoObservables.observeMap(IObservableSet domain,
Class pojoClass,
String propertyName)
Deprecated.
use
PojoProperties instead |
static IObservableMap |
BeansObservables.observeMap(IObservableSet domain,
String propertyName)
Deprecated.
use
BeanProperties instead |
static IObservableMap |
PojoObservables.observeMap(IObservableSet domain,
String propertyName)
Deprecated.
use
PojoProperties instead |
static IObservableMap |
BeansObservables.observeMap(Object bean,
String propertyName)
Deprecated.
use
BeanProperties instead |
static IObservableMap |
PojoObservables.observeMap(Object pojo,
String propertyName)
Deprecated.
use
PojoProperties instead |
static IObservableMap |
BeansObservables.observeMap(Object bean,
String propertyName,
Class keyType,
Class valueType)
Deprecated.
use
BeanProperties instead |
static IObservableMap |
PojoObservables.observeMap(Object pojo,
String propertyName,
Class keyType,
Class valueType)
Deprecated.
use
PojoProperties instead |
static IObservableMap |
BeansObservables.observeMap(Realm realm,
Object bean,
String propertyName)
Deprecated.
use
BeanProperties instead |
static IObservableMap |
PojoObservables.observeMap(Realm realm,
Object pojo,
String propertyName)
Deprecated.
use
PojoProperties instead |
static IObservableMap |
BeansObservables.observeMap(Realm realm,
Object bean,
String propertyName,
Class keyType,
Class valueType)
Deprecated.
use
BeanProperties instead |
static IObservableMap |
PojoObservables.observeMap(Realm realm,
Object pojo,
String propertyName,
Class keyType,
Class valueType)
Deprecated.
use
PojoProperties instead |
static IObservableMap[] |
BeansObservables.observeMaps(IObservableSet domain,
Class beanClass,
String[] propertyNames)
Deprecated.
use
BeanProperties instead |
static IObservableMap[] |
PojoObservables.observeMaps(IObservableSet domain,
Class pojoClass,
String[] propertyNames)
Deprecated.
use
PojoProperties instead |
static IObservableMap[] |
BeansObservables.observeMaps(IObservableSet domain,
String[] propertyNames)
Deprecated.
use
BeanProperties instead |
static IObservableMap[] |
PojoObservables.observeMaps(IObservableSet domain,
String[] propertyNames)
Deprecated.
use
PojoProperties instead |
Modifier and Type | Method and Description |
---|---|
static <K,V> IObservableMap<K,V> |
Observables.proxyObservableMap(IObservableMap<K,V> target)
Returns an observable map that contains the same entries as the given
map, and fires the same events as the given map, but can be disposed of
without disposing of the wrapped map.
|
static <K,V> IObservableMap<K,V> |
Observables.unmodifiableObservableMap(IObservableMap<K,V> map)
Returns an unmodifiable observable map backed by the given observable
map.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> IObservableFactory<K,IObservableValue<V>> |
Observables.mapEntryValueFactory(IObservableMap<K,V> map,
Object valueType)
Returns a factory for creating observable values tracking the value of
the
observable map entry identified by a
particular key. |
static <K,V> IObservableValue<V> |
Observables.observeDetailMapEntry(IObservableMap<K,V> map,
IObservableValue<K> master,
Object valueType)
Helper method for
MasterDetailObservables.detailValue(master,
mapEntryValueFactory(map, valueType), valueType) . |
static <K,V> IObservableValue<V> |
Observables.observeMapEntry(IObservableMap<K,V> map,
K key)
Returns an observable value that tracks changes to the value of an
observable map's entry specified by its key.
|
static <K,V> IObservableValue<V> |
Observables.observeMapEntry(IObservableMap<K,V> map,
K key,
Object valueType)
Returns an observable value that tracks changes to the value of an
observable map's entry specified by its key.
|
static <K,V> IObservableMap<K,V> |
Observables.proxyObservableMap(IObservableMap<K,V> target)
Returns an observable map that contains the same entries as the given
map, and fires the same events as the given map, but can be disposed of
without disposing of the wrapped map.
|
static <K,V> IObservableMap<K,V> |
Observables.unmodifiableObservableMap(IObservableMap<K,V> map)
Returns an unmodifiable observable map backed by the given 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 | Method and Description |
---|---|
IObservableMap<K,V> |
MapChangeEvent.getObservableMap()
Returns the observable map from which this event originated.
|
Constructor and Description |
---|
BidiObservableMap(IObservableMap<K,V> wrappedMap)
Constructs a BidirectionalMap tracking the given observable map.
|
BidirectionalMap(IObservableMap<K,V> wrappedMap)
Deprecated.
|
CompositeMap(IObservableMap<K,I> firstMap,
IObservableFactory<Set<I>,IObservableMap<I,V>> secondMapFactory)
Creates a new composite map.
|
DecoratingObservableMap(IObservableMap<K,V> decorated,
boolean disposeDecoratedOnDispose)
Constructs a DecoratingObservableMap which decorates the given
observable.
|
MapChangeEvent(IObservableMap<K,V> source,
MapDiff<K,V> diff)
Creates a new map change event
|
Constructor and Description |
---|
CompositeMap(IObservableMap<K,I> firstMap,
IObservableFactory<Set<I>,IObservableMap<I,V>> secondMapFactory)
Creates a new composite map.
|
Modifier and Type | Method and Description |
---|---|
static <M,K,V> IObservableMap<K,V> |
MasterDetailObservables.detailMap(IObservableValue<M> master,
IObservableFactory<? super M,IObservableMap<K,V>> detailFactory,
Object detailKeyType,
Object detailValueType)
Creates a detail observable map from a master observable value and a
factory.
|
static <M,K,V> IObservableMap<K,V> |
MasterDetailObservables.detailMap(IObservableValue<M> master,
IObservableFactory<M,IObservableMap<K,V>> detailFactory)
Creates a detail observable map from a master observable value and a
factory.
|
static <K,M,E> IObservableMap<K,E> |
MasterDetailObservables.detailValues(IObservableMap<K,M> masterMap,
IObservableFactory<? super M,IObservableValue<E>> detailFactory,
Object detailType)
Returns a detail observable map where the map's key set is the same as
the one of the given master observable map, and where each value is the
detail value of the corresponding value in the master observable map.
|
static <M,E> IObservableMap<M,E> |
MasterDetailObservables.detailValues(IObservableSet<M> masterSet,
IObservableFactory<? super M,IObservableValue<E>> 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 | Method and Description |
---|---|
static <K,M,E> IObservableMap<K,E> |
MasterDetailObservables.detailValues(IObservableMap<K,M> masterMap,
IObservableFactory<? super M,IObservableValue<E>> detailFactory,
Object detailType)
Returns a detail observable map where the map's key set is the same as
the one of the given master observable map, and where each value is the
detail value of the corresponding value in the master observable map.
|
Modifier and Type | Method and Description |
---|---|
static <M,K,V> IObservableMap<K,V> |
MasterDetailObservables.detailMap(IObservableValue<M> master,
IObservableFactory<? super M,IObservableMap<K,V>> detailFactory,
Object detailKeyType,
Object detailValueType)
Creates a detail observable map from a master observable value and a
factory.
|
static <M,K,V> IObservableMap<K,V> |
MasterDetailObservables.detailMap(IObservableValue<M> master,
IObservableFactory<M,IObservableMap<K,V>> detailFactory)
Creates a detail observable map from a master observable value and a
factory.
|
Constructor and Description |
---|
MappedSet(IObservableSet input,
IObservableMap map)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static <K,V,P> IObservableMap<K,? extends P>[] |
Properties.observeEach(IObservableMap<K,V> domainMap,
IValueProperty<? super V,? extends P>... properties)
Returns an array of observable maps where each maps observes the
corresponding value property on all elements in the given domain map's
values collection, for each property in the given
array. |
static <E,P> IObservableMap<E,? extends P>[] |
Properties.observeEach(IObservableSet<E> domainSet,
IValueProperty<? super E,? extends P>... 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 |
---|---|
static <K,V,P> IObservableMap<K,? extends P>[] |
Properties.observeEach(IObservableMap<K,V> domainMap,
IValueProperty<? super V,? extends P>... properties)
Returns an array of observable maps where each maps observes the
corresponding value property on all elements in the given domain map's
values collection, for each property in the given
array. |
Modifier and Type | Method and Description |
---|---|
IObservableMap<K,V> |
DelegatingMapProperty.observe(Realm realm,
S source) |
IObservableMap<K,V> |
IMapProperty.observe(Realm realm,
S source)
Returns an observable map observing this map property on the given
property source
|
IObservableMap<K,V> |
SimpleMapProperty.observe(Realm realm,
S source) |
IObservableMap<K,V> |
DelegatingMapProperty.observe(S source) |
IObservableMap<K,V> |
MapProperty.observe(S source) |
IObservableMap<K,V> |
IMapProperty.observe(S source)
Returns an observable map observing this map property on the given
property source
|
<U extends S> |
MapProperty.observeDetail(IObservableValue<U> master) |
<U extends S> |
IMapProperty.observeDetail(IObservableValue<U> 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 |
---|---|
IObservableFactory<S,IObservableMap<K,V>> |
MapProperty.mapFactory() |
IObservableFactory<S,IObservableMap<K,V>> |
IMapProperty.mapFactory()
Returns a factory for creating observable maps tracking this property of
a particular property source.
|
IObservableFactory<S,IObservableMap<K,V>> |
MapProperty.mapFactory(Realm realm) |
IObservableFactory<S,IObservableMap<K,V>> |
IMapProperty.mapFactory(Realm realm)
Returns a factory for creating observable maps in the given realm,
tracking this property of a particular property source.
|
Modifier and Type | Method and Description |
---|---|
<K,V extends S> |
SimpleValueProperty.observeDetail(IObservableMap<K,V> master) |
<K,V extends S> |
IValueProperty.observeDetail(IObservableMap<K,V> master)
Returns an observable map on the master observable's realm where the
map's key set is the same as the master observable map, and where each
value is the property value of the corresponding value in the master
observable map.
|
<K,V extends S> |
ValueProperty.observeDetail(IObservableMap<K,V> master) |
<K,V extends S> |
DelegatingValueProperty.observeDetail(IObservableMap<K,V> master) |
<M extends S> |
IValueProperty.observeDetail(IObservableSet<M> 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.
|
<U extends S> |
SimpleValueProperty.observeDetail(IObservableSet<U> master) |
<U extends S> |
DelegatingValueProperty.observeDetail(IObservableSet<U> master) |
<V extends S> |
ValueProperty.observeDetail(IObservableSet<V> master) |
Modifier and Type | Method and Description |
---|---|
<K,V extends S> |
SimpleValueProperty.observeDetail(IObservableMap<K,V> master) |
<K,V extends S> |
IValueProperty.observeDetail(IObservableMap<K,V> master)
Returns an observable map on the master observable's realm where the
map's key set is the same as the master observable map, and where each
value is the property value of the corresponding value in the master
observable map.
|
<K,V extends S> |
ValueProperty.observeDetail(IObservableMap<K,V> master) |
<K,V extends S> |
DelegatingValueProperty.observeDetail(IObservableMap<K,V> master) |
Modifier and Type | Method and Description |
---|---|
IObservableMap |
MultiValidator.observeValidatedMap(IObservableMap target)
Returns a wrapper
IObservableMap which stays in sync with the
given target observable only when the validation status is valid. |
Modifier and Type | Method and Description |
---|---|
IObservableMap |
MultiValidator.observeValidatedMap(IObservableMap target)
Returns a wrapper
IObservableMap which stays in sync with the
given target observable only when the validation status is valid. |
Modifier and Type | Field and Description |
---|---|
protected IObservableMap[] |
ObservableMapLabelProvider.attributeMaps
Observable maps typically mapping from viewer elements to label values.
|
protected IObservableMap[] |
ObservableMapCellLabelProvider.attributeMaps
Observable maps typically mapping from viewer elements to label values.
|
Constructor and Description |
---|
ObservableMapCellLabelProvider(IObservableMap attributeMap)
Creates a new label provider that tracks changes to one attribute.
|
ObservableMapCellLabelProvider(IObservableMap[] attributeMaps)
Creates a new label provider that tracks changes to more than one
attribute.
|
ObservableMapLabelProvider(IObservableMap attributeMap) |
ObservableMapLabelProvider(IObservableMap[] attributeMaps) |
Copyright (c) 2000, 2016 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.