Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Common Navigator tooltips
Common Navigator tooltips [message #486750] Fri, 18 September 2009 18:14 Go to next message
Eclipse User
Originally posted by: yoduderoo.netscape.net

Hi,
I have a RCP with Common Navigator. How to I set the tooltip text which
is sometimes displayed when the mouse hovers over a child node?
Thanks, y
Re: Common Navigator tooltips [message #486764 is a reply to message #486750] Fri, 18 September 2009 23:38 Go to previous message
Francis Upton IV is currently offline Francis Upton IV
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
Eclipse User wrote on Fri, 18 September 2009 18:14
Originally posted by: yoduderoo.netscape.net

Hi,
I have a RCP with Common Navigator. How to I set the tooltip text which
is sometimes displayed when the mouse hovers over a child node?
Thanks, y


You can get the instance of the CommonViewer and then setup the tooltip support as you normally would for a viewer. To get the instance of the CommonViewer do something like this:

CommonNavigator nav = (CommonNavigator)workbenchWindow.getActivePage()
.findView("yourNavigatgorViewId");
Viewer v = nav.getCommonViewer();

HTH,
Francis


Previous Topic:Plugin to share icons and strings
Next Topic:Common Navigator Sorting Issues
Goto Forum:
  


Current Time: Sat Aug 30 18:32:20 EDT 2014

Powered by FUDForum. Page generated in 0.01468 seconds