Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Information control of Java text hover
Information control of Java text hover [message #505303] Tue, 29 December 2009 07:53 Go to next message
Eclipse UserFriend
Hello.

I am looking for the source code of the information control of the Java text hover (the helper window that pops up when the mouse is over a class name for example in the IDE).
I would like to use something similiar in my RCP app, but I can't find the source. Can someone please point me in the right direction?

Regards,
Kai Schlamp
Re: Information control of Java text hover [message #505337 is a reply to message #505303] Tue, 29 December 2009 11:52 Go to previous messageGo to next message
Eclipse UserFriend
Are you referring to

package org.eclipse.jdt.internal.ui.text.java.hover.SourceViewerInfo rmationControl

It is part of the org.eclipse.jdt.ui project.


hth
Re: Information control of Java text hover [message #505360 is a reply to message #505337] Tue, 29 December 2009 18:16 Go to previous messageGo to next message
Eclipse UserFriend
neerahi wrote on Tue, 29 December 2009 11:52
Are you referring to
package org.eclipse.jdt.internal.ui.text.java.hover.SourceViewerInfo rmationControl


I am not quite sure. It uses a StyledText to present the information. I always thought (and also read it somewhere here) that the hovers in the Eclipse Java Editors use the Browser widget. The problem with SourceViewerInformationControl is that it doesn't support clickable links in an easy way (or does it)?

Re: Information control of Java text hover [message #505837 is a reply to message #505360] Tue, 05 January 2010 05:14 Go to previous messageGo to next message
Eclipse UserFriend
You are probably looking for JavaDocHover in the same package org.eclipse.jdt.internal.ui.text.java.hover.
Re: Information control of Java text hover [message #505877 is a reply to message #505303] Tue, 05 January 2010 07:44 Go to previous message
Eclipse UserFriend
Kai Schlamp wrote:
> Hello.
>
> I am looking for the source code of the information control of the
> Java text hover
See org.eclipse.jface.internal.text.html.BrowserInformationContr ol.

Dani
> (the helper window that pops up when the mouse is over a class name
> for example in the IDE).
> I would like to use something similiar in my RCP app, but I can't find
> the source. Can someone please point me in the right direction?
>
> Regards,
> Kai Schlamp
Previous Topic:Running Plug-in Project form Command Line
Next Topic:Hotspot Exception
Goto Forum:
  


Current Time: Sun Mar 23 21:08:20 EDT 2025

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

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

Back to the top