Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Tooltips for Table cells
Tooltips for Table cells [message #452611] Wed, 23 March 2005 12:52 Go to next message
Sivakumar is currently offline SivakumarFriend
Messages: 15
Registered: July 2009
Junior Member
Hi,

Can anyone suggest me how tool tip can be set for each individual
Table cells? Thanks
Re: Tooltips for Table cells [message #452615 is a reply to message #452611] Wed, 23 March 2005 14:01 Go to previous messageGo to next message
Henrik Skovgaard is currently offline Henrik SkovgaardFriend
Messages: 84
Registered: July 2009
Member
I think there is an example of it here:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet125.java?rev=HEAD

/Henrik

"Sivakumar" <siva_bu@yahoo.com> wrote in message
news:e146282c2960f533db4af5ce3bcd6a89$1@www.eclipse.org...
> Hi,
>
> Can anyone suggest me how tool tip can be set for each individual Table
> cells? Thanks
>
Re: Tooltips for Table cells [message #452617 is a reply to message #452611] Wed, 23 March 2005 14:19 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2151
Registered: July 2009
Senior Member
Tooltips cannot be set on Table or Tree items, but they can be faked by
detecting a cell that's being hovered over and then showing a custom tool
tip. For an example of this see:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet125.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup

Another example of detecting a table cell from an event:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet110.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup

Grant

"Sivakumar" <siva_bu@yahoo.com> wrote in message
news:e146282c2960f533db4af5ce3bcd6a89$1@www.eclipse.org...
> Hi,
>
> Can anyone suggest me how tool tip can be set for each individual
> Table cells? Thanks
>
Previous Topic:UI layout help
Next Topic:Editor not linked to IFile
Goto Forum:
  


Current Time: Thu Aug 22 09:20:57 GMT 2019

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

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

Back to the top