]> gerrit.simantics Code Review - simantics/interop.git/blobdiff - org.simantics.interop/graph/Interop.pgraph
StructuralBrowser Interop contribution
[simantics/interop.git] / org.simantics.interop / graph / Interop.pgraph
index ae2fd712048624e91f8dbf2b3ed78d29aa9a3ce0..e69b289f839ffca69c3bdb37fa8de5b1a0e5819e 100644 (file)
@@ -1,6 +1,10 @@
 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
+\r
+\r
     \r
 INTEROP = <http://www.simantics.org/Interop-1.0> : L0.Ontology\r
     L0.HasResourceClass "org.simantics.interop.stubs.InteropResource"\r
@@ -13,3 +17,19 @@ INTEROP.ImportLibrary <T L0.Library
 \r
 INTEROP.HasSource <R L0.IsWeaklyRelatedTo\r
     L0.InverseOf INTEROP.HasDestination <R L0.IsWeaklyRelatedTo\r
+    \r
+IBC = INTEROP.InteropBrowseContext : VP.BrowseContext\r
+    VP.BrowseContext.IsIncludedIn MOD.ModelingBrowseContext\r
+\r
+INTEROP.INodeType <T VP.NodeType\r
+   @L0.assert VP.HasContentType "org.simantics.modeling.ui.modelBrowser.model.INode"\r
+\r
+IBC.InteropNode : INTEROP.INodeType\r
+IBC.InteropChildRule : VP.ChildRule\r
+  \r
+IBC\r
+    VP.BrowseContext.HasChildContribution _ : VP.ChildContribution\r
+        VP.ChildContribution.HasParentNodeType PROJ.Project\r
+        VP.ChildContribution.HasChildNodeType IBC.InteropNode\r
+        VP.ChildContribution.HasRule IBC.InteropChildRule\r
+        \r