|Form ToolBar from plugin.xml definition [message #1065847]
||Thu, 27 June 2013 14:46
| Kimbal G. Welch
Registered: July 2009
I'm trying to add a toolbar to an Form on an Editor page. The toolbar will show at the stop of the page rather than on the coolbar, and I'm using the forms plugin API. |
What I'd like to do is define the bar in the plugin.xml and use that definition to create a toolbar contribution item that I can add to the form's toolbar manager.
I can write a lot of code to get the menu extension point "org.eclipse.ui.menus" using "Platform.getExtensionRegistry().getExtensionPoint" and parse it for the toolbar definition and then fill in a toolbar contribution item.
However, code for this already has to exist somewhere in Eclipse, and I'm hoping it is accessible to RCP developers so I don't have to reproduce that work.
Can someone tell me if there is an object or method that will return the contribution item from the plugin.xml when given the toolbar URI?
Powered by FUDForum
. Page generated in 0.01513 seconds