From b38a04b563f1da36e1f2d4c4ddc4003f92987ef0 Mon Sep 17 00:00:00 2001 From: lehtonen Date: Thu, 16 Sep 2010 23:08:26 +0000 Subject: [PATCH] Fixed bug in sysdyn ontology that prevented sysdyn project from launching. git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@17985 ac1ea38d-2e2b-0410-8846-a27921b304fc --- org.simantics.sysdyn.ontology/graph.tg | Bin 45348 -> 45376 bytes .../graph/Sysdyn.pgraph | 2 +- .../graph/WorkModel.pgraph | 4 ++-- .../org/simantics/sysdyn/SysdynResource.java | 3 +++ 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/org.simantics.sysdyn.ontology/graph.tg b/org.simantics.sysdyn.ontology/graph.tg index e05fd8b9c7a3de7d57978a764940a7dcb547f37c..6ae5d27e16849e3057f552732af8af516bc021ff 100644 GIT binary patch delta 62 zcmZ4Ti0Qy1rVZ?jjQN{6822;F2rw`(FmnM3A0NMY*;sT`N0 : L0.Ontology @L0.new L0.HasResourceClass "org.simantics.sysdyn.SysdynResource" -ImportedOntologies : PROJ.NamespaceRequirement +SYSDYN.ImportedOntologies : PROJ.NamespaceRequirement L0.HasDescription "Specifies the ontologies required by a Sysdyn project." PROJ.RequiresNamespace "http://www.simantics.org/Sysdyn-1.0" : L0.URI diff --git a/org.simantics.sysdyn.ontology/graph/WorkModel.pgraph b/org.simantics.sysdyn.ontology/graph/WorkModel.pgraph index be523fe4..038af8d4 100644 --- a/org.simantics.sysdyn.ontology/graph/WorkModel.pgraph +++ b/org.simantics.sysdyn.ontology/graph/WorkModel.pgraph @@ -13,12 +13,12 @@ PROJ = /* WM = : PROJ.Project - PROJ.HasFeature "org.simantics.sysdyn.feature/1.1.0" + PROJ.HasFeature "org.simantics.sysdyn.feature.group" L0.PartOf */ WM = : PROJ.Project - PROJ.HasFeature "org.simantics.sysdyn.feature/1.1.0" + PROJ.HasFeature "org.simantics.sysdyn.feature.group" L0.PartOf TAGS = WM.Tags : L0.Library diff --git a/org.simantics.sysdyn.ontology/src/org/simantics/sysdyn/SysdynResource.java b/org.simantics.sysdyn.ontology/src/org/simantics/sysdyn/SysdynResource.java index 2055e855..6bda5985 100644 --- a/org.simantics.sysdyn.ontology/src/org/simantics/sysdyn/SysdynResource.java +++ b/org.simantics.sysdyn.ontology/src/org/simantics/sysdyn/SysdynResource.java @@ -195,6 +195,7 @@ public class SysdynResource { public final Resource HasY; public final Resource HasY_Inverse; public final Resource HistoryRealization; + public final Resource ImportedOntologies; public final Resource IndependentVariable; public final Resource Input; public final Resource InputSymbol; @@ -405,6 +406,7 @@ public class SysdynResource { public static final String HasY = "http://www.simantics.org/Sysdyn-1.0/HasY"; public static final String HasY_Inverse = "http://www.simantics.org/Sysdyn-1.0/HasY/Inverse"; public static final String HistoryRealization = "http://www.simantics.org/Sysdyn-1.0/HistoryRealization"; + public static final String ImportedOntologies = "http://www.simantics.org/Sysdyn-1.0/ImportedOntologies"; public static final String IndependentVariable = "http://www.simantics.org/Sysdyn-1.0/IndependentVariable"; public static final String Input = "http://www.simantics.org/Sysdyn-1.0/Input"; public static final String InputSymbol = "http://www.simantics.org/Sysdyn-1.0/InputSymbol"; @@ -625,6 +627,7 @@ public class SysdynResource { HasY = getResourceOrNull(graph, URIs.HasY); HasY_Inverse = getResourceOrNull(graph, URIs.HasY_Inverse); HistoryRealization = getResourceOrNull(graph, URIs.HistoryRealization); + ImportedOntologies = getResourceOrNull(graph, URIs.ImportedOntologies); IndependentVariable = getResourceOrNull(graph, URIs.IndependentVariable); Input = getResourceOrNull(graph, URIs.Input); InputSymbol = getResourceOrNull(graph, URIs.InputSymbol); -- 2.47.1