Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » tooltips at properties view(how to display multi-line tooltips over properties view)
tooltips at properties view [message #651091] Thu, 27 January 2011 17:34 Go to next message
CarlosM  is currently offline CarlosM Friend
Messages: 3
Registered: January 2011
Junior Member
Hi.

I have a little problem when one model is in read only mode and the user wants to see the value of a property that is cut by the length of the column "value".
That length could be modified, as I know, but that I would like to get is to show a multi-line tooltip over each value (in order to see all the value in one sight) instead the single-line that is shown by default.

Have you got any suggestion?
Do I have to try to modify Properties View provided by "org.eclipse.ui.views"? What's the better way?

Thaks in advance.
Best regards.
Carlos.
Re: tooltips at properties view [message #651104 is a reply to message #651091] Thu, 27 January 2011 18:27 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 5487
Registered: July 2009
Senior Member
Yes you need to customize it an replace the LabelProvider through a
ColumnLabelProvider because you need to use faked JFace-Tooltips.

See http://wiki.eclipse.org/JFaceSnippets for examples

Tom


Am 27.01.11 18:34, schrieb CarlosM:
> Hi.
>
> I have a little problem when one model is in read only mode and the user
> wants to see the value of a property that is cut by the length of the
> column "value".
> That length could be modified, as I know, but that I would like to get
> is to show a multi-line tooltip over each value (in order to see all the
> value in one sight) instead the single-line that is shown by default.
>
> Have you got any suggestion?
> Do I have to try to modify Properties View provided by
> "org.eclipse.ui.views"? What's the better way?
>
> Thaks in advance.
> Best regards.
> Carlos.
Re: tooltips at properties view [message #651183 is a reply to message #651091] Fri, 28 January 2011 09:25 Go to previous message
CarlosM  is currently offline CarlosM Friend
Messages: 3
Registered: January 2011
Junior Member
I have just had a look over some examples and the snnipet 020 is something like I need to.
However, I would like to know if there is some example of the tooltip that java editor shows when the user moves the mouse over some words of the code. Besides, that tooltip is resizable...
Where can I get the implementation of this tooltip in order to adapt it for the properties view?

Thanks in advance.
Best regards.
Carlos.
Previous Topic:[SOLVED] How to synchronize a copy project in the background using JavaElementDeltas?
Next Topic:Eclipse plugins for remote resources?
Goto Forum:
  


Current Time: Tue Dec 23 04:42:00 GMT 2014

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

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