Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Plugin Dev: How to use new Rich Text Hovers (since 3.4)

I've implemented plain text hovers in my plugin with ITextHover. And now I want to use new eclipse 3.4 feature - Rich text hovers with text styles, images and actions.But I can't find articles/examples about it. What interfaces should I use and where? I found ITextHoverExtension2 interface, but can't find how to create hover objects (what class should they be?) and what interface should catch them?

like image 572
Imaskar Avatar asked Dec 05 '25 17:12

Imaskar


1 Answers

I don't know if the OP is still interested, but for the record: What I wrote previously was half-right and more than three-quarters wrong (and yes, I can do math :-) I've written a blog post that, I hope, does a better job in covering this subject.

(If you're frowning at this self-promotion, you can smile at the knowledge that this update isn't likely to draw many readers.)

like image 72
Dan Breslau Avatar answered Dec 11 '25 12:12

Dan Breslau



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!