]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.platform.ui.ontology/graph/PlatformUI.pgraph
MainProgram polls nanoTime too often
[simantics/platform.git] / bundles / org.simantics.platform.ui.ontology / graph / PlatformUI.pgraph
index 88f2d0fa7e92ed233d16f5c9e69bdd17a72186c9..78f9204cf4b1070b838c1ca1f19941d6b6fb0e29 100644 (file)
@@ -1,6 +1,19 @@
+/*******************************************************************************
+ * Copyright (c) 2019 Association for Decentralized Information Management
+ * in Industry THTH ry.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     VTT Technical Research Centre of Finland - initial API and implementation
+ *     Semantum Oy - reorganization
+ *******************************************************************************/
 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 +29,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
@@ -37,10 +49,18 @@ PlatformUI.Model <T MOD.StructuralModel
 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