Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Hover Information
Hover Information [message #19295] Tue, 18 December 2007 14:47 Go to next message
Eclipse UserFriend
Originally posted by: special1.gmx.de

Hi

I got another question ;-)
I want to add this kind of hover information that you can see in a small
white window while your mouse is moving through a special word
in the editor (e.g. the javadoc in java). I want to add my own information
to this from my own scriptlanguage, but i dont know where to start and how
to add own writings. Can anyone give me advice ?

Thanks a lot
Sebastian
Re: Hover Information [message #19341 is a reply to message #19295] Wed, 19 December 2007 14:03 Go to previous message
Andrei Sobolev is currently offline Andrei SobolevFriend
Messages: 72
Registered: July 2009
Member
Hi Sebastian,

If you already have selection engine implemented, you could use DLTK documentation infrastructure by extending
org.eclipse.dltk.ui.scriptDocumentationProviders extension point.
This extension provide easy way to show documentation for model elements.
Please refer to xotcl ui plugin for reference implementation.

If you don't have selection engine, you could look at org.eclipse.dltk.ui.editorTextHovers extension for generic Eclipse
Text editor hovers.

Please look at our class AbstractScriptEditorTextHover for reference implementation.

Best regards,
Andrei.

> Hi
>
> I got another question ;-)
> I want to add this kind of hover information that you can see in a small
> white window while your mouse is moving through a special word
> in the editor (e.g. the javadoc in java). I want to add my own
> information to this from my own scriptlanguage, but i dont know where to
> start and how to add own writings. Can anyone give me advice ?
>
> Thanks a lot
> Sebastian
>
Previous Topic:Create Folder in Project with Wizard
Next Topic:Execute required files in Ruby?
Goto Forum:
  


Current Time: Tue Apr 23 11:58:20 GMT 2024

Powered by FUDForum. Page generated in 0.02462 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top