| Author |
Message |
|
|
Post subject: Pulldown Button and its menu item
Posted: Jun 04, 2007 - 09:19 PM
|
|
Joined: Jun 04, 2007
Posts: 1
|
|
Hi,
I want to create a button like the button Run.. in Eclipse.
I have create the button(an action in an actionSet) in the file plugin.xml with the style="pulldown".
Then i don't really know how to do it. I try this :
I have create a class, linked to the button, which implement IWorkbenchWindowPulldownDelegate, and try to implement the function getMenu but i failed. Is it possible to link a menu item to an action, which implement IWorkbenchWindowActionDelegate.
Or i have to do it with the different approach ? |
|
|
| |
|
|
|
 |
|
|
| |