I am extending the eclipse outline view. I am trying to insert a toolbar inside the contentouline toolbar. I get a null pointer exception in the WorkbenchMenuService in the following method:
public void releaseContributions(ContributionManager mgr)
The problem is that the nested toolbar does not have toolbarManager. I created this toolbar in the plugin.xml file of my plugin. How do I give the nested toolbarcontributionItem a toolbarManager?
Paul Webster Messages: 6859 Registered: July 2009 Location: Ottawa
I'm not sure what you are trying to do but a menuContribution containing
a toolbar containing some commands works against a CoolBarManager. If
you have a ToolBarManager like in a view's actionBars or of your own
making, then you can consume a menuContribution contains commands directly.