Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » toolbar inside a toolbar
toolbar inside a toolbar [message #537258] Tue, 01 June 2010 17:25 Go to next message
Lidder is currently offline LidderFriend
Messages: 46
Registered: July 2009

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?

Re: toolbar inside a toolbar [message #537321 is a reply to message #537258] Tue, 01 June 2010 23:39 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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.


Paul Webster .platform.doc.isv/guide/workbench.htm

Previous Topic:Key binding conflict with "Undefined Command"
Next Topic:[Common Navigator] Image Decorators with Custom Resource Backed Models
Goto Forum:

Current Time: Sun May 20 12:18:13 GMT 2018

Powered by FUDForum. Page generated in 0.01386 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top