]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Hidden element support for buttons and horizontal and vertical layouts. Update everyt...
authorlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Fri, 27 Dec 2013 09:20:21 +0000 (09:20 +0000)
committerlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Fri, 27 Dec 2013 09:20:21 +0000 (09:20 +0000)
refs #3511

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

org.simantics.sysdyn/src/org/simantics/sysdyn/utils/DocumentationUtils.java

index 76431cc899d53bfb27687fed9833d0c2acbbfe9f..296c0ddd62e31401d45b06374d956a947711a365 100644 (file)
@@ -94,7 +94,7 @@ public class DocumentationUtils {
         if(!graph.isInstanceOf(experiment.getRepresents(graph), SIMU.Experiment))\r
             return Collections.emptyList();\r
 \r
-        Resource roleType = graph.getPossibleResource("http://www.simantics.org/Documentation-1.1/Role");\r
+        Resource roleType = graph.getPossibleResource("http://www.semantum.fi/Simupedia-1.0/Role");\r
         if(roleType == null)\r
             return Collections.emptyList();\r
         \r
@@ -112,7 +112,7 @@ public class DocumentationUtils {
         if(model == null)\r
             return Collections.emptyList();\r
         \r
-        Resource documentType = graph.getPossibleResource("http://www.simantics.org/Documentation-1.1/Document");\r
+        Resource documentType = graph.getPossibleResource("http://www.simantics.org/Documentation-1.2/Document");\r
         if(documentType == null)\r
             return Collections.emptyList();\r
         \r
@@ -139,7 +139,7 @@ public class DocumentationUtils {
     }\r
     \r
     public static List<org.simantics.db.layer0.variable.Variable> getIndexDocuments(ReadGraph graph, org.simantics.db.layer0.variable.Variable project) throws DatabaseException {\r
-        Resource indexRelation = graph.getPossibleResource("http://www.simantics.org/Documentation-1.1/indexDocument");\r
+        Resource indexRelation = graph.getPossibleResource("http://www.semantum.fi/Simupedia-1.0/indexDocument");\r
 \r
         if(indexRelation == null)\r
             return Collections.emptyList();\r