1 L0 = <http://www.simantics.org/Layer0-1.1>
2 ACT = <http://www.simantics.org/Action-1.1>
3 IMAGE = <http://www.simantics.org/Image2-1.2>
5 VP = <http://www.simantics.org/Viewpoint-1.2>
8 >-- VP.BrowseContext.HasActionContribution --> VP.ActionContribution <R L0.IsRelatedTo
9 >-- VP.BrowseContext.HasTestContribution --> VP.TestContribution <R L0.IsRelatedTo
10 >-- VP.BrowseContext.SupportsRemovalOf --> L0.Entity <R L0.IsRelatedTo
11 >-- VP.BrowseContext.SupportsRenamingOf --> L0.Entity <R L0.IsRelatedTo
13 VP.ActionContribution <T L0.Entity
14 >-- VP.ActionContribution.HasNodeType --> L0.Entity <R L0.IsRelatedTo
15 >-- VP.ActionContribution.HasCategory --> VP.ActionCategory <R L0.IsRelatedTo : L0.TotalFunction
16 >-- VP.ActionContribution.HasAction --> ACT.Action <R L0.IsRelatedTo : L0.FunctionalRelation
17 >-- VP.ActionContribution.IsVisibleIf --> VP.Test <R L0.IsRelatedTo : L0.FunctionalRelation
18 >-- VP.ActionContribution.IsEnabledIf --> VP.Test <R L0.IsRelatedTo : L0.FunctionalRelation
19 >-- VP.ActionContribution.HasImage --> IMAGE.Image <R L0.IsRelatedTo : L0.FunctionalRelation
21 VP.ActionCategory <T L0.Entity
22 >-- VP.ActionCategory.HasPriority --> L0.Double <R L0.HasProperty : L0.FunctionalRelation
23 >-- VP.ActionCategory.IsSubmenu --> L0.Boolean <R L0.HasProperty : L0.FunctionalRelation
25 VP.TestContribution <T L0.Entity
26 >-- VP.TestContribution.HasNodeType --> L0.Entity <R L0.IsRelatedTo
27 >-- VP.TestContribution.HasTest --> VP.Test <R L0.IsRelatedTo : L0.FunctionalRelation
28 >-- VP.TestContribution.HasPriority --> L0.Double <R L0.HasProperty : L0.FunctionalRelation
30 VP.RemovalTestContribution <T VP.TestContribution
31 VP.RenamingTestContribution <T VP.TestContribution
33 VP.NewActionCategory : VP.ActionCategory
35 VP.ActionCategory.IsSubmenu L0.True
36 VP.ImportActionCategory : VP.ActionCategory
38 VP.ActionCategory.IsSubmenu L0.True
39 VP.ExportActionCategory : VP.ActionCategory
41 VP.ActionCategory.IsSubmenu L0.True
42 VP.EditActionCategory : VP.ActionCategory
44 VP.ActionCategory.IsSubmenu L0.False
48 VP.defineActionContribution: L0.Template
49 @template %actionContribution %label %parentType %image %category %action
50 %actionContribution : VP.ActionContribution
52 VP.ActionContribution.HasImage %image
53 VP.ActionContribution.HasCategory %category
54 VP.ActionContribution.HasNodeType %parentType
55 VP.ActionContribution.HasAction %action
57 VP.actionContribution: L0.Template
58 @template %actionContext %label %parentType %image %category %action
60 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
62 VP.ActionContribution.HasImage %image
63 VP.ActionContribution.HasCategory %category
64 VP.ActionContribution.HasNodeType %parentType
65 VP.ActionContribution.HasAction %action
67 VP.actionContributionWithVisibility: L0.Template
68 @template %actionContext %label %parentType %image %category %action %test
70 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
72 VP.ActionContribution.HasImage %image
73 VP.ActionContribution.HasCategory %category
74 VP.ActionContribution.HasNodeType %parentType
75 VP.ActionContribution.HasAction %action
76 VP.ActionContribution.IsVisibleIf %test
78 VP.removalTestContribution: L0.Template
79 @template %actionContext %parentType %test %priority
81 VP.BrowseContext.HasTestContribution _ : VP.RemovalTestContribution
82 VP.TestContribution.HasNodeType %parentType
83 VP.TestContribution.HasTest %test
84 VP.TestContribution.HasPriority %priority
86 VP.renamingTestContribution: L0.Template
87 @template %actionContext %parentType %test %priority
89 VP.BrowseContext.HasTestContribution _ : VP.RenamingTestContribution
90 VP.TestContribution.HasNodeType %parentType
91 VP.TestContribution.HasTest %test
92 VP.TestContribution.HasPriority %priority