i am new to eclipse plugin development. i created a plugin which creates the actionsets (toolbar menu). Onclick of it, calls the class file and perform some action. Here is my plugin.xml code:
<extension
point="org.eclipse.ui.actionSets">
<actionSet
label="Action Set"
visible="true"
id="com.sample.actionSet">
<menu
label="Example &Menu"
id="exampleMenu">
<separator
name="exampleGroup">
</separator>
</menu>
<action
label="Run"
icon="icons/sample.gif"
class="com.sample.actions.Action"
tooltip="Build APK"
menubarPath="exampleMenu/exampleGroup"
toolbarPath="exampleGroup"
id="com.sample.actions.Run">
</action>
</extension>
I tried of adding the toolbar menu with drop-down item for this action but none worked. How could i add an drop-down menu to the given action labelled "Run".
For More Imformation, it looks like:
http://help.eclipse.org/luna/topic/org.eclipse.jdt.doc.user/gettingStarted/images/run_dropdown.png