Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Tooltips possible for EMF objects in properties view?
Tooltips possible for EMF objects in properties view? [message #326643] Thu, 27 March 2008 11:29 Go to next message
Conor O'Mahony is currently offline Conor O'MahonyFriend
Messages: 108
Registered: July 2009
Senior Member
Hi,

I have an RCP application which has a properties view that displays properties of EMF model objects.

Is it possible to set tooltips on the properties view? The EMF edit code generates a
PropertySheetPage and I would like so that when a user hovers over a particular property it would
display the value in a tooltip. Also is it be possible for the EMF generated item provider property
descriptors to provide the text for the tooltip?

I am using Eclipse 3.2.2 and EMF 2.2

Many thanks,
Conor
Re: Tooltips possible for EMF objects in properties view? [message #326647 is a reply to message #326643] Thu, 27 March 2008 12:43 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

I think the generated viewers are using the "old" style ITable*
interface which doesn't support Tooltips. You'll need to switch the
using ColumnLabelProviders new to JFace 3.3.

I think there was a discussion lately on the emf-newsgroup talking about
ColumnLabelProvider. I think the author managed somehow to do this and
filed a bug where the code is attached to.

Tom

Conor O'Mahony schrieb:
> Hi,
>
> I have an RCP application which has a properties view that displays
> properties of EMF model objects.
>
> Is it possible to set tooltips on the properties view? The EMF edit code
> generates a PropertySheetPage and I would like so that when a user
> hovers over a particular property it would display the value in a
> tooltip. Also is it be possible for the EMF generated item provider
> property descriptors to provide the text for the tooltip?
>
> I am using Eclipse 3.2.2 and EMF 2.2
>
> Many thanks,
> Conor


--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Re: Tooltips possible for EMF objects in properties view? [message #326648 is a reply to message #326643] Thu, 27 March 2008 12:45 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Conor,

Something people often don't notice is that when you select a property
the status line at the bottom of the Eclipse window shows a
description. I imagine that same description text could be used to show
hover help, but I don't think the properties view does that by default
and I'm not sure how you'd need to specialize it in order to add such
support...


Conor O'Mahony wrote:
> Hi,
>
> I have an RCP application which has a properties view that displays
> properties of EMF model objects.
>
> Is it possible to set tooltips on the properties view? The EMF edit
> code generates a PropertySheetPage and I would like so that when a
> user hovers over a particular property it would display the value in a
> tooltip. Also is it be possible for the EMF generated item provider
> property descriptors to provide the text for the tooltip?
>
> I am using Eclipse 3.2.2 and EMF 2.2
>
> Many thanks,
> Conor
Previous Topic:JFace Treeviewer refresh collapses the tree nodes
Next Topic:Dynamic menu contribution to view toolbar does not work?
Goto Forum:
  


Current Time: Wed Jul 17 23:40:04 GMT 2024

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

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

Back to the top