|
|
|
| Re: Adding command, menu contributions, handlers programmatically [message #819963 is a reply to message #819946] |
Tue, 13 March 2012 10:56   |
|
Within org.eclipse.ui.menus extension point, in its <menuContribution> element is attribute class than can supply "content" of menu programmatically.
Checkout doc for org.eclipse.ui.menus:
<menuContribution
locationURI="menu:someorg.somemenu.id?after=additions">
class - If this optional attribute is specified the provided class will be instantiated and used to provide menu contributions at this location. If provided, all child elements will be ignored.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05062 seconds