]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Updated simupedia references to sysdyn import
authorlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 29 Oct 2013 14:24:42 +0000 (14:24 +0000)
committerlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 29 Oct 2013 14:24:42 +0000 (14:24 +0000)
refs #3511

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28151 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.sysdyn/src/org/simantics/sysdyn/utils/imports/ImportUtils.java

index 2f2632e8b7651806f5e8c5fa64a254930bfc9225..773e450cfc8e0fb6e4a6108de7207013af952f1a 100644 (file)
@@ -324,9 +324,8 @@ public class ImportUtils {
         for(Resource link : graph.getObjects(modelRoot, L0.IsLinkedTo))\r
             links.add(graph.getURI(link));\r
 \r
-\r
-        if(!links.contains("http://www.simantics.org/Documentation-1.1")) {\r
-            Resource documentation = graph.getPossibleResource("http://www.simantics.org/Documentation-1.1");\r
+        if(!links.contains("http://www.semantum.fi/Simupedia-1.0")) {\r
+            Resource documentation = graph.getPossibleResource("http://www.semantum.fi/Simupedia-1.0");\r
             if(documentation != null)\r
                 graph.claim(modelRoot, L0.IsLinkedTo, documentation);\r
         }\r
@@ -337,8 +336,8 @@ public class ImportUtils {
                 graph.claim(modelRoot, L0.IsLinkedTo, selectionView);\r
         }\r
 \r
-        if(!links.contains("http://www.simantics.org/DocumentWorkbench-1.0")) {\r
-            Resource documentWb = graph.getPossibleResource("http://www.simantics.org/DocumentWorkbench-1.0");\r
+        if(!links.contains("http://www.semantum.fi/SimupediaWorkbench-1.0")) {\r
+            Resource documentWb = graph.getPossibleResource("http://www.semantum.fi/SimupediaWorkbench-1.0");\r
             if(documentWb != null)\r
                 graph.claim(modelRoot, L0.IsLinkedTo, documentWb);\r
         }\r