Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

up vote 1 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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.