joergreichert / spray

Automatically exported from code.google.com/p/spray
1 stars 2 forks source link

Shape preview in Xtext hover #140

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As addition to the SVG generator

http://code.google.com/a/eclipselabs.org/p/spray/issues/detail?id=130

the generated SVG file out of the shape definition should be shown inside the 
Xtext hover display when moving the mouse over the Shape definition 
respectively the Shape definition reference inside the Spray file.

For how to implement a Xtext rich hover, see: 
http://ckulla.wordpress.com/2011/02/06/hover-support-in-xtext-2-0/
http://christiandietrich.wordpress.com/2011/07/16/hover-support-in-xtext-2-0-tut
orial/
http://muelder.blogspot.de/2012/04/eclipse-user-help-in-your-xtext-hover.html

For how to show an SVG see:
http://sourceforge.net/projects/svgplugin/
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.gmf.doc/reference/a
pi/tooling/org/eclipse/gmf/gmfgraph/SVGFigure.html
or loaded inside the SWTBrowser: 
http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.swt.snippets/src/org/eclip
se/swt/snippets/Snippet136.java?view=co

Original issue reported on code.google.com by de.abg.r...@gmail.com on 8 Jul 2012 at 3:02

GoogleCodeExporter commented 9 years ago
Realized on Juno branch, see also mail: 
http://groups.google.com/group/spray-dev/msg/748188e9cef8b4c6

Original comment by de.abg.r...@gmail.com on 8 Oct 2012 at 7:05

GoogleCodeExporter commented 9 years ago
migrated to indigo branch as well

Original comment by de.abg.r...@gmail.com on 10 Oct 2012 at 5:21