Community
Participate
Working Groups
I would like to create a plugin which contributes to the toolbar provided by the NattableEditor (Load Customization, Load Facet, Sort, ...). The toolbar is not declared in the plugin.xml, so I can't add it my actions with org.eclipse.ui.menus, and if I create my own editor extending NattableEditor, I can't access to the toolbar which is private (and there is not getter()). How can I contribute to it?
Hi, This bug has been solved with Bug 335020. It is now possible to contribute to the editor main toolbar : <menuContribution allPopups="false" locationURI="toolbar:org.eclipse.emf.facet.widgets.nattable.workbench.editor.NatTableEditor.toolbar"> <command commandId="my.command.id" label="label" style="style"> <visibleWhen checkEnabled="false"> <with variable="activePartId"> <equals value="org.eclipse.emf.facet.widgets.nattable.workbench.editor.NatTableEditor"> </equals> </with> </visibleWhen> </command> </menuContribution> And to contribute to the editor contextual menu : <menuContribution allPopups="false" locationURI="popup:org.eclipse.emf.facet.widgets.nattable.workbench.editor.NatTableEditor"> <command commandId="my.command.id" label="label" style="style"> </command> </menuContribution> Regards, Nicolas Guyomar
"This bug has been solved with Bug 335020." It can then been marked as fixed.
This bug can be closed.