[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Re: Pulldown toolbar contributions for editors.

Hi,

I came with the same problem. Consolidating actions with a pulldown and enabeling it for a specific editor is impossible. The "pulldown" style for an editor action does not exist. This would be a nice to have feature in a future version of Eclipse (3.4, 4.0). What do you think?

Thanks,

Mircea



Daniel Megert wrote:
Ketan Padegaonkar wrote:

Hi,

We've been using regular buttons as editor contributions. We'd like to
consolidate some such contributions into a dropdown.

Is there some extension point that lets me contribute pulldowns on the
toolbar for *editors* ?


First of all, there is no special/local tool bar for editors like there is for views. The stuff ends up in the global tool bar. The text editor for example contributes the Next/Previous Annotation as pull-down using the org.eclipse.ui.actionSets extension point. For details see: /org.eclipse.ui.editors/plugin.xml

Dani

Any pointers to code snippets would be cool.

Cheers,
Ketan Padegaonkar
I blog... therefore I am... http://ketan.padegaonkar.name/

The farther you go, the less you know.
        -- Lao Tsu, "Tao Te Ching"