From: lempinen Date: Fri, 27 Dec 2013 09:20:21 +0000 (+0000) Subject: Hidden element support for buttons and horizontal and vertical layouts. Update everyt... X-Git-Tag: 1.8.1~178 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=2e97558dc4643b3180e9695f7a36ac553d6becd2;p=simantics%2Fsysdyn.git Hidden element support for buttons and horizontal and vertical layouts. Update everything when input changes. refs #3511 git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28577 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.sysdyn/src/org/simantics/sysdyn/utils/DocumentationUtils.java b/org.simantics.sysdyn/src/org/simantics/sysdyn/utils/DocumentationUtils.java index 76431cc8..296c0ddd 100644 --- a/org.simantics.sysdyn/src/org/simantics/sysdyn/utils/DocumentationUtils.java +++ b/org.simantics.sysdyn/src/org/simantics/sysdyn/utils/DocumentationUtils.java @@ -94,7 +94,7 @@ public class DocumentationUtils { if(!graph.isInstanceOf(experiment.getRepresents(graph), SIMU.Experiment)) return Collections.emptyList(); - Resource roleType = graph.getPossibleResource("http://www.simantics.org/Documentation-1.1/Role"); + Resource roleType = graph.getPossibleResource("http://www.semantum.fi/Simupedia-1.0/Role"); if(roleType == null) return Collections.emptyList(); @@ -112,7 +112,7 @@ public class DocumentationUtils { if(model == null) return Collections.emptyList(); - Resource documentType = graph.getPossibleResource("http://www.simantics.org/Documentation-1.1/Document"); + Resource documentType = graph.getPossibleResource("http://www.simantics.org/Documentation-1.2/Document"); if(documentType == null) return Collections.emptyList(); @@ -139,7 +139,7 @@ public class DocumentationUtils { } public static List getIndexDocuments(ReadGraph graph, org.simantics.db.layer0.variable.Variable project) throws DatabaseException { - Resource indexRelation = graph.getPossibleResource("http://www.simantics.org/Documentation-1.1/indexDocument"); + Resource indexRelation = graph.getPossibleResource("http://www.semantum.fi/Simupedia-1.0/indexDocument"); if(indexRelation == null) return Collections.emptyList();