From ed82008e8753bc5b3bd745d7ac4eef89317d07cd Mon Sep 17 00:00:00 2001 From: lempinen Date: Tue, 29 Oct 2013 14:24:42 +0000 Subject: [PATCH] Updated simupedia references to sysdyn import refs #3511 git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28151 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../org/simantics/sysdyn/utils/imports/ImportUtils.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/org.simantics.sysdyn/src/org/simantics/sysdyn/utils/imports/ImportUtils.java b/org.simantics.sysdyn/src/org/simantics/sysdyn/utils/imports/ImportUtils.java index 2f2632e8..773e450c 100644 --- a/org.simantics.sysdyn/src/org/simantics/sysdyn/utils/imports/ImportUtils.java +++ b/org.simantics.sysdyn/src/org/simantics/sysdyn/utils/imports/ImportUtils.java @@ -324,9 +324,8 @@ public class ImportUtils { for(Resource link : graph.getObjects(modelRoot, L0.IsLinkedTo)) links.add(graph.getURI(link)); - - if(!links.contains("http://www.simantics.org/Documentation-1.1")) { - Resource documentation = graph.getPossibleResource("http://www.simantics.org/Documentation-1.1"); + if(!links.contains("http://www.semantum.fi/Simupedia-1.0")) { + Resource documentation = graph.getPossibleResource("http://www.semantum.fi/Simupedia-1.0"); if(documentation != null) graph.claim(modelRoot, L0.IsLinkedTo, documentation); } @@ -337,8 +336,8 @@ public class ImportUtils { graph.claim(modelRoot, L0.IsLinkedTo, selectionView); } - if(!links.contains("http://www.simantics.org/DocumentWorkbench-1.0")) { - Resource documentWb = graph.getPossibleResource("http://www.simantics.org/DocumentWorkbench-1.0"); + if(!links.contains("http://www.semantum.fi/SimupediaWorkbench-1.0")) { + Resource documentWb = graph.getPossibleResource("http://www.semantum.fi/SimupediaWorkbench-1.0"); if(documentWb != null) graph.claim(modelRoot, L0.IsLinkedTo, documentWb); } -- 2.47.1