]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.selectionview.ontology/graph/Selectionview.pgraph
Sync git svn branch with SVN repository r33198.
[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.GenericParameterType <T L0.FunctionalRelation
103   @L0.assert SEL.HasDisplayProperty
104     _ : SEL.DisplayProperty
105       L0.readOnly true
106   @L0.assert SEL.HasDisplayValue
107     _ : SEL.DisplayValue
108       SEL.HasEnumerationValues _ : L0.Value
109         L0.ConvertsToValueWith SEL.Functions.getEnumerationValues
110   @L0.assert SEL.HasDisplayUnit
111     _ : SEL.DisplayUnit
112       L0.readOnly true
113   @L0.assert SEL.HasStandardPropertyInfo
114     SEL.CategoryHidden = ( "", "", true )
115   @L0.assert SEL.HasInputModifier 
116     SEL.Functions.inputModifier : L0.ExternalValue
117
118 SEL.GenericPropertyChild <T L0.Entity
119   @L0.assert SEL.HasDisplayProperty
120       _ : L0.Value
121           L0.readOnly true
122           L0.ConvertsToValueWith SEL.Functions.getPropertyChildName : L0.ExternalValue
123   
124
125 SEL.CategoryHidden : SEL.StandardPropertyInfo
126   SEL.StandardPropertyInfo.CategoryName ""
127   SEL.StandardPropertyInfo.CategorySortingName ""
128   SEL.StandardPropertyInfo.IsHidden true
129
130 SEL.getSpecialCategory ==> "Resource -> <ReadGraph> Resource" <R L0.HasProperty : L0.FunctionalRelation
131
132 SEL.ColorParameterType <T SEL.GenericParameterType
133   @L0.assert SEL.HasDisplayValue
134     _ : SEL.DisplayValue
135       SEL.HasEnumerationValues SEL.Functions.getEnumerationValues
136       SEL.HasCustomModifier SEL.Functions.colorModifier : L0.Function
137
138 SEL.FontParameterType <T SEL.GenericParameterType
139   @L0.assert SEL.HasDisplayValue
140     _ : SEL.DisplayValue
141       SEL.HasEnumerationValues SEL.Functions.getEnumerationValues
142       SEL.HasCustomModifier SEL.Functions.fontModifier : L0.Function
143
144 SEL.GenericCategory = ( "Properties", "", false ) : SEL.StandardPropertyInfo
145   SEL.StandardPropertyInfo.CategoryName "Properties"
146   SEL.StandardPropertyInfo.CategorySortingName "0"
147
148 L0.HasName
149   SEL.canBeLifted false
150