1 | public static IObservableValue observeValue(EditingDomain domain, EObject eObject, EStructuralFeature eStructuralFeature)↵ | | 1 | public static IObservableList observeList(EditingDomain domain, EObject eObject, EStructuralFeature eStructuralFeature)↵
|
2 | {↵ | | 2 | {↵
|
3 | return new EditingDomainEObjectObservableValue(domain, eObject, eStructuralFeature);↵ | | 3 | return new EditingDomainEObjectObservableList(domain, eObject, eStructuralFeature);↵
|
4 | }↵ | | 4 | }↵
|
|
5 | /**↵ | | 5 | /**↵
|
6 | * Returns an observable value for the given feature of the object.↵ | | 6 | * Returns an observable list for the given multi-valued feature of the object.↵
|
7 | * @param realm the realm in which to observe.↵ | | 7 | * @param realm the realm in which to observe.↵
|
8 | * @param domain the editing domain used for applying changes.↵ | | 8 | * @param domain the editing domain used for applying changes.↵
|
9 | * @param eObject the object to observe.↵ | | 9 | * @param eObject the object to observe.↵
|
10 | * @param eStructuralFeature the feature of the object to observe.↵ | | 10 | * @param eStructuralFeature the feature of the object to observe.↵
|
11 | * @return an observable value for the given feature of the object.↵ | | 11 | * @return an observable list for the given multi-valued feature of the object.↵
|
12 | */↵ | | 12 | */↵
|
13 | public static IObservableValue observeValue(Realm realm, EditingDomain domain, EObject eObject, EStructuralFeature eStructuralFeature)↵ | | 13 | public static IObservableList observeList(Realm realm, EditingDomain domain, EObject eObject, EStructuralFeature eStructuralFeature)↵
|
14 | {↵ | | 14 | {↵
|
15 | return new EditingDomainEObjectObservableValue(realm, domain, eObject, eStructuralFeature); | | 15 | return new EditingDomainEObjectObservableList(realm, domain, eObject, eStructuralFeature);
|