]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.platform.ui.ontology/graph/PlatformUI.pgraph
More descriptive label for PlatformUI shared ontology
[simantics/platform.git] / bundles / org.simantics.platform.ui.ontology / graph / PlatformUI.pgraph
index 093fb87e2c5d1272b7e60f3cdac43fdadeff0164..11b07f80eba5ab9520a20a9582a9f3d0d47fb0af 100644 (file)
@@ -1,6 +1,7 @@
 L0 = <http://www.simantics.org/Layer0-1.1>
 PROJECT = <http://www.simantics.org/Project-1.2>
 MOD = <http://www.simantics.org/Modeling-1.2>
+DIA = <http://www.simantics.org/Diagram-2.2>
 STR = <http://www.simantics.org/Structural-1.2>
 SEL = <http://www.simantics.org/SelectionView-1.2>
 SEL_UI = <http://www.simantics.org/SelectionViewUI-1.1>
@@ -13,6 +14,7 @@ PlatformUI = <http://www.simantics.org/PlatformUI-1.0> : L0.Ontology
     L0.IsLinkedTo SEL
     L0.IsLinkedTo ANNO
     L0.IsLinkedTo TEMPLATE
+    L0.IsLinkedTo MOD
     
 PlatformUI.SCLMain : L0.SCLModule
     L0.SCLModule.definition _ : L0.String
@@ -31,13 +33,23 @@ PROJECT.Project
        
 PlatformUI.Model <T MOD.StructuralModel
     @L0.assert MOD.StructuralModel.HasConfigurationType PlatformUI.Configuration
+    @L0.assert L0.IsLinkedTo PlatformUI
+    
 PlatformUI.Configuration <T STR.Composite <T L0.RVIContext
 
 PlatformUI.SharedOntology <T MOD.SharedOntology
+    L0.HasLabel "Generic Shared Ontology"
     @L0.assert L0.IsLinkedTo PlatformUI
 
 PlatformUI.StandardPropertiesTabContribution : SEL.TypedVariableTabContribution
     SEL.TypedVariableTabContribution.HasType L0.Entity
     SEL.VariableTabContribution.HasView SEL_UI.StandardProperties
     SEL.VariableTabContribution.HasPriority -1
-    L0.HasLabel "Properties" 
\ No newline at end of file
+    @MOD.scl SEL.VariableTabContribution.transformation "standardPropertiesElementTransformation" "Variable -> <ReadGraph> Variable"
+    L0.HasLabel "Properties"
+
+PlatformUI.StandardElementProperties : SEL.TypedVariableTabContribution
+  SEL.TypedVariableTabContribution.HasType DIA.Element
+  L0.HasLabel "Element Properties"
+  SEL.VariableTabContribution.HasPriority -2
+  SEL.VariableTabContribution.HasView SEL_UI.StandardProperties