How to add a pulldown button in a view's toolbar?

Posted by madgnome on Stack Overflow See other posts from Stack Overflow or by madgnome
Published on 2010-05-05T12:36:57Z Indexed on 2010/05/05 12:38 UTC
Read the original article Hit count: 465

I need to add a pulldown button to a view's toolbar in an Eclipse plugin.

Actually buttons in the toolbar are added like that :

<extension point="org.eclipse.ui.viewActions">
  <viewContribution id="..." targetId="$MyViewId$">
    <action id="..."
            toolbarPath="action1"
            class="Class extending Action and implementing IViewActionDelegate">
    </action>
  </viewContribution>
</extension>

© Stack Overflow or respective owner

Related posts about eclipse-plugin

Related posts about eclipse-rcp