Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrschnekenbu2013-10-30 16:07:48 +0000
committerCamille Letavernier2013-11-06 11:48:51 +0000
commit876c2b25dfc80530298cd52ff533b8b0395c3e7b (patch)
treea8174d32df844509a8c7c79b70f25e277ea313ce /sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource
parent6e04b6ecc16fb4a0f3f9191533ab6d9980b33423 (diff)
downloadorg.eclipse.papyrus-876c2b25dfc80530298cd52ff533b8b0395c3e7b.tar.gz
org.eclipse.papyrus-876c2b25dfc80530298cd52ff533b8b0395c3e7b.tar.xz
org.eclipse.papyrus-876c2b25dfc80530298cd52ff533b8b0395c3e7b.zip
First support of the profile resource loading in case of control mode
Diffstat (limited to 'sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource')
-rw-r--r--sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource/src/org/eclipse/papyrus/uml/profile/externalresource/model/StereotypeApplicationExternalResourceModel.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource/src/org/eclipse/papyrus/uml/profile/externalresource/model/StereotypeApplicationExternalResourceModel.java b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource/src/org/eclipse/papyrus/uml/profile/externalresource/model/StereotypeApplicationExternalResourceModel.java
index ccd39aff4cd..dff5b807a7d 100644
--- a/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource/src/org/eclipse/papyrus/uml/profile/externalresource/model/StereotypeApplicationExternalResourceModel.java
+++ b/sandbox/ExternalResourceStereotypeApplication/org.eclipse.papyrus.uml.profile.externalresource/src/org/eclipse/papyrus/uml/profile/externalresource/model/StereotypeApplicationExternalResourceModel.java
@@ -125,6 +125,8 @@ public class StereotypeApplicationExternalResourceModel extends AbstractModel im
List<Resource> resources = new ArrayList<Resource>();
// get all profile applications resource to load from the strategy. do not care of the URI ?
UmlModel umlModel = (UmlModel)modelSet.getModel(UmlModel.MODEL_ID);
+
+ // should retrieve ALL uml files that contains elements that are owned directly or indirectly by the main model
try {
if(umlModel != null && umlModel.lookupRoot() != null) {
EObject root = umlModel.lookupRoot();

Back to the top