|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.databinding.EMFObservables
public class EMFObservables
PROVISIONAL: This API is subject to arbitrary change, including renaming or removal.
Constructor Summary | |
---|---|
EMFObservables()
|
Method Summary | |
---|---|
static IObservableFactory |
listFactory(Realm realm,
EStructuralFeature eStructuralFeature)
Returns a factory for creating observable lists tracking the value of the given feature of a particular object . |
static IObservableFactory |
mapFactory(EStructuralFeature eStructuralFeature)
Returns a factory for creating observable maps tracking the value of the given feature of a particular object . |
static IObservableList |
observeDetailList(Realm realm,
IObservableValue value,
EStructuralFeature eStructuralFeature)
Returns an observable list that tracks the current value of the feature of the current value of the master observable value. |
static IObservableValue |
observeDetailValue(Realm realm,
IObservableValue value,
EStructuralFeature eStructuralFeature)
Returns an observable value that tracks the current value of the feature of the current value of the master observable value. |
static IObservableList |
observeList(EObject eObject,
EStructuralFeature eStructuralFeature)
Returns an observable list for the given multi-valued feature of the object. |
static IObservableList |
observeList(Realm realm,
EObject eObject,
EStructuralFeature eStructuralFeature)
Returns an observable list for the given multi-valued feature of the object. |
static IObservableMap |
observeMap(IObservableSet objects,
EStructuralFeature eStructuralFeature)
Returns an observable map in the default realm tracking the current value of the given feature for each object in the given set. |
static IObservableMap[] |
observeMaps(IObservableSet objects,
EStructuralFeature[] eStructuralFeatures)
Returns an array of observable maps in the default realm tracking the current value of the given features for each object in the given set. |
static IObservableList |
observeResourceContents(Resource resource)
Returns an observable for the resource contents ( Resource.getContents() ) |
static IObservableValue |
observeValue(EObject eObject,
EStructuralFeature eStructuralFeature)
Returns an observable value for the given feature of the object. |
static IObservableValue |
observeValue(Realm realm,
EObject eObject,
EStructuralFeature eStructuralFeature)
Returns an observable value for the given feature of the object. |
static IObservableFactory |
valueFactory(Realm realm,
EStructuralFeature eStructuralFeature)
Returns a factory for creating observable values tracking the value of the given feature of a particular object . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EMFObservables()
Method Detail |
---|
public static IObservableValue observeValue(EObject eObject, EStructuralFeature eStructuralFeature)
eObject
- the object to observe.eStructuralFeature
- the feature of the object to observe.
public static IObservableValue observeValue(Realm realm, EObject eObject, EStructuralFeature eStructuralFeature)
realm
- the realm in which to observe.eObject
- the object to observe.eStructuralFeature
- the feature of the object to observe.
public static IObservableList observeList(EObject eObject, EStructuralFeature eStructuralFeature)
eObject
- the object to observe.eStructuralFeature
- the feature of the object to observe.
public static IObservableList observeList(Realm realm, EObject eObject, EStructuralFeature eStructuralFeature)
realm
- the realm in which to observe.eObject
- the object to observe.eStructuralFeature
- the feature of the object to observe.
public static IObservableMap observeMap(IObservableSet objects, EStructuralFeature eStructuralFeature)
objects
- the objects to track.eStructuralFeature
- the feature for which to track the value.
public static IObservableMap[] observeMaps(IObservableSet objects, EStructuralFeature[] eStructuralFeatures)
objects
- the objects to track.eStructuralFeatures
- the features for which to track the value.
public static IObservableValue observeDetailValue(Realm realm, IObservableValue value, EStructuralFeature eStructuralFeature)
realm
- the realm in which to observe.value
- the master observable value.eStructuralFeature
- the feature for which to track the value.
MasterDetailObservables.detailValue(IObservableValue, IObservableFactory, Object)
public static IObservableFactory valueFactory(Realm realm, EStructuralFeature eStructuralFeature)
object
.
realm
- the realm in which to observe.eStructuralFeature
- the feature for which to track the value.
public static IObservableList observeDetailList(Realm realm, IObservableValue value, EStructuralFeature eStructuralFeature)
realm
- the realm in which to observe.value
- the master observable value.eStructuralFeature
- the feature for which to track the value.
MasterDetailObservables.detailList(IObservableValue, IObservableFactory, Object)
public static IObservableFactory listFactory(Realm realm, EStructuralFeature eStructuralFeature)
object
.
realm
- the realm in which to observe.eStructuralFeature
- the feature for which to track the value.
public static IObservableFactory mapFactory(EStructuralFeature eStructuralFeature)
object
.
eStructuralFeature
- the feature for which to track the value.
public static IObservableList observeResourceContents(Resource resource)
Resource.getContents()
)
resource
- the resources the content should be observed
|
Copyright 2001-2012 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |