]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.selectionview.ontology/graph/Selectionview.pgraph
Merge commit 'b3da313'
[simantics/platform.git] / bundles / org.simantics.selectionview.ontology / graph / Selectionview.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>
2 L0X = <http://www.simantics.org/Layer0X-1.1>
3
4 SEL = <http://www.simantics.org/SelectionView-1.2> : L0.Ontology
5     @L0.new
6     L0.HasResourceClass "org.simantics.selectionview.SelectionViewResources"
7
8 SEL.Functions : L0.Library
9
10 SEL.TabContribution <T L0.Entity
11 SEL.SelectionTransformation <T L0.Function
12
13 SEL.Functions.getEnumerationValues : L0.Function
14 SEL.Functions.singleVariableTransformation : SEL.SelectionTransformation
15 SEL.Functions.singleResourceTransformation : SEL.SelectionTransformation
16 SEL.Functions.singleResourceToVariableTransformation : SEL.SelectionTransformation
17 SEL.Functions.standardSelectionInputTransformation : SEL.SelectionTransformation
18
19 SEL.AbstractVariableTabContribution <T SEL.TabContribution
20   >-- SEL.AbstractVariableTabContribution.testFunction ==> "Variable -> <ReadGraph> Boolean" <R L0.HasProperty
21   >-- SEL.AbstractVariableTabContribution.HasPriority ==> "Integer" <R L0.HasProperty : SEL.GenericParameterType
22   // This is deprecated
23   >-- SEL.AbstractVariableTabContribution.HasTest --> L0.Value <R L0.DependsOn
24
25 SEL.AbstractResourceTabContribution <T SEL.TabContribution
26   >-- SEL.AbstractResourceTabContribution.HasTest --> L0.Value <R L0.DependsOn
27   >-- SEL.AbstractResourceTabContribution.HasPriority ==> "Integer" <R L0.DependsOn
28
29 SEL.AbstractTypedVariableTabContribution <T SEL.AbstractVariableTabContribution
30   >-- SEL.AbstractTypedVariableTabContribution.HasType --> L0.Type <R L0.DependsOn
31
32 SEL.AbstractTypedResourceTabContribution <T SEL.AbstractResourceTabContribution
33   >-- SEL.AbstractTypedResourceTabContribution.HasType --> L0.Type <R L0.DependsOn
34
35 SEL.VariableTabContribution <T SEL.TabContribution
36   >-- SEL.VariableTabContribution.HasTest <R L0.DependsOn
37   >-- SEL.VariableTabContribution.transformation ==> "Variable -> <ReadGraph> Variable" <R L0.HasProperty
38   >-- SEL.VariableTabContribution.HasView <R L0.DependsOn
39   >-- SEL.VariableTabContribution.HasPriority <R L0.DependsOn
40
41 SEL.TypedVariableTabContribution <T SEL.VariableTabContribution
42   >-- SEL.TypedVariableTabContribution.HasType <R L0.DependsOn
43
44 SEL.HasDisplayColumn <R L0.HasProperty : L0.FunctionalRelation
45
46 SEL.HasFormatter <R L0.HasProperty : L0X.ResourcePropertyRelation
47
48 SEL.HasDisplayProperty <R L0.HasProperty : L0.FunctionalRelation
49   L0.RequiresValueType "String"
50   SEL.HasDisplayColumn "HasDisplayProperty"
51   
52 SEL.DisplayProperty <T L0.Value
53   @L0.assert SEL.HasDisplayColumn "HasDisplayProperty"
54   @L0.assert L0.HasValueType "String"  
55   @L0.assert L0.valueAccessor
56     SEL.Functions.displayPropertyValueAccessor : L0.ExternalValue
57           L0.HasValueType "ValueAccessor"  
58
59 SEL.HasDisplayValue <R L0.HasProperty : L0.FunctionalRelation
60   L0.RequiresValueType "String"
61   SEL.HasDisplayColumn "HasDisplayValue"
62   
63 SEL.IsShownUnder <R L0.IsRelatedTo
64   L0.InverseOf SEL.UnderOf <R L0.IsRelatedTo
65
66 SEL.DisplayValue <T L0.Value
67   @L0.assert SEL.HasDisplayColumn "HasDisplayValue"
68   @L0.assert L0.HasValueType "String"
69   @L0.assert L0.valueAccessor
70     SEL.Functions.displayValueValueAccessor : L0.ExternalValue
71           L0.HasValueType "ValueAccessor"  
72
73 SEL.HasDisplayUnit <R L0.HasProperty : L0.FunctionalRelation
74   L0.RequiresValueType "String"
75   SEL.HasDisplayColumn "HasDisplayUnit"
76   
77 SEL.DisplayUnit <T L0.Value
78   @L0.assert SEL.HasDisplayColumn "HasDisplayUnit"
79   @L0.assert L0.HasValueType "String"
80   @L0.assert L0.valueAccessor
81     SEL.Functions.displayUnitValueAccessor : L0.ExternalValue
82           L0.HasValueType "ValueAccessor"  
83
84 SEL.StandardPropertyInfo <T L0.Literal
85     @L0.assert L0.HasDataType ${ categoryName : String, categorySortingName : String, isHidden : Boolean }
86     @L0.assert SEL.StandardPropertyInfo.CategorySortingName ""
87     @L0.assert SEL.StandardPropertyInfo.IsHidden false
88
89 SEL.HasStandardPropertyInfo <R L0.HasProperty : L0.FunctionalRelation
90 SEL.StandardPropertyInfo.CategoryName <R L0.HasProperty : L0.FunctionalRelation
91 SEL.StandardPropertyInfo.CategorySortingName <R L0.HasProperty : L0.FunctionalRelation
92 SEL.StandardPropertyInfo.IsHidden <R L0.HasProperty : L0.FunctionalRelation
93
94 SEL.HasEnumerationValues <R L0.HasProperty : L0.FunctionalRelation
95 SEL.HasCustomModifier <R L0.HasProperty : L0.FunctionalRelation
96 SEL.HasInputModifier <R L0.HasProperty : L0.FunctionalRelation
97
98 SEL.SortingName ==> "String" <R L0.HasProperty : L0.FunctionalRelation
99
100 SEL.canBeLifted ==> "Boolean" <R L0.HasProperty : L0.FunctionalRelation
101
102 SEL.hidden ==> "Boolean" <R L0.HasProperty : L0.FunctionalRelation
103
104 SEL.GenericParameterType <T L0.FunctionalRelation
105   @L0.assert SEL.HasDisplayProperty
106     _ : SEL.DisplayProperty
107       L0.readOnly true
108   @L0.assert SEL.HasDisplayValue
109     _ : SEL.DisplayValue
110       SEL.HasEnumerationValues _ : L0.Value
111         L0.ConvertsToValueWith SEL.Functions.getEnumerationValues
112   @L0.assert SEL.HasDisplayUnit
113     _ : SEL.DisplayUnit
114       L0.readOnly true
115   @L0.assert SEL.HasStandardPropertyInfo
116     SEL.CategoryHidden = ( "", "", true )
117   @L0.assert SEL.HasInputModifier 
118     SEL.Functions.inputModifier : L0.ExternalValue
119
120 SEL.GenericPropertyChild <T L0.Entity
121   @L0.assert SEL.HasDisplayProperty
122       _ : L0.Value
123           L0.readOnly true
124           L0.ConvertsToValueWith SEL.Functions.getPropertyChildName : L0.ExternalValue
125   
126
127 SEL.CategoryHidden : SEL.StandardPropertyInfo
128   SEL.StandardPropertyInfo.CategoryName ""
129   SEL.StandardPropertyInfo.CategorySortingName ""
130   SEL.StandardPropertyInfo.IsHidden true
131
132 SEL.getSpecialCategory ==> "Resource -> <ReadGraph> Resource" <R L0.HasProperty : L0.FunctionalRelation
133
134 SEL.ColorParameterType <T SEL.GenericParameterType
135   @L0.assert SEL.HasDisplayValue
136     _ : SEL.DisplayValue
137       SEL.HasEnumerationValues SEL.Functions.getEnumerationValues
138       SEL.HasCustomModifier SEL.Functions.colorModifier : L0.Function
139
140 SEL.FontParameterType <T SEL.GenericParameterType
141   @L0.assert SEL.HasDisplayValue
142     _ : SEL.DisplayValue
143       SEL.HasEnumerationValues SEL.Functions.getEnumerationValues
144       SEL.HasCustomModifier SEL.Functions.fontModifier : L0.Function
145
146 SEL.GenericCategory = ( "Properties", "", false ) : SEL.StandardPropertyInfo
147   SEL.StandardPropertyInfo.CategoryName "Properties"
148   SEL.StandardPropertyInfo.CategorySortingName "0"
149
150 L0.HasName
151   SEL.canBeLifted false
152