Skip to main content



      Home
Home » Modeling » EMF » How to implement Tool tip for tree items
How to implement Tool tip for tree items [message #895309] Thu, 12 July 2012 08:28 Go to next message
Eclipse UserFriend
Hi,


Is there a way to add tool tip support in the edit plugin ?
if not, so how could I do this for the tree items ?
Re: How to implement Tool tip for tree items [message #895320 is a reply to message #895309] Thu, 12 July 2012 08:49 Go to previous messageGo to next message
Eclipse UserFriend
I'm not sure how tool tips work in JFace. How are they specified for a
TreeViewer?


On 12/07/2012 2:28 PM, becks m wrote:
> Hi,
>
>
> Is there a way to add tool tip support in the edit plugin ?
> if not, so how could I do this for the tree items ?
Re: How to implement Tool tip for tree items [message #895328 is a reply to message #895320] Thu, 12 July 2012 09:06 Go to previous messageGo to next message
Eclipse UserFriend
I think that label provider should extend DecoratingStyledCellLabelProvider or ColumnLabelProvider to be able to override
getToolTipText() method

[Updated on: Thu, 12 July 2012 09:07] by Moderator

Re: How to implement Tool tip for tree items [message #895331 is a reply to message #895328] Thu, 12 July 2012 09:11 Go to previous messageGo to next message
Eclipse UserFriend
Yes. CellLabelProvider is the base interface to get them, and you also
have to enable through ColumnViewerTooltipSupport

Tom

Am 12.07.12 15:06, schrieb becks m:
> I think that label provider should extend
> DecoratingStyledCellLabelProvider or ColumnLabelProvider
Re: How to implement Tool tip for tree items [message #895332 is a reply to message #895331] Thu, 12 July 2012 09:17 Go to previous message
Eclipse UserFriend
great, but how can I add this to the edit plugin as emf has its own structure for extend and I cannot change it
Previous Topic:My Model is getting to big...
Next Topic:Problem with eSetResource(null, null) in EMF from GMF in Eclipse Juno
Goto Forum:
  


Current Time: Thu Jul 03 17:59:50 EDT 2025

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

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

Back to the top