]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.platform.ui.ontology/graph/PlatformUI.pgraph
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.platform.ui.ontology / graph / PlatformUI.pgraph
diff --git a/bundles/org.simantics.platform.ui.ontology/graph/PlatformUI.pgraph b/bundles/org.simantics.platform.ui.ontology/graph/PlatformUI.pgraph
new file mode 100644 (file)
index 0000000..093fb87
--- /dev/null
@@ -0,0 +1,43 @@
+L0 = <http://www.simantics.org/Layer0-1.1>
+PROJECT = <http://www.simantics.org/Project-1.2>
+MOD = <http://www.simantics.org/Modeling-1.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>
+ANNO = <http://www.simantics.org/Annotation-1.0>
+TEMPLATE = <http://www.simantics.org/ModelingTemplate2d-1.0>
+
+PlatformUI = <http://www.simantics.org/PlatformUI-1.0> : L0.Ontology
+    @L0.new
+    L0.HasResourceClass "org.simantics.platform.ui.PlatformUIResource"
+    L0.IsLinkedTo SEL
+    L0.IsLinkedTo ANNO
+    L0.IsLinkedTo TEMPLATE
+    
+PlatformUI.SCLMain : L0.SCLModule
+    L0.SCLModule.definition _ : L0.String
+      @L0.loadString "scl/SCLMain.scl"
+    
+PlatformUI.NameLabelMode <T L0.String
+    @L0.tag L0.Enumeration
+
+PlatformUI.NameLabelMode.Name  = "NAME" : L0.String
+PlatformUI.NameLabelMode.Label  = "LABEL" : L0.String
+PlatformUI.NameLabelMode.NameAndLabel  = "NAME_AND_LABEL" : L0.String
+PlatformUI.NameLabelMode.LabelAndName= "LABEL_AND_NAME" : L0.String
+
+PROJECT.Project
+    >-- PlatformUI.hasNameLabelMode --> PlatformUI.NameLabelMode <R L0.HasProperty : L0.FunctionalRelation
+       
+PlatformUI.Model <T MOD.StructuralModel
+    @L0.assert MOD.StructuralModel.HasConfigurationType PlatformUI.Configuration
+PlatformUI.Configuration <T STR.Composite <T L0.RVIContext
+
+PlatformUI.SharedOntology <T MOD.SharedOntology
+    @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