]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.platform.ui.ontology/graph/PlatformUI.pgraph
Playground for Antti.
[simantics/platform.git] / bundles / org.simantics.platform.ui.ontology / graph / PlatformUI.pgraph
index 3d3dc3c8aea221cc4c60d1343619207ca35c5743..4dd87b15aa2514a245a1bc8d9df200330a15937f 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>
@@ -16,8 +17,7 @@ PlatformUI = <http://www.simantics.org/PlatformUI-1.0> : L0.Ontology
     L0.IsLinkedTo MOD
     
 PlatformUI.SCLMain : L0.SCLModule
-    L0.SCLModule.definition _ : L0.String
-      @L0.loadString "scl/SCLMain.scl"
+    L0.SCLModule.definition """ include "Simantics/PlatformUI" """
     
 PlatformUI.NameLabelMode <T L0.String
     @L0.tag L0.Enumeration
@@ -32,13 +32,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