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