Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Tooltip for Launch button
Tooltip for Launch button [message #496140] Sun, 08 November 2009 22:24 Go to next message
Matt Gray is currently offline Matt Gray
Messages: 13
Registered: July 2009
Junior Member
I'm trying to change the tooltip that shows when someone hovers over the 'Run' or launch button in the toolbar of my IDE.

I've implemented an ILaunchShortcut and a launchConfigurationTypes, and that all works, but I can't seem to change the tooltip of the button. At the moment it sometimes says 'Run' and other times says 'Run filename', depending on the selected editor.

I'd like the tooltip to say 'Run' + name of configuration.

I've been looking at implementing an ILaunchLabelChangedListener, but I can't quite work out if that is what I'm meant to do, or how to do it. The LaunchingResourceManager class seems like it might be what I'm meant to hook into, but it is an internal class so I don't think I should use it?

Any tips on how to change the tooltip of the Run (and Debug) buttons would be appreciated.

Matt.
Re: Tooltip for Launch button [message #496691 is a reply to message #496140] Tue, 10 November 2009 18:59 Go to previous message
Matt Gray is currently offline Matt Gray
Messages: 13
Registered: July 2009
Junior Member
Worked it out - the answer is that I needed to implement a ILaunchShortcut2 instead of an ILaunchShortcut.

This has some getLaunchConfigurations() methods that do what I needed.

Previous Topic:Galileo - where is the Laucher Icon?
Next Topic:Upgrade to 3.5, all editors blank, unhandled event loop exception
Goto Forum:
  


Current Time: Wed Aug 27 15:23:23 EDT 2014

Powered by FUDForum. Page generated in 0.04929 seconds