Adding a MouseTrackListener to a TreeViewerColumn [message #514911] |
Wed, 17 February 2010 02:59  |
Eclipse User |
|
|
|
Hi,
at the moment I´m having a problem with a MousTrackListener.
I wrote a Listener which pops up a Tooltip when a special Item is selected.
The GUI Object which should open the Tooltip is a FilteredTree which has some TreeViewerColumns.
I can easily add the listener to the whole Tree with the following Code.
filteredTree.getViewer().getTree().addMouseTrackListener( mouseTrack );
But I would prefer, that the tooltip only opens when my Mouse points over a defined TreeViewerColumn.
How can I add the Listener to the TreeViewerColumn instead of adding it to the whole Tree?
Or is this not possible and I have to add the Listener to the Tree and check the hovered Column when catching the MouseHover Event?
Thanks for your help!
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.62172 seconds