DiagramResource DIA = DiagramResource.getInstance(graph);
ArrayList<Resource> result = new ArrayList<Resource>();
+
+ result.addAll(graph.syncRequest(new ProfileEntryContributions(resource)));
+
Resource activeProfile = graph.getPossibleObject(resource, DIA.RuntimeDiagram_HasRuntimeProfile);
if (activeProfile == null) {
activeProfile = available.iterator().next().getResource();
}
-
+
Resource rootEntries = graph.getPossibleObject(activeProfile, DIA.HasEntries);
if (rootEntries == null)
return result;
- return graph.syncRequest(new ProfileActiveEntryResources(activeProfile, rootEntries));
+ result.addAll(graph.syncRequest(new ProfileActiveEntryResources(activeProfile, rootEntries)));
+
+ return result;
}