Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » what is this yellow popup window in the editor called
what is this yellow popup window in the editor called [message #458560] Wed, 22 November 2006 15:34 Go to next message
Serge  is currently offline Serge Friend
Messages: 76
Registered: July 2009
Member
hi everyone

does anyone know how this popup window in eclipse is called? sometimes
when you navigate with your mouse over a method you get a yellow window.
when you hit f2 the window kinda pops out and displays the whole content.
is this a jface widget? can this only be used in the texteditor or is
there also a way to adapt it for other widgets (cells in tables for
instance)?

thanks in advance.

kind regards
Re: what is this yellow popup window in the editor called [message #458608 is a reply to message #458560] Thu, 23 November 2006 09:02 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Serge wrote:

> hi everyone
>
> does anyone know how this popup window in eclipse is called? sometimes
> when you navigate with your mouse over a method you get a yellow window.

This is called 'hover' which implements IInformationControl.

> when you hit f2 the window kinda pops out and displays the whole
> content. is this a jface widget?

F2 opens an information presenter (IInformationPresenter) which normally
shows the same info than the hover but can be moved around and resized.

> can this only be used in the texteditor or is there also a way to
> adapt it for other widgets (cells in tables for instance)?

There exists several implementations of the above. You can take a look
at DefaultInformationControl which can be used as information control
and information presenter and since it only takes a parent shell you
should be able to use it along with cells in tables. Depending on what
you need a simple JFace PopupDialog might better fit your needs.

HTH
Dani


>
> thanks in advance.
>
> kind regards
>
Re: what is this yellow popup window in the editor called [message #458763 is a reply to message #458608] Fri, 24 November 2006 08:06 Go to previous messageGo to next message
Serge  is currently offline Serge Friend
Messages: 76
Registered: July 2009
Member
hi,

thanks a lot, i'll have a look at that.

kind regards
Re: what is this yellow popup window in the editor called [message #897864 is a reply to message #458608] Wed, 25 July 2012 10:31 Go to previous message
Sir Pseudo is currently offline Sir PseudoFriend
Messages: 1
Registered: July 2012
Junior Member
Thanks Dani
your post is still useful, almost six years after you posted.

Thanks again

ge33ek
ge33ek.blogspot.com
Previous Topic:Run product in IDE. Features not apear in about dialog.
Next Topic:ClassLoader to load external JARs into Eclipse RCP app at runtime
Goto Forum:
  


Current Time: Tue Mar 19 06:26:42 GMT 2024

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

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

Back to the top