Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 530658

Summary: Implement tooltip support for edges.
Product: [Tools] GEF Reporter: Tamas Miklossy <miklossy>
Component: GEF ZestAssignee: Tamas Miklossy <miklossy>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: matthias.wienand
Version: unspecified   
Target Milestone: 5.1.0 (2019-06)   
Hardware: PC   
OS: Windows 10   
Whiteboard: low-hanging fruit

Description Tamas Miklossy CLA 2018-02-02 07:59:50 EST
Zest already supports tooltips for nodes. This support should be extended to the tooltips for edges as well, as discussed in the GEF forum: https://www.eclipse.org/forums/index.php/t/1083100/

This improvement of GEF Zest would also contribute to the improvement of GEF DOT, since graphviz (and the dot language) already provides support for the 'edgetooltip', 'headtooltip', 'labeltooltip', 'tailtooltip' and 'tooltip' attributes (http://www.graphviz.org/).
Comment 1 Matthias Wienand CLA 2018-10-15 14:10:56 EDT
We could tackle this in multiple steps, i.e. provide the functionality for Zest first and then implement the conversion from DOT to Zest for the individual tooltip attributes.
Comment 2 Tamas Miklossy CLA 2019-05-15 02:02:49 EDT
I created a Pull Request https://github.com/eclipse/gef/pull/68 to solve this issue.
Comment 3 Matthias Wienand CLA 2019-05-17 08:13:57 EDT
Well done! I just merged the PR into master. Therefore, I resolve this ticket as fixed for 5.1.0 M3.
Comment 4 Tamas Miklossy CLA 2019-05-18 04:26:04 EDT
I pushed the following changes to the master branch:

[530658] DOT Graph view - add support for rendering edge tooltips.

- Extend the Dot2ZestAttributesConverter to convert the DOT edge tooltip
and the edge labeltooltip attributes from DOT to Zest.
- Implement corresponding Dot2ZestGraphCopierTest and
Dot2ZestEdgeAttributesConversionTest test cases.

So that the edge tooltip rendering capability is provided by both Zest and DOT.