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