Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » [Databinding] ObservableMapLabelProvider + Tooltips
[Databinding] ObservableMapLabelProvider + Tooltips [message #333218] Mon, 01 December 2008 11:24 Go to next message
Lukas Myslivec is currently offline Lukas MyslivecFriend
Messages: 4
Registered: July 2009
Junior Member
Hello,

im working on tableviewer and databinding. everything works great except
tooltips. i didn't find any way how to make tooltips with an
ObservableMapLabelProvider possible.

maybe someone could point my to the right direction.

thank you
lukas
Re: [Databinding] ObservableMapLabelProvider + Tooltips [message #333220 is a reply to message #333218] Mon, 01 December 2008 11:49 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

The ColumnViewerToolTipSupport recalculates the tooltip everytime before
it is shown so I don't think you need to use Databinding there. Or was
ColumnViewerToolTipSupport the thing you searched for.

See [1] for examples.

Tom

[1]http://wiki.eclipse.org/JFaceSnippets

Lukas Myslivec schrieb:
> Hello,
>
> im working on tableviewer and databinding. everything works great except
> tooltips. i didn't find any way how to make tooltips with an
> ObservableMapLabelProvider possible.
>
> maybe someone could point my to the right direction.
>
> thank you
> lukas
>
Re: [Databinding] ObservableMapLabelProvider + Tooltips [message #333227 is a reply to message #333220] Mon, 01 December 2008 15:16 Go to previous messageGo to next message
Lukas Myslivec is currently offline Lukas MyslivecFriend
Messages: 4
Registered: July 2009
Junior Member
Hello,

i am using databinding for binding the content to my tableviewer. so the
labelprovide is ObservableMapLabelProvider which extends LabelProvider and
not celllabelprovider which i dont understood.

thank very much you for your hint ColumnViewerToolTipSupport. but this is
not working.

some other ideas with tableviewer databinding and tooltips?

thank you
lukas
Re: [Databinding] ObservableMapLabelProvider + Tooltips [message #333237 is a reply to message #333227] Mon, 01 December 2008 15:50 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Use this one [1] it subclasses ColumnLabelProvider and
ColumnViewerToolTipSupport needs a CellLabelProvider.

Tom

[1] http://publicsvn.bestsolution.at/repos/java/at.bestsolution. dataforms/trunk/src/at/bestsolution/dataforms/util/viewers/G enericObservableMapCellLabelProvider.java

Lukas Myslivec schrieb:
> Hello,
>
> i am using databinding for binding the content to my tableviewer. so the
> labelprovide is ObservableMapLabelProvider which extends LabelProvider
> and not celllabelprovider which i dont understood.
>
> thank very much you for your hint ColumnViewerToolTipSupport. but this
> is not working.
>
> some other ideas with tableviewer databinding and tooltips?
>
> thank you
> lukas
>


--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Previous Topic:Running command in another plugin
Next Topic:Implementing a File Listener in a plugin
Goto Forum:
  


Current Time: Wed Jul 17 19:29:42 GMT 2024

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

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

Back to the top