Patrick
Patrick

Reputation: 585

MenuContribution to Editor toolbar?

In my recent project, i contributed various commands to viewpart toolbars:

Example: alt text http://www.fotos-hochladen.net/toolbarexamplepunesgox.png I want to do this for editors also. Is this possible and if it is, could some please point me in the right direction, on how this can be achieved?

Thanks! :-) Patrick

Upvotes: 1

Views: 471

Answers (1)

drstupid
drstupid

Reputation: 433

Editors don't have their own toolbar, like views do. They can only contribute to the "Main Toolbar", as seen here:

Eclipse layout

See example 5, example 6 and example 8 in this article.

Upvotes: 2

Related Questions