]> gerrit.simantics Code Review - simantics/platform.git/blob - 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
1 L0 = <http://www.simantics.org/Layer0-1.1>
2 PROJECT = <http://www.simantics.org/Project-1.2>
3 MOD = <http://www.simantics.org/Modeling-1.2>
4 DIA = <http://www.simantics.org/Diagram-2.2>
5 STR = <http://www.simantics.org/Structural-1.2>
6 SEL = <http://www.simantics.org/SelectionView-1.2>
7 SEL_UI = <http://www.simantics.org/SelectionViewUI-1.1>
8 ANNO = <http://www.simantics.org/Annotation-1.0>
9 TEMPLATE = <http://www.simantics.org/ModelingTemplate2d-1.0>
10
11 PlatformUI = <http://www.simantics.org/PlatformUI-1.0> : L0.Ontology
12     @L0.new
13     L0.HasResourceClass "org.simantics.platform.ui.PlatformUIResource"
14     L0.IsLinkedTo SEL
15     L0.IsLinkedTo ANNO
16     L0.IsLinkedTo TEMPLATE
17     L0.IsLinkedTo MOD
18     
19 PlatformUI.SCLMain : L0.SCLModule
20     L0.SCLModule.definition _ : L0.String
21       @L0.loadString "scl/SCLMain.scl"
22     
23 PlatformUI.NameLabelMode <T L0.String
24     @L0.tag L0.Enumeration
25
26 PlatformUI.NameLabelMode.Name  = "NAME" : L0.String
27 PlatformUI.NameLabelMode.Label  = "LABEL" : L0.String
28 PlatformUI.NameLabelMode.NameAndLabel  = "NAME_AND_LABEL" : L0.String
29 PlatformUI.NameLabelMode.LabelAndName= "LABEL_AND_NAME" : L0.String
30
31 PROJECT.Project
32     >-- PlatformUI.hasNameLabelMode --> PlatformUI.NameLabelMode <R L0.HasProperty : L0.FunctionalRelation
33        
34 PlatformUI.Model <T MOD.StructuralModel
35     @L0.assert MOD.StructuralModel.HasConfigurationType PlatformUI.Configuration
36     @L0.assert L0.IsLinkedTo PlatformUI
37     
38 PlatformUI.Configuration <T STR.Composite <T L0.RVIContext
39
40 PlatformUI.SharedOntology <T MOD.SharedOntology
41     L0.HasLabel "Generic Shared Ontology"
42     @L0.assert L0.IsLinkedTo PlatformUI
43
44 PlatformUI.StandardPropertiesTabContribution : SEL.TypedVariableTabContribution
45     SEL.TypedVariableTabContribution.HasType L0.Entity
46     SEL.VariableTabContribution.HasView SEL_UI.StandardProperties
47     SEL.VariableTabContribution.HasPriority -1
48     @MOD.scl SEL.VariableTabContribution.transformation "standardPropertiesElementTransformation" "Variable -> <ReadGraph> Variable"
49     L0.HasLabel "Properties"
50
51 PlatformUI.StandardElementProperties : SEL.TypedVariableTabContribution
52   SEL.TypedVariableTabContribution.HasType DIA.Element
53   L0.HasLabel "Element Properties"
54   SEL.VariableTabContribution.HasPriority -2
55   SEL.VariableTabContribution.HasView SEL_UI.StandardProperties