|Problem with menuContribution not showing in ViewPart instances [message #1028772]
||Thu, 28 March 2013 18:09
| Pierre Allard
Registered: November 2012
I created a View, declared a first Command (PinView) through the org.eclipse.ui.commands extension point.
I then made a menuContribution that contribute the PinView Command to the toolbar of my View. That works fine.
I then set my view parameter allowMultiple=true and contributed an additionnal Command (NewView) to the previous menuContribution. This Command
creates a new instance of my view. That works fine also.
The problem I have is that the view instances created through the use of my NewView Command have no toolbar nor menu.
It looks like my menuContribution is not applied to the new views.
What am i doing wrong ?
Thanks in adavance !
Powered by FUDForum
. Page generated in 0.06362 seconds