1 | protected Map<EObject, Collection<EStructuralFeature.Setting>> findExternalCrossReferences()↵ | | 1 | protected Map<EObject, Collection<EStructuralFeature.Setting>> findProxyCrossReferences()↵
|
2 | {↵ | | 2 | {↵
|
3 | crossReference();↵ | | 3 | crossReference();↵
|
4 | done();↵ | | 4 | done();↵
|
5 | return this;↵ | | 5 | return this;↵
|
6 | }↵ | | 6 | }↵
|
|
7 | /**↵ | | 7 | /**↵
|
8 | * Returns a map of all external cross references from the specified content tree.↵ | | 8 | * Returns a map of all proxy references from the specified content tree.↵
|
9 | * @param eObject an object whose content trees should be considered.↵ | | 9 | * @param eObject an object whose content trees should be considered.↵
|
10 | * @return a map of cross references.↵ | | 10 | * @return a map of cross references.↵
|
11 | */↵ | | 11 | */↵
|
12 | public static Map<EObject, Collection<EStructuralFeature.Setting>> find(EObject eObject)↵ | | 12 | public static Map<EObject, Collection<EStructuralFeature.Setting>> find(EObject eObject)↵
|
13 | {↵ | | 13 | {↵
|
14 | return new ExternalCrossReferencer(eObject).findExternalCrossReferences();↵ | | 14 | return new ProxyCrossReferencer(eObject).findProxyCrossReferences();↵
|
15 | }↵ | | 15 | }↵
|
|
16 | /**↵ | | 16 | /**↵
|
17 | * Returns a map of all external cross references from the specified content tree.↵ | | 17 | * Returns a map of all proxy references from the specified content tree.↵
|
18 | * @param resource a resource whose content tree should be considered.↵ | | 18 | * @param resource a resource whose content tree should be considered.↵
|
19 | * @return a map of cross references.↵ | | 19 | * @return a map of cross references.↵
|
20 | */↵ | | 20 | */↵
|
21 | public static Map<EObject, Collection<EStructuralFeature.Setting>> find(Resource resource)↵ | | 21 | public static Map<EObject, Collection<EStructuralFeature.Setting>> find(Resource resource)↵
|
22 | {↵ | | 22 | {↵
|
23 | return new ExternalCrossReferencer(resource).findExternalCrossReferences();↵ | | 23 | return new ProxyCrossReferencer(resource).findProxyCrossReferences();↵
|
24 | }↵ | | 24 | }↵
|
|
25 | /**↵ | | 25 | /**↵
|
26 | * Returns a map of all external cross references from the specified content tree.↵ | | 26 | * Returns a map of all proxy references from the specified content tree.↵
|
27 | * @param resourceSet a resourceSet whose content tree should be considered.↵ | | 27 | * @param resourceSet a resourceSet whose content tree should be considered.↵
|
28 | * @return a map of cross references.↵ | | 28 | * @return a map of cross references.↵
|
29 | */↵ | | 29 | */↵
|
30 | public static Map<EObject, Collection<EStructuralFeature.Setting>> find(ResourceSet resourceSet)↵ | | 30 | public static Map<EObject, Collection<EStructuralFeature.Setting>> find(ResourceSet resourceSet)↵
|
31 | {↵ | | 31 | {↵
|
32 | return new ExternalCrossReferencer(resourceSet).findExternalCrossReferences();↵ | | 32 | return new ProxyCrossReferencer(resourceSet).findProxyCrossReferences();↵
|
33 | }↵ | | 33 | }↵
|
|
34 | /**↵ | | 34 | /**↵
|
35 | * Returns a map of all external cross references from the combined content trees of the specified collection of objects.↵ | | 35 | * Returns a map of all proxy references from the specified content tree.↵
|
36 | * @param emfObjectsToSearch a collection of objects whose combined content trees should be considered.↵ | | 36 | * @param emfObjects a collection of objects whose combined content trees should be considered.↵
|
37 | * @return a map of cross references.↵ | | 37 | * @return a map of cross references.↵
|
38 | */↵ | | 38 | */↵
|
39 | public static Map<EObject, Collection<EStructuralFeature.Setting>> find(Collection<?> emfObjectsToSearch)↵ | | 39 | public static Map<EObject, Collection<EStructuralFeature.Setting>> find(Collection<?> emfObjects)↵
|
40 | {↵ | | 40 | {↵
|
41 | return new ExternalCrossReferencer(emfObjectsToSearch).findExternalCrossReferences(); | | 41 | return new ProxyCrossReferencer(emfObjects).findProxyCrossReferences();
|