Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Eclipse (I'm using 3.4.1) you can create "favourite" run configurations. These simply appear fixed at the top of the list of Run configurations.

enter image description here

Is there a way to create a shortcut to a runtime launcher in the Eclipse toolbar itself?

share|improve this question
up vote 2 down vote accepted

As far as I know, the only way to do this is to code it your self, which is why I never have. I think you have to subclass ControlContribution (org.eclipse.jface) and implement createControl(Composite). It's possible the RCP Book provides a cookbook solution to this problem as it's often asked.

It's possible you could hack an existing plugin menu, but I'm not really sure you want to go there either.

share|improve this answer
I had a feeling that this would be the case. I'll give it a couple of days before marking as correct though... (just in case) – Joel Oct 20 '09 at 9:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .