Programmatically activating a trim item [message #901690] |
Tue, 14 August 2012 03:45  |
Eclipse User |
|
|
|
Hi there. I have a trim item that I'd like to activate when a specific action event is fired but I'm having a lot of trouble trying to activate it.
I've looked around and saw that I could use the IMenuService interface to activate it but it just confused me.
I've included the plugin xml schema to help out (slightly modified)...
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="toolbar:org.eclipse.ui.trim.command1">
<toolbar
id="name">
<dynamic
class="name.popup"
id="name">
</dynamic>
</toolbar>
</menuContribution>
</extension>
Thanks in advance for any help you can provide.
|
|
|
|
Powered by
FUDForum. Page generated in 0.10667 seconds