]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.viewpoint.ontology/graph/Viewpoint.pgraph
Migrated source code from Simantics SVN
[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.ModifierRule <T VP.VisualsRule\r
115     L0.HasDescription """Modifier rule gives a modifier to a node."""\r
116 VP.NoModifierRule : VP.ModifierRule\r
117     L0.HasDescription """Modifier rule that denies modifications."""\r
118 VP.ResourceNameModifierRule : VP.ModifierRule\r
119     L0.HasDescription """Modifier rule based on resource names."""\r
120 VP.ResourceLabelModifierRule : VP.ModifierRule\r
121     L0.HasDescription """Modifier rule based on resource labels."""\r
122 VP.VariableLabelModifierRule : VP.ModifierRule\r
123     L0.HasDescription """Modifier rule based on variable labels."""\r
124 \r
125 VP.ImageRule <T VP.VisualsRule\r
126     L0.HasDescription """Label rule gives an image to a node."""\r
127 VP.ConstantImageRule <T VP.LabelRule     \r
128     L0.HasDescription """Constant label rule gives a fixed image to a node."""\r
129 VP.ConstantImageRule.HasImage <R L0.HasProperty : L0.TotalFunction            \r
130     L0.HasDomain VP.ConstantLabelRule\r
131     L0.HasRange IMAGE.Image\r
132 VP.ConstantImageRule.HasColumnKey <R L0.HasProperty : L0.TotalFunction            \r
133     L0.HasDomain VP.ConstantLabelRule\r
134     L0.HasRange IMAGE.Image\r
135 \r
136 VP.LabelDecorationRule <T VP.VisualsRule\r
137     L0.HasDescription """Label decoration rule decorates the label of a node."""    \r
138 VP.ConstantLabelDecorationRule <T VP.LabelDecorationRule\r
139 VP.ConstantLabelDecorationRule.HasFormat <R L0.HasProperty : L0.FunctionalRelation            \r
140     L0.HasDomain VP.ConstantLabelDecorationRule\r
141     L0.HasRange L0.String\r
142 VP.ConstantLabelDecorationRule.HasForegroundColor <R L0.HasProperty : L0.FunctionalRelation            \r
143     L0.HasDomain VP.ConstantLabelDecorationRule\r
144     L0.HasRange COLOR.RGB\r
145 VP.ConstantLabelDecorationRule.HasBackgroundColor <R L0.HasProperty : L0.FunctionalRelation        \r
146     L0.HasDomain VP.ConstantLabelDecorationRule\r
147     L0.HasRange COLOR.RGB\r
148 VP.ConstantLabelDecorationRule.HasFont <R L0.HasProperty : L0.FunctionalRelation            \r
149     L0.HasDomain VP.ConstantLabelDecorationRule\r
150     L0.HasRange L0.String\r
151 VP.ConstantLabelDecorationRule.HasStyle <R L0.HasProperty : L0.FunctionalRelation            \r
152     L0.HasDomain VP.ConstantLabelDecorationRule\r
153     L0.HasRange L0.String\r
154 \r
155 VP.FlatNodeRule : VP.VisualsRule\r
156 \r
157 VP.ImageDecorationRule <T VP.VisualsRule\r
158     L0.HasDescription """Image decoration rule decorates the image of a node."""\r
159 \r
160 VP.SorterRule <T VP.VisualsRule\r
161 VP.PassThruSorterRule : VP.SorterRule\r
162 VP.AlphanumericSorterRule : VP.SorterRule\r
163 VP.LinkedListSorterRule : VP.SorterRule\r
164 \r
165 VP.CheckedStateRule <T VP.VisualsRule\r
166 \r
167 VP.Test <T L0.Entity\r
168     L0.HasDescription """Tests may be used to control if contributions are enabled for specific node content."""  \r
169             \r
170 // Templates \r
171 VP.relationChildRule : L0.Template\r
172     @template %browseContext %parentType %relation %childType\r
173         %browseContext\r
174             VP.BrowseContext.HasChildContribution _ : VP.ChildContribution\r
175                 VP.ChildContribution.HasParentNodeType %parentType\r
176                 VP.ChildContribution.HasChildNodeType %childType\r
177                 VP.ChildContribution.HasRule _ : VP.RelationChildRule\r
178                     VP.RelationChildRule.HasRelation %relation\r
179 \r
180 VP.relationStatementRule : L0.Template\r
181     @template %browseContext %parentType %relation %childType\r
182         %browseContext\r
183             VP.BrowseContext.HasChildContribution _ : VP.ChildContribution\r
184                 VP.ChildContribution.HasParentNodeType %parentType\r
185                 VP.ChildContribution.HasChildNodeType %childType\r
186                 VP.ChildContribution.HasRule _ : VP.RelationStatementRule\r
187                     VP.RelationStatementRule.HasRelation %relation\r
188 \r
189 VP.equalContentChildRule : L0.Template\r
190     @template %browseContext %parentType %childType\r
191         %browseContext\r
192             VP.BrowseContext.HasChildContribution _ : VP.ChildContribution\r
193                 VP.ChildContribution.HasParentNodeType %parentType\r
194                 VP.ChildContribution.HasChildNodeType %childType\r
195                 VP.ChildContribution.HasRule _ : VP.EqualContentChildRule\r
196 \r
197 VP.constantChildRule : L0.Template\r
198     @template %browseContext %parentType %child\r
199         %browseContext\r
200             VP.BrowseContext.HasChildContribution _ : VP.ChildContribution\r
201                 VP.ChildContribution.HasParentNodeType %parentType\r
202                 VP.ChildContribution.HasChildNodeType L0.Entity\r
203                 VP.ChildContribution.HasRule _ : VP.ConstantChildRule\r
204                     VP.ConstantChildRule.HasChild %child                    \r
205                 \r
206 VP.customChildRule : L0.Template\r
207     @template %browseContext %parentType %childRule %childType\r
208         %browseContext\r
209             VP.BrowseContext.HasChildContribution _ : VP.ChildContribution\r
210                 VP.ChildContribution.HasParentNodeType %parentType\r
211                 VP.ChildContribution.HasChildNodeType %childType\r
212                 VP.ChildContribution.HasRule %childRule\r
213 \r
214 VP.customModifierRule : L0.Template\r
215     @template %browseContext %parentType %modifierRule\r
216         %browseContext\r
217             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
218                 VP.VisualsContribution.HasNodeType %parentType\r
219                 VP.VisualsContribution.HasRule %modifierRule\r
220 \r
221 VP.customVisualsRule : L0.Template\r
222     @template %browseContext %parentType %labelRule\r
223         %browseContext\r
224             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
225                 VP.VisualsContribution.HasNodeType %parentType\r
226                 VP.VisualsContribution.HasRule %labelRule\r
227 \r
228 VP.customVisualsRuleWithPriority : L0.Template\r
229     @template %browseContext %parentType %labelRule %priority\r
230         %browseContext\r
231             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
232                 VP.VisualsContribution.HasNodeType %parentType\r
233                 VP.VisualsContribution.HasRule %labelRule\r
234                 VP.VisualsContribution.HasPriority %priority\r
235 \r
236 VP.customVisualsRuleWithPriorityAndTest : L0.Template\r
237     @template %browseContext %parentType %labelRule %priority %condition\r
238         %browseContext\r
239             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
240                 VP.VisualsContribution.HasNodeType %parentType\r
241                 VP.VisualsContribution.HasRule %labelRule\r
242                 VP.VisualsContribution.HasPriority %priority\r
243                 VP.VisualsContribution.HasCondition %condition\r
244 \r
245 VP.constantLabelRule : L0.Template\r
246     @template %browseContext %parentType %label\r
247         %browseContext\r
248             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
249                 VP.VisualsContribution.HasNodeType %parentType\r
250                 VP.VisualsContribution.HasRule _ : VP.ConstantLabelRule\r
251                     VP.ConstantLabelRule.HasLabel %label\r
252                     VP.ConstantLabelRule.HasColumnKey "single"\r
253 \r
254 VP.constantLabelRuleWithColumn : L0.Template\r
255     @template %browseContext %parentType %key %label\r
256         %browseContext\r
257             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
258                 VP.VisualsContribution.HasNodeType %parentType\r
259                 VP.VisualsContribution.HasRule _ : VP.ConstantLabelRule\r
260                     VP.ConstantLabelRule.HasLabel %label\r
261                     VP.ConstantLabelRule.HasColumnKey %key\r
262 \r
263 VP.customLabelRule : L0.Template\r
264     @template %browseContext %parentType %labelRule\r
265         %browseContext\r
266             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
267                 VP.VisualsContribution.HasNodeType %parentType\r
268                 VP.VisualsContribution.HasRule %labelRule\r
269 \r
270 VP.customLabelRuleWithPriority : L0.Template\r
271     @template %browseContext %parentType %labelRule %priority\r
272         %browseContext\r
273             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
274                 VP.VisualsContribution.HasNodeType %parentType\r
275                 VP.VisualsContribution.HasRule %labelRule\r
276                 VP.VisualsContribution.HasPriority %priority\r
277 \r
278 VP.constantImageRule : L0.Template\r
279     @template %browseContext %parentType %image\r
280         %browseContext\r
281             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
282                 VP.VisualsContribution.HasNodeType %parentType\r
283                 VP.VisualsContribution.HasRule _ : VP.ConstantImageRule\r
284                     VP.ConstantImageRule.HasColumnKey "single"\r
285                     VP.ConstantImageRule.HasImage %image\r
286 \r
287 VP.constantImageRuleWithColumn : L0.Template\r
288     @template %browseContext %parentType %columnKey %image\r
289         %browseContext\r
290             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
291                 VP.VisualsContribution.HasNodeType %parentType\r
292                 VP.VisualsContribution.HasRule _ : VP.ConstantImageRule\r
293                     VP.ConstantImageRule.HasColumnKey %columnKey\r
294                     VP.ConstantImageRule.HasImage %image\r
295 \r
296 VP.customImageRule : L0.Template\r
297     @template %browseContext %parentType %imageRule\r
298         %browseContext\r
299             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
300                 VP.VisualsContribution.HasNodeType %parentType\r
301                 VP.VisualsContribution.HasRule %imageRule\r
302 \r
303 VP.customCheckedStateRule : L0.Template\r
304     @template %browseContext %parentType %stateRule\r
305         %browseContext\r
306             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
307                 VP.VisualsContribution.HasNodeType %parentType\r
308                 VP.VisualsContribution.HasRule %stateRule\r
309 \r
310 VP.relationChildRuleWithFolder : L0.Template\r
311     @template %browseContext %parentType %relation %childType %folder \r
312         %browseContext\r
313             VP.BrowseContext.HasChildContribution _ : VP.ChildContribution\r
314                 VP.ChildContribution.HasParentNodeType %parentType\r
315                 VP.ChildContribution.HasChildNodeType %folder\r
316                 VP.ChildContribution.HasRule _ : VP.EqualContentChildRule\r
317             VP.BrowseContext.HasChildContribution _ : VP.ChildContribution\r
318                 VP.ChildContribution.HasParentNodeType %folder\r
319                 VP.ChildContribution.HasChildNodeType %childType\r
320                 VP.ChildContribution.HasRule _ : VP.RelationChildRule\r
321                     VP.RelationChildRule.HasRelation %relation\r
322 \r
323 VP.customLabelDecorationRule : L0.Template\r
324     @template %browseContext %parentType %decorationRule\r
325         %browseContext\r
326             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
327                 VP.VisualsContribution.HasNodeType %parentType\r
328                 VP.VisualsContribution.HasRule %decorationRule \r
329 \r
330 VP.customImageDecorationRule : L0.Template\r
331     @template %browseContext %parentType %decorationRule\r
332         %browseContext\r
333             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
334                 VP.VisualsContribution.HasNodeType %parentType\r
335                 VP.VisualsContribution.HasRule %decorationRule \r
336 \r
337 VP.defineRelationChildRule : L0.Template\r
338     @template %rule %parentType %relation %childType\r
339         %rule : VP.ChildContribution\r
340             VP.ChildContribution.HasParentNodeType %parentType\r
341             VP.ChildContribution.HasChildNodeType %childType\r
342             VP.ChildContribution.HasRule _ : VP.RelationChildRule\r
343                 VP.RelationChildRule.HasRelation %relation\r
344 \r
345 // Templates for named rules \r
346 VP.namedRelationChildRule : L0.Template\r
347     @template %browseContext %name %parentType %relation %childType\r
348         %browseContext\r
349             VP.BrowseContext.HasChildContribution %name : VP.ChildContribution\r
350                 VP.ChildContribution.HasParentNodeType %parentType\r
351                 VP.ChildContribution.HasChildNodeType %childType\r
352                 VP.ChildContribution.HasRule _ : VP.RelationChildRule\r
353                     VP.RelationChildRule.HasRelation %relation\r
354 \r
355 VP.namedRelationStatementRule : L0.Template\r
356     @template %browseContext %name %parentType %relation %childType\r
357         %browseContext\r
358             VP.BrowseContext.HasChildContribution %name : VP.ChildContribution\r
359                 VP.ChildContribution.HasParentNodeType %parentType\r
360                 VP.ChildContribution.HasChildNodeType %childType\r
361                 VP.ChildContribution.HasRule _ : VP.RelationStatementRule\r
362                     VP.RelationStatementRule.HasRelation %relation\r
363 \r
364 VP.namedEqualContentChildRule : L0.Template\r
365     @template %browseContext %name %parentType %childType\r
366         %browseContext\r
367             VP.BrowseContext.HasChildContribution %name : VP.ChildContribution\r
368                 VP.ChildContribution.HasParentNodeType %parentType\r
369                 VP.ChildContribution.HasChildNodeType %childType\r
370                 VP.ChildContribution.HasRule _ : VP.EqualContentChildRule\r
371 \r
372 VP.namedConstantChildRule : L0.Template\r
373     @template %browseContext %name %parentType %child\r
374         %browseContext\r
375             VP.BrowseContext.HasChildContribution %name : VP.ChildContribution\r
376                 VP.ChildContribution.HasParentNodeType %parentType\r
377                 VP.ChildContribution.HasChildNodeType L0.Entity\r
378                 VP.ChildContribution.HasRule _ : VP.ConstantChildRule\r
379                     VP.ConstantChildRule.HasChild %child                    \r
380                 \r
381 VP.namedCustomChildRule : L0.Template\r
382     @template %browseContext %name %parentType %childRule %childType\r
383         %browseContext\r
384             VP.BrowseContext.HasChildContribution %name : VP.ChildContribution\r
385                 VP.ChildContribution.HasParentNodeType %parentType\r
386                 VP.ChildContribution.HasChildNodeType %childType\r
387                 VP.ChildContribution.HasRule %childRule\r
388 \r
389 VP.namedCustomModifierRule : L0.Template\r
390     @template %browseContext %name %parentType %modifierRule\r
391         %browseContext\r
392             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
393                 VP.VisualsContribution.HasNodeType %parentType\r
394                 VP.VisualsContribution.HasRule %modifierRule\r
395 \r
396 VP.namedCustomVisualsRule : L0.Template\r
397     @template %browseContext %name %parentType %labelRule\r
398         %browseContext\r
399             VP.BrowseContext.HasVisualsContribution %name : VP.VisualsContribution\r
400                 VP.VisualsContribution.HasNodeType %parentType\r
401                 VP.VisualsContribution.HasRule %labelRule\r
402 \r
403 VP.namedCustomVisualsRuleWithPriority : L0.Template\r
404     @template %browseContext %name %parentType %labelRule %priority\r
405         %browseContext\r
406             VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
407                 VP.VisualsContribution.HasNodeType %parentType\r
408                 VP.VisualsContribution.HasRule %labelRule\r
409                 VP.VisualsContribution.HasPriority %priority\r
410 \r
411 VP.namedCustomVisualsRuleWithPriorityAndTest : L0.Template\r
412     @template %browseContext %name %parentType %labelRule %priority %condition\r
413         %browseContext\r
414             VP.BrowseContext.HasVisualsContribution %name : VP.VisualsContribution\r
415                 VP.VisualsContribution.HasNodeType %parentType\r
416                 VP.VisualsContribution.HasRule %labelRule\r
417                 VP.VisualsContribution.HasPriority %priority\r
418                 VP.VisualsContribution.HasCondition %condition\r
419 \r
420 VP.namedConstantLabelRule : L0.Template\r
421     @template %browseContext %name %parentType %label\r
422         %browseContext\r
423             VP.BrowseContext.HasVisualsContribution %name : VP.VisualsContribution\r
424                 VP.VisualsContribution.HasNodeType %parentType\r
425                 VP.VisualsContribution.HasRule _ : VP.ConstantLabelRule\r
426                     VP.ConstantLabelRule.HasLabel %label\r
427                     VP.ConstantLabelRule.HasColumnKey "single"\r
428 \r
429 VP.namedConstantLabelRuleWithColumn : L0.Template\r
430     @template %browseContext %name %parentType %key %label\r
431         %browseContext\r
432             VP.BrowseContext.HasVisualsContribution %name : VP.VisualsContribution\r
433                 VP.VisualsContribution.HasNodeType %parentType\r
434                 VP.VisualsContribution.HasRule _ : VP.ConstantLabelRule\r
435                     VP.ConstantLabelRule.HasLabel %label\r
436                     VP.ConstantLabelRule.HasColumnKey %key\r
437 \r
438 VP.namedCustomLabelRule : L0.Template\r
439     @template %browseContext %name %parentType %labelRule\r
440         %browseContext\r
441             VP.BrowseContext.HasVisualsContribution %name : VP.VisualsContribution\r
442                 VP.VisualsContribution.HasNodeType %parentType\r
443                 VP.VisualsContribution.HasRule %labelRule\r
444 \r
445 VP.namedCustomLabelRuleWithPriority : L0.Template\r
446     @template %browseContext %name %parentType %labelRule %priority\r
447         %browseContext\r
448             VP.BrowseContext.HasVisualsContribution %name : VP.VisualsContribution\r
449                 VP.VisualsContribution.HasNodeType %parentType\r
450                 VP.VisualsContribution.HasRule %labelRule\r
451                 VP.VisualsContribution.HasPriority %priority\r
452 \r
453 VP.namedConstantImageRule : L0.Template\r
454     @template %browseContext %name %parentType %image\r
455         %browseContext\r
456             VP.BrowseContext.HasVisualsContribution %name : VP.VisualsContribution\r
457                 VP.VisualsContribution.HasNodeType %parentType\r
458                 VP.VisualsContribution.HasRule _ : VP.ConstantImageRule\r
459                     VP.ConstantImageRule.HasColumnKey "single"\r
460                     VP.ConstantImageRule.HasImage %image\r
461 \r
462 VP.namedConstantImageRuleWithColumn : L0.Template\r
463     @template %browseContext %name %parentType %columnKey %image\r
464         %browseContext\r
465             VP.BrowseContext.HasVisualsContribution %name : VP.VisualsContribution\r
466                 VP.VisualsContribution.HasNodeType %parentType\r
467                 VP.VisualsContribution.HasRule _ : VP.ConstantImageRule\r
468                     VP.ConstantImageRule.HasColumnKey %columnKey\r
469                     VP.ConstantImageRule.HasImage %image\r
470 \r
471 VP.namedCustomImageRule : L0.Template\r
472     @template %browseContext %name %parentType %imageRule\r
473         %browseContext\r
474             VP.BrowseContext.HasVisualsContribution %name : VP.VisualsContribution\r
475                 VP.VisualsContribution.HasNodeType %parentType\r
476                 VP.VisualsContribution.HasRule %imageRule\r
477 \r
478 VP.namedCustomCheckedStateRule : L0.Template\r
479     @template %browseContext %name %parentType %stateRule\r
480         %browseContext\r
481             VP.BrowseContext.HasVisualsContribution %name : VP.VisualsContribution\r
482                 VP.VisualsContribution.HasNodeType %parentType\r
483                 VP.VisualsContribution.HasRule %stateRule\r
484 \r
485 VP.namedRelationChildRuleWithFolder : L0.Template\r
486     @template %browseContext %folderName %folderChildrenName %parentType %relation %childType %folder \r
487         %browseContext\r
488             VP.BrowseContext.HasChildContribution %folderName : VP.ChildContribution\r
489                 VP.ChildContribution.HasParentNodeType %parentType\r
490                 VP.ChildContribution.HasChildNodeType %folder\r
491                 VP.ChildContribution.HasRule _ : VP.EqualContentChildRule\r
492             VP.BrowseContext.HasChildContribution %folderChildrenName : VP.ChildContribution\r
493                 VP.ChildContribution.HasParentNodeType %folder\r
494                 VP.ChildContribution.HasChildNodeType %childType\r
495                 VP.ChildContribution.HasRule _ : VP.RelationChildRule\r
496                     VP.RelationChildRule.HasRelation %relation\r
497 \r
498 VP.namedCustomLabelDecorationRule : L0.Template\r
499     @template %browseContext %name %parentType %decorationRule\r
500         %browseContext\r
501             VP.BrowseContext.HasVisualsContribution %name : VP.VisualsContribution\r
502                 VP.VisualsContribution.HasNodeType %parentType\r
503                 VP.VisualsContribution.HasRule %decorationRule \r
504 \r
505 VP.namedCustomImageDecorationRule : L0.Template\r
506     @template %browseContext %name %parentType %decorationRule\r
507         %browseContext\r
508             VP.BrowseContext.HasVisualsContribution %name : VP.VisualsContribution\r
509                 VP.VisualsContribution.HasNodeType %parentType\r
510                 VP.VisualsContribution.HasRule %decorationRule \r
511