]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.viewpoint.ontology/graph/Viewpoint.pgraph
Sync git svn branch with SVN repository r33144.
[simantics/platform.git] / bundles / org.simantics.viewpoint.ontology / graph / Viewpoint.pgraph
index 3c902cc0e1a7e8ffc61a7f4511b05f125116ec59..86701008122d3f371687fb97de2e45548ca5e7e6 100644 (file)
@@ -111,6 +111,11 @@ VP.ResourceNameLabelRule : VP.LabelRule
 VP.ResourceLabelLabelRule : VP.LabelRule\r
     L0.HasDescription """Label rule based on resource labels."""\r
 \r
+VP.TooltipRule <T VP.VisualsRule\r
+    L0.HasDescription """Tooltip rule gives a tooltip to a node."""\r
+VP.DescriptionTooltipRule : VP.TooltipRule\r
+    L0.HasDescription """Tooltip rule that reads tooltip from node's L0.HasDescription."""\r
+\r
 VP.ModifierRule <T VP.VisualsRule\r
     L0.HasDescription """Modifier rule gives a modifier to a node."""\r
 VP.NoModifierRule : VP.ModifierRule\r
@@ -393,6 +398,13 @@ VP.namedCustomModifierRule : L0.Template
                 VP.VisualsContribution.HasNodeType %parentType\r
                 VP.VisualsContribution.HasRule %modifierRule\r
 \r
+VP.namedCustomModifierRule : L0.Template\r
+    @template %browseContext %name %parentType %modifierRule\r
+        %browseContext\r
+            VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution\r
+                VP.VisualsContribution.HasNodeType %parentType\r
+                VP.VisualsContribution.HasRule %modifierRule\r
+\r
 VP.namedCustomVisualsRule : L0.Template\r
     @template %browseContext %name %parentType %labelRule\r
         %browseContext\r