]> gerrit.simantics Code Review - simantics/interop.git/blobdiff - org.simantics.interop/graph/Interop.pgraph
Ability to store selected data for model updates.
[simantics/interop.git] / org.simantics.interop / graph / Interop.pgraph
index ef6359ab16589dba4e8d5b506c866e0696fafa8d..f852b043cc3ca95c56346f2d6c50478750172795 100644 (file)
@@ -1,9 +1,8 @@
 L0 = <http://www.simantics.org/Layer0-1.0>\r
-PROJ = <http://www.simantics.org/Project-1.0>\r
-\r
-MOD = <http://www.simantics.org/Modeling-1.0>\r
-VP = <http://www.simantics.org/Viewpoint-1.0>\r
+PROJ = <http://www.simantics.org/Project-1.1>\r
 \r
+MOD = <http://www.simantics.org/Modeling-1.1>\r
+VP = <http://www.simantics.org/Viewpoint-1.1>\r
 \r
     \r
 INTEROP = <http://www.simantics.org/Interop-1.0> : L0.Ontology\r
@@ -12,17 +11,27 @@ INTEROP = <http://www.simantics.org/Interop-1.0> : L0.Ontology
    \r
 INTEROP.HasImportData <R L0.IsWeaklyRelatedTo\r
     L0.InverseOf INTEROP.ImportDataOf <R L0.IsWeaklyRelatedTo\r
-   \r
+\r
+// Root node of imported data   \r
 INTEROP.ImportLibrary <T L0.Library\r
 \r
+// Relation from generated model to its input data (Import Library).\r
 INTEROP.HasSource <R L0.IsWeaklyRelatedTo\r
     L0.InverseOf INTEROP.HasDestination <R L0.IsWeaklyRelatedTo\r
+    L0.HasRange INTEROP.ImportLibrary\r
+\r
+// Relation from generated model to its input data (User selected resources in imported data).    \r
+INTEROP.HasInputResource <R L0.IsWeaklyRelatedTo\r
 \r
+// Id of the generator, which generated the model.\r
 INTEROP.HasGeneratorID <R L0.HasProperty\r
     L0.HasRange L0.String\r
+\r
     \r
 IBC = INTEROP.InteropBrowseContext : VP.BrowseContext\r
     VP.BrowseContext.IsIncludedIn MOD.ModelingBrowseContext\r
+    \r
+\r
 \r
 INTEROP.INodeType <T VP.NodeType\r
    @L0.assert VP.HasContentType "org.simantics.interop.browsing.INode"\r