]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.viewpoint.ontology/graph/Viewpoint.pgraph
Merge commit '2bcb7e8598e769cf21fa6525fc244e1da3eceb31'
[simantics/platform.git] / bundles / org.simantics.viewpoint.ontology / graph / Viewpoint.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>\r
2 IMAGE = <http://www.simantics.org/Image2-1.2>\r
3 COLOR = <http://www.simantics.org/Color-1.1>\r
4 \r
5 VP = <http://www.simantics.org/Viewpoint-1.2> : L0.Ontology\r
6     @L0.new\r
7     L0.HasResourceClass "org.simantics.viewpoint.ontology.ViewpointResource"\r
8 \r
9 VP.NodeType <T L0.Entity\r
10     @L0.singleProperty VP.HasContentType\r
11     @L0.optionalProperty VP.HasBundle\r
12 VP.HasBundle <R L0.HasProperty : L0.FunctionalRelation\r
13     L0.HasDescription """Bundle specifies the symbolic ID of the bundle which should be used for loading the class pointed to by HasContentType. This needs to be used if a class is not loadable by bundle org.simantics.browsing.ui.model."""\r
14     L0.HasRange L0.String\r
15 VP.HasContentType <R L0.HasProperty : L0.FunctionalRelation\r
16     L0.HasDescription """Content type specifies the (SCL) type of the node content, if the subject is used as a node type. If not specified the content type is Resource."""\r
17     L0.HasRange L0.String\r
18 VP.ResourceNodeType <T VP.NodeType\r
19     @L0.assert VP.HasContentType "Resource"\r
20     \r
21 VP.BrowseContext <T L0.Entity\r
22     L0.HasDescription """All viewpoint contributions are associated with a browse context. They can be used to control which contributions are enabled for a specific browsing component. Browse contexts form a hierarchy: by enabling a super context also the contexts inherited from it are enabled."""\r
23 VP.BrowseContext.Includes <R L0.IsRelatedTo\r
24     L0.HasDomain VP.BrowseContext\r
25     L0.HasRange VP.BrowseContext\r
26     L0.InverseOf VP.BrowseContext.IsIncludedIn <R L0.IsRelatedTo\r
27 VP.BrowseContext.HasChildContribution <R L0.IsRelatedTo\r
28     L0.HasDomain VP.BrowseContext\r
29     L0.HasRange VP.ChildContribution\r
30 VP.BrowseContext.HasVisualsContribution <R L0.IsRelatedTo\r
31     L0.HasDomain VP.BrowseContext\r
32     L0.HasRange VP.VisualsContribution\r
33 \r
34 VP.BrowseContextContribution <T L0.Entity\r
35     >-- VP.BrowseContextContribution.HasType --> L0.Type <R L0.IsRelatedTo\r
36     >-- VP.BrowseContextContribution.HasBrowseContext --> VP.BrowseContext <R L0.IsRelatedTo\r
37     >-- VP.BrowseContextContribution.allowedUIContexts --> L0.StringArray <R L0.HasProperty : L0.FunctionalRelation\r
38 \r
39 VP.ActionBrowseContextContribution <T L0.Entity\r
40     >-- VP.ActionBrowseContextContribution.HasType --> L0.Type <R L0.IsRelatedTo\r
41     >-- VP.ActionBrowseContextContribution.HasActionBrowseContext --> VP.BrowseContext <R L0.IsRelatedTo\r
42     >-- VP.ActionBrowseContextContribution.allowedUIContexts --> L0.StringArray <R L0.HasProperty : L0.FunctionalRelation\r
43 \r
44 VP.ChildContribution <T L0.Entity\r
45     L0.HasDescription """A child contribution is adds child nodes to the instances of a specific node type."""\r
46     >-- VP.ChildContribution.HasParentNodeType --> L0.Entity <R L0.IsRelatedTo : L0.TotalFunction\r
47     >-- VP.ChildContribution.HasChildNodeType --> L0.Entity <R L0.IsRelatedTo : L0.TotalFunction\r
48     >-- VP.ChildContribution.HasRule --> L0.Entity <R L0.IsRelatedTo : L0.TotalFunction\r
49     >-- VP.ChildContribution.identifier --> L0.String <R L0.HasProperty : L0.TotalFunction\r
50     >-- VP.ChildContribution.priority --> L0.Double <R L0.HasProperty : L0.TotalFunction\r
51     @L0.assert VP.ChildContribution.identifier "" \r
52     @L0.assert VP.ChildContribution.priority 0.0 \r
53 \r
54 VP.ChildRule <T L0.Entity\r
55     L0.HasDescription """A child rule is a part of child contribution that tells how the child nodes are found."""\r
56 VP.EqualContentChildRule <T VP.ChildRule\r
57     L0.HasDescription """A child rule that says that there is exactly one child node whose content is equal to the content of the parent.\r
58 There is an optional condition restricting when the rule is applied."""\r
59 VP.EqualContentChildRule.HasCondition <R L0.IsRelatedTo : L0.FunctionalRelation\r
60     L0.HasDomain VP.EqualContentChildRule\r
61     L0.HasRange VP.Test\r
62 VP.RelationChildRule <T VP.ChildRule\r
63     L0.HasDescription """A child rule that follows the given relation. Content type of both parent and child node types must be Resources."""\r
64     >-- VP.RelationChildRule.HasRelation --> L0.Relation <R L0.IsRelatedTo : L0.TotalFunction\r
65     >-- VP.RelationChildRule.HasTest --> VP.Test <R L0.IsRelatedTo : L0.FunctionalRelation\r
66 VP.RelationStatementRule <T VP.ChildRule\r
67     L0.HasDescription """A child rule that follows the given relation. Content type of parent must be Resource. Content type of child must be Statement."""\r
68     >-- VP.RelationStatementRule.HasRelation --> L0.Relation <R L0.IsRelatedTo : L0.TotalFunction\r
69     >-- VP.RelationStatementRule.HasTest --> VP.Test <R L0.IsRelatedTo : L0.FunctionalRelation\r
70 VP.CompositeChildRule <T VP.ChildRule\r
71     L0.HasDescription """A child rule composed of other child rules."""\r
72 VP.CompositeChildRule.HasChildRules <R L0.IsComposedOf : L0.TotalFunction\r
73     L0.HasDomain VP.CompositeChildRule\r
74     L0.HasRange L0.OrderedSet\r
75 VP.ConstantChildRule <T VP.ChildRule\r
76     L0.HasDescription """Says that a certain constant resource is a child of the parent."""\r
77 VP.ConstantChildRule.HasChild <R L0.IsComposedOf\r
78     L0.HasDomain VP.ConstantChildRule\r
79     \r
80 VP.VisualsContribution <T L0.Entity\r
81     L0.HasDescription """A visuals contribution adds visual properties to the instances of a specific node type."""\r
82 VP.VisualsContribution.HasNodeType <R L0.IsRelatedTo : L0.TotalFunction\r
83     L0.HasDomain VP.VisualsContribution\r
84     L0.HasRange L0.Entity    \r
85 VP.VisualsContribution.HasRule <R L0.IsRelatedTo\r
86     L0.HasDomain VP.VisualsContribution\r
87     L0.HasRange VP.VisualsRule\r
88 VP.VisualsContribution.HasPriority <R L0.HasProperty : L0.FunctionalRelation\r
89     L0.HasDomain VP.VisualsContribution\r
90     L0.HasRange L0.Double\r
91 VP.VisualsContribution.HasCondition <R L0.IsRelatedTo : L0.FunctionalRelation\r
92     L0.HasDomain VP.VisualsContribution\r
93     L0.HasRange VP.Test    \r
94     \r
95 VP.VisualsRule <T L0.Entity   \r
96     \r
97 VP.LabelRule <T VP.VisualsRule\r
98     L0.HasDescription """Label rule gives a label to a node."""\r
99 VP.ConstantLabelRule <T VP.LabelRule     \r
100     L0.HasDescription """Constant label rule gives a fixed label to a node."""\r
101 VP.ConstantLabelRule.HasLabel <R L0.HasProperty : L0.TotalFunction            \r
102     L0.HasDomain VP.ConstantLabelRule\r
103     L0.HasRange L0.String\r
104 VP.ConstantLabelRule.HasColumnKey <R L0.HasProperty : L0.TotalFunction            \r
105     L0.HasDomain VP.ConstantLabelRule\r
106     L0.HasRange L0.String\r
107 VP.StandardNameLabelRule : VP.LabelRule     \r
108     L0.HasDescription """Label rule based on resource names and labels controlled by PlatformUI.hasNameLabelMode."""\r
109 VP.ResourceNameLabelRule : VP.LabelRule     \r
110     L0.HasDescription """Label rule based on resource names."""\r
111 VP.ResourceLabelLabelRule : VP.LabelRule\r
112     L0.HasDescription """Label rule based on resource labels."""\r
113 \r
114 VP.TooltipRule <T VP.VisualsRule\r
115     L0.HasDescription """Tooltip rule gives a tooltip to a node."""\r
116 VP.DescriptionTooltipRule : VP.TooltipRule\r
117     L0.HasDescription """Tooltip rule that reads tooltip from node's L0.HasDescription."""\r
118 \r
119 VP.ModifierRule <T VP.VisualsRule\r
120     L0.HasDescription """Modifier rule gives a modifier to a node."""\r
121 VP.NoModifierRule : VP.ModifierRule\r
122     L0.HasDescription """Modifier rule that denies modifications."""\r
123 VP.ResourceNameModifierRule : VP.ModifierRule\r
124     L0.HasDescription """Modifier rule based on resource names."""\r
125 VP.ResourceLabelModifierRule : VP.ModifierRule\r
126     L0.HasDescription """Modifier rule based on resource labels."""\r
127 VP.VariableLabelModifierRule : VP.ModifierRule\r
128     L0.HasDescription """Modifier rule based on variable labels."""\r
129 \r
130 VP.ImageRule <T VP.VisualsRule\r
131     L0.HasDescription """Label rule gives an image to a node."""\r
132 VP.ConstantImageRule <T VP.LabelRule     \r
133     L0.HasDescription """Constant label rule gives a fixed image to a node."""\r
134 VP.ConstantImageRule.HasImage <R L0.HasProperty : L0.TotalFunction            \r
135     L0.HasDomain VP.ConstantLabelRule\r
136     L0.HasRange IMAGE.Image\r
137 VP.ConstantImageRule.HasColumnKey <R L0.HasProperty : L0.TotalFunction            \r
138     L0.HasDomain VP.ConstantLabelRule\r
139     L0.HasRange IMAGE.Image\r
140 \r
141 VP.LabelDecorationRule <T VP.VisualsRule\r
142     L0.HasDescription """Label decoration rule decorates the label of a node."""    \r
143 VP.ConstantLabelDecorationRule <T VP.LabelDecorationRule\r
144 VP.ConstantLabelDecorationRule.HasFormat <R L0.HasProperty : L0.FunctionalRelation            \r
145     L0.HasDomain VP.ConstantLabelDecorationRule\r
146     L0.HasRange L0.String\r
147 VP.ConstantLabelDecorationRule.HasForegroundColor <R L0.HasProperty : L0.FunctionalRelation            \r
148     L0.HasDomain VP.ConstantLabelDecorationRule\r
149     L0.HasRange COLOR.RGB\r
150 VP.ConstantLabelDecorationRule.HasBackgroundColor <R L0.HasProperty : L0.FunctionalRelation        \r
151     L0.HasDomain VP.ConstantLabelDecorationRule\r
152     L0.HasRange COLOR.RGB\r
153 VP.ConstantLabelDecorationRule.HasFont <R L0.HasProperty : L0.FunctionalRelation            \r
154     L0.HasDomain VP.ConstantLabelDecorationRule\r
155     L0.HasRange L0.String\r
156 VP.ConstantLabelDecorationRule.HasStyle <R L0.HasProperty : L0.FunctionalRelation            \r
157     L0.HasDomain VP.ConstantLabelDecorationRule\r
158     L0.HasRange L0.String\r
159 \r
160 VP.FlatNodeRule : VP.VisualsRule\r
161 \r
162 VP.ImageDecorationRule <T VP.VisualsRule\r
163     L0.HasDescription """Image decoration rule decorates the image of a node."""\r
164 \r
165 VP.SorterRule <T VP.VisualsRule\r
166 VP.PassThruSorterRule : VP.SorterRule\r
167 VP.AlphanumericSorterRule : VP.SorterRule\r
168 VP.LinkedListSorterRule : VP.SorterRule\r
169 \r
170 VP.CheckedStateRule <T VP.VisualsRule\r
171 \r
172 VP.Test <T L0.Entity\r
173     L0.HasDescription """Tests may be used to control if contributions are enabled for specific node content."""  \r
174             \r
175 // Templates \r
176 VP.relationChildRule : L0.Template\r
177     @template %browseContext %parentType %relation %childType\r
178         %browseContext\r
179             VP.BrowseContext.HasChildContribution _ : VP.ChildContribution\r
180                 VP.ChildContribution.HasParentNodeType %parentType\r
181                 VP.ChildContribution.HasChildNodeType %childType\r
182                 VP.ChildContribution.HasRule _ : VP.RelationChildRule\r
183                     VP.RelationChildRule.HasRelation %relation\r
184 \r
185 VP.relationStatementRule : L0.Template\r
186     @template %browseContext %parentType %relation %childType\r
187         %browseContext\r
188             VP.BrowseContext.HasChildContribution _ : VP.ChildContribution\r
189                 VP.ChildContribution.HasParentNodeType %parentType\r
190                 VP.ChildContribution.HasChildNodeType %childType\r
191                 VP.ChildContribution.HasRule _ : VP.RelationStatementRule\r
192                     VP.RelationStatementRule.HasRelation %relation\r
193 \r
194 VP.equalContentChildRule : L0.Template\r
195     @template %browseContext %parentType %childType\r
196         %browseContext\r
197             VP.BrowseContext.HasChildContribution _ : VP.ChildContribution\r
198                 VP.ChildContribution.HasParentNodeType %parentType\r
199                 VP.ChildContribution.HasChildNodeType %childType\r
200                 VP.ChildContribution.HasRule _ : VP.EqualContentChildRule\r
201 \r
202 VP.constantChildRule : L0.Template\r
203     @template %browseContext %parentType %child\r
204         %browseContext\r
205             VP.BrowseContext.HasChildContribution _ : VP.ChildContribution\r
206                 VP.ChildContribution.HasParentNodeType %parentType\r
207                 VP.ChildContribution.HasChildNodeType L0.Entity\r
208                 VP.ChildContribution.HasRule _ : VP.ConstantChildRule\r
209                     VP.ConstantChildRule.HasChild %child                    \r
210                 \r
211 VP.customChildRule : L0.Template\r
212     @template %browseContext %parentType %childRule %childType\r
213         %browseContext\r
214             VP.BrowseContext.HasChildContribution _ : VP.ChildContribution\r
215                 VP.ChildContribution.HasParentNodeType %parentType\r
216                 VP.ChildContribution.HasChildNodeType %childType\r
217                 VP.ChildContribution.HasRule %childRule\r
218 \r
219 VP.customModifierRule : L0.Template\r
220     @template %browseContext %parentType %modifierRule\r
221         %browseContext\r
222             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
223                 VP.VisualsContribution.HasNodeType %parentType\r
224                 VP.VisualsContribution.HasRule %modifierRule\r
225 \r
226 VP.customVisualsRule : L0.Template\r
227     @template %browseContext %parentType %labelRule\r
228         %browseContext\r
229             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
230                 VP.VisualsContribution.HasNodeType %parentType\r
231                 VP.VisualsContribution.HasRule %labelRule\r
232 \r
233 VP.customVisualsRuleWithPriority : L0.Template\r
234     @template %browseContext %parentType %labelRule %priority\r
235         %browseContext\r
236             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
237                 VP.VisualsContribution.HasNodeType %parentType\r
238                 VP.VisualsContribution.HasRule %labelRule\r
239                 VP.VisualsContribution.HasPriority %priority\r
240 \r
241 VP.customVisualsRuleWithPriorityAndTest : L0.Template\r
242     @template %browseContext %parentType %labelRule %priority %condition\r
243         %browseContext\r
244             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
245                 VP.VisualsContribution.HasNodeType %parentType\r
246                 VP.VisualsContribution.HasRule %labelRule\r
247                 VP.VisualsContribution.HasPriority %priority\r
248                 VP.VisualsContribution.HasCondition %condition\r
249 \r
250 VP.constantLabelRule : L0.Template\r
251     @template %browseContext %parentType %label\r
252         %browseContext\r
253             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
254                 VP.VisualsContribution.HasNodeType %parentType\r
255                 VP.VisualsContribution.HasRule _ : VP.ConstantLabelRule\r
256                     VP.ConstantLabelRule.HasLabel %label\r
257                     VP.ConstantLabelRule.HasColumnKey "single"\r
258 \r
259 VP.constantLabelRuleWithColumn : L0.Template\r
260     @template %browseContext %parentType %key %label\r
261         %browseContext\r
262             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
263                 VP.VisualsContribution.HasNodeType %parentType\r
264                 VP.VisualsContribution.HasRule _ : VP.ConstantLabelRule\r
265                     VP.ConstantLabelRule.HasLabel %label\r
266                     VP.ConstantLabelRule.HasColumnKey %key\r
267 \r
268 VP.customLabelRule : L0.Template\r
269     @template %browseContext %parentType %labelRule\r
270         %browseContext\r
271             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
272                 VP.VisualsContribution.HasNodeType %parentType\r
273                 VP.VisualsContribution.HasRule %labelRule\r
274 \r
275 VP.customLabelRuleWithPriority : L0.Template\r
276     @template %browseContext %parentType %labelRule %priority\r
277         %browseContext\r
278             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
279                 VP.VisualsContribution.HasNodeType %parentType\r
280                 VP.VisualsContribution.HasRule %labelRule\r
281                 VP.VisualsContribution.HasPriority %priority\r
282 \r
283 VP.constantImageRule : L0.Template\r
284     @template %browseContext %parentType %image\r
285         %browseContext\r
286             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
287                 VP.VisualsContribution.HasNodeType %parentType\r
288                 VP.VisualsContribution.HasRule _ : VP.ConstantImageRule\r
289                     VP.ConstantImageRule.HasColumnKey "single"\r
290                     VP.ConstantImageRule.HasImage %image\r
291 \r
292 VP.constantImageRuleWithColumn : L0.Template\r
293     @template %browseContext %parentType %columnKey %image\r
294         %browseContext\r
295             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
296                 VP.VisualsContribution.HasNodeType %parentType\r
297                 VP.VisualsContribution.HasRule _ : VP.ConstantImageRule\r
298                     VP.ConstantImageRule.HasColumnKey %columnKey\r
299                     VP.ConstantImageRule.HasImage %image\r
300 \r
301 VP.customImageRule : L0.Template\r
302     @template %browseContext %parentType %imageRule\r
303         %browseContext\r
304             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
305                 VP.VisualsContribution.HasNodeType %parentType\r
306                 VP.VisualsContribution.HasRule %imageRule\r
307 \r
308 VP.customCheckedStateRule : L0.Template\r
309     @template %browseContext %parentType %stateRule\r
310         %browseContext\r
311             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
312                 VP.VisualsContribution.HasNodeType %parentType\r
313                 VP.VisualsContribution.HasRule %stateRule\r
314 \r
315 VP.relationChildRuleWithFolder : L0.Template\r
316     @template %browseContext %parentType %relation %childType %folder \r
317         %browseContext\r
318             VP.BrowseContext.HasChildContribution _ : VP.ChildContribution\r
319                 VP.ChildContribution.HasParentNodeType %parentType\r
320                 VP.ChildContribution.HasChildNodeType %folder\r
321                 VP.ChildContribution.HasRule _ : VP.EqualContentChildRule\r
322             VP.BrowseContext.HasChildContribution _ : VP.ChildContribution\r
323                 VP.ChildContribution.HasParentNodeType %folder\r
324                 VP.ChildContribution.HasChildNodeType %childType\r
325                 VP.ChildContribution.HasRule _ : VP.RelationChildRule\r
326                     VP.RelationChildRule.HasRelation %relation\r
327 \r
328 VP.customLabelDecorationRule : L0.Template\r
329     @template %browseContext %parentType %decorationRule\r
330         %browseContext\r
331             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
332                 VP.VisualsContribution.HasNodeType %parentType\r
333                 VP.VisualsContribution.HasRule %decorationRule \r
334 \r
335 VP.customImageDecorationRule : L0.Template\r
336     @template %browseContext %parentType %decorationRule\r
337         %browseContext\r
338             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
339                 VP.VisualsContribution.HasNodeType %parentType\r
340                 VP.VisualsContribution.HasRule %decorationRule \r
341 \r
342 VP.defineRelationChildRule : L0.Template\r
343     @template %rule %parentType %relation %childType\r
344         %rule : VP.ChildContribution\r
345             VP.ChildContribution.HasParentNodeType %parentType\r
346             VP.ChildContribution.HasChildNodeType %childType\r
347             VP.ChildContribution.HasRule _ : VP.RelationChildRule\r
348                 VP.RelationChildRule.HasRelation %relation\r
349 \r
350 // Templates for named rules \r
351 VP.namedRelationChildRule : L0.Template\r
352     @template %browseContext %name %parentType %relation %childType\r
353         %browseContext\r
354             VP.BrowseContext.HasChildContribution %name : VP.ChildContribution\r
355                 VP.ChildContribution.HasParentNodeType %parentType\r
356                 VP.ChildContribution.HasChildNodeType %childType\r
357                 VP.ChildContribution.HasRule _ : VP.RelationChildRule\r
358                     VP.RelationChildRule.HasRelation %relation\r
359 \r
360 VP.namedRelationStatementRule : L0.Template\r
361     @template %browseContext %name %parentType %relation %childType\r
362         %browseContext\r
363             VP.BrowseContext.HasChildContribution %name : VP.ChildContribution\r
364                 VP.ChildContribution.HasParentNodeType %parentType\r
365                 VP.ChildContribution.HasChildNodeType %childType\r
366                 VP.ChildContribution.HasRule _ : VP.RelationStatementRule\r
367                     VP.RelationStatementRule.HasRelation %relation\r
368 \r
369 VP.namedEqualContentChildRule : L0.Template\r
370     @template %browseContext %name %parentType %childType\r
371         %browseContext\r
372             VP.BrowseContext.HasChildContribution %name : VP.ChildContribution\r
373                 VP.ChildContribution.HasParentNodeType %parentType\r
374                 VP.ChildContribution.HasChildNodeType %childType\r
375                 VP.ChildContribution.HasRule _ : VP.EqualContentChildRule\r
376 \r
377 VP.namedConstantChildRule : L0.Template\r
378     @template %browseContext %name %parentType %child\r
379         %browseContext\r
380             VP.BrowseContext.HasChildContribution %name : VP.ChildContribution\r
381                 VP.ChildContribution.HasParentNodeType %parentType\r
382                 VP.ChildContribution.HasChildNodeType L0.Entity\r
383                 VP.ChildContribution.HasRule _ : VP.ConstantChildRule\r
384                     VP.ConstantChildRule.HasChild %child                    \r
385                 \r
386 VP.namedCustomChildRule : L0.Template\r
387     @template %browseContext %name %parentType %childRule %childType\r
388         %browseContext\r
389             VP.BrowseContext.HasChildContribution %name : VP.ChildContribution\r
390                 VP.ChildContribution.HasParentNodeType %parentType\r
391                 VP.ChildContribution.HasChildNodeType %childType\r
392                 VP.ChildContribution.HasRule %childRule\r
393 \r
394 VP.namedCustomModifierRule : L0.Template\r
395     @template %browseContext %name %parentType %modifierRule\r
396         %browseContext\r
397             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
398                 VP.VisualsContribution.HasNodeType %parentType\r
399                 VP.VisualsContribution.HasRule %modifierRule\r
400 \r
401 VP.namedCustomVisualsRule : L0.Template\r
402     @template %browseContext %name %parentType %labelRule\r
403         %browseContext\r
404             VP.BrowseContext.HasVisualsContribution %name : VP.VisualsContribution\r
405                 VP.VisualsContribution.HasNodeType %parentType\r
406                 VP.VisualsContribution.HasRule %labelRule\r
407 \r
408 VP.namedCustomVisualsRuleWithPriority : L0.Template\r
409     @template %browseContext %name %parentType %labelRule %priority\r
410         %browseContext\r
411             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
412                 VP.VisualsContribution.HasNodeType %parentType\r
413                 VP.VisualsContribution.HasRule %labelRule\r
414                 VP.VisualsContribution.HasPriority %priority\r
415 \r
416 VP.namedCustomVisualsRuleWithPriorityAndTest : L0.Template\r
417     @template %browseContext %name %parentType %labelRule %priority %condition\r
418         %browseContext\r
419             VP.BrowseContext.HasVisualsContribution %name : VP.VisualsContribution\r
420                 VP.VisualsContribution.HasNodeType %parentType\r
421                 VP.VisualsContribution.HasRule %labelRule\r
422                 VP.VisualsContribution.HasPriority %priority\r
423                 VP.VisualsContribution.HasCondition %condition\r
424 \r
425 VP.namedConstantLabelRule : L0.Template\r
426     @template %browseContext %name %parentType %label\r
427         %browseContext\r
428             VP.BrowseContext.HasVisualsContribution %name : VP.VisualsContribution\r
429                 VP.VisualsContribution.HasNodeType %parentType\r
430                 VP.VisualsContribution.HasRule _ : VP.ConstantLabelRule\r
431                     VP.ConstantLabelRule.HasLabel %label\r
432                     VP.ConstantLabelRule.HasColumnKey "single"\r
433 \r
434 VP.namedConstantLabelRuleWithColumn : L0.Template\r
435     @template %browseContext %name %parentType %key %label\r
436         %browseContext\r
437             VP.BrowseContext.HasVisualsContribution %name : VP.VisualsContribution\r
438                 VP.VisualsContribution.HasNodeType %parentType\r
439                 VP.VisualsContribution.HasRule _ : VP.ConstantLabelRule\r
440                     VP.ConstantLabelRule.HasLabel %label\r
441                     VP.ConstantLabelRule.HasColumnKey %key\r
442 \r
443 VP.namedCustomLabelRule : L0.Template\r
444     @template %browseContext %name %parentType %labelRule\r
445         %browseContext\r
446             VP.BrowseContext.HasVisualsContribution %name : VP.VisualsContribution\r
447                 VP.VisualsContribution.HasNodeType %parentType\r
448                 VP.VisualsContribution.HasRule %labelRule\r
449 \r
450 VP.namedCustomLabelRuleWithPriority : L0.Template\r
451     @template %browseContext %name %parentType %labelRule %priority\r
452         %browseContext\r
453             VP.BrowseContext.HasVisualsContribution %name : VP.VisualsContribution\r
454                 VP.VisualsContribution.HasNodeType %parentType\r
455                 VP.VisualsContribution.HasRule %labelRule\r
456                 VP.VisualsContribution.HasPriority %priority\r
457 \r
458 VP.namedConstantImageRule : L0.Template\r
459     @template %browseContext %name %parentType %image\r
460         %browseContext\r
461             VP.BrowseContext.HasVisualsContribution %name : VP.VisualsContribution\r
462                 VP.VisualsContribution.HasNodeType %parentType\r
463                 VP.VisualsContribution.HasRule _ : VP.ConstantImageRule\r
464                     VP.ConstantImageRule.HasColumnKey "single"\r
465                     VP.ConstantImageRule.HasImage %image\r
466 \r
467 VP.namedConstantImageRuleWithColumn : L0.Template\r
468     @template %browseContext %name %parentType %columnKey %image\r
469         %browseContext\r
470             VP.BrowseContext.HasVisualsContribution %name : VP.VisualsContribution\r
471                 VP.VisualsContribution.HasNodeType %parentType\r
472                 VP.VisualsContribution.HasRule _ : VP.ConstantImageRule\r
473                     VP.ConstantImageRule.HasColumnKey %columnKey\r
474                     VP.ConstantImageRule.HasImage %image\r
475 \r
476 VP.namedCustomImageRule : L0.Template\r
477     @template %browseContext %name %parentType %imageRule\r
478         %browseContext\r
479             VP.BrowseContext.HasVisualsContribution %name : VP.VisualsContribution\r
480                 VP.VisualsContribution.HasNodeType %parentType\r
481                 VP.VisualsContribution.HasRule %imageRule\r
482 \r
483 VP.namedCustomCheckedStateRule : L0.Template\r
484     @template %browseContext %name %parentType %stateRule\r
485         %browseContext\r
486             VP.BrowseContext.HasVisualsContribution %name : VP.VisualsContribution\r
487                 VP.VisualsContribution.HasNodeType %parentType\r
488                 VP.VisualsContribution.HasRule %stateRule\r
489 \r
490 VP.namedRelationChildRuleWithFolder : L0.Template\r
491     @template %browseContext %folderName %folderChildrenName %parentType %relation %childType %folder \r
492         %browseContext\r
493             VP.BrowseContext.HasChildContribution %folderName : VP.ChildContribution\r
494                 VP.ChildContribution.HasParentNodeType %parentType\r
495                 VP.ChildContribution.HasChildNodeType %folder\r
496                 VP.ChildContribution.HasRule _ : VP.EqualContentChildRule\r
497             VP.BrowseContext.HasChildContribution %folderChildrenName : VP.ChildContribution\r
498                 VP.ChildContribution.HasParentNodeType %folder\r
499                 VP.ChildContribution.HasChildNodeType %childType\r
500                 VP.ChildContribution.HasRule _ : VP.RelationChildRule\r
501                     VP.RelationChildRule.HasRelation %relation\r
502 \r
503 VP.namedCustomLabelDecorationRule : L0.Template\r
504     @template %browseContext %name %parentType %decorationRule\r
505         %browseContext\r
506             VP.BrowseContext.HasVisualsContribution %name : VP.VisualsContribution\r
507                 VP.VisualsContribution.HasNodeType %parentType\r
508                 VP.VisualsContribution.HasRule %decorationRule \r
509 \r
510 VP.namedCustomImageDecorationRule : L0.Template\r
511     @template %browseContext %name %parentType %decorationRule\r
512         %browseContext\r
513             VP.BrowseContext.HasVisualsContribution %name : VP.VisualsContribution\r
514                 VP.VisualsContribution.HasNodeType %parentType\r
515                 VP.VisualsContribution.HasRule %decorationRule \r
516