Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Problem with menuContribution not showing in ViewPart instances(Problem with menuContribution not showing in ViewPart instances)
Problem with menuContribution not showing in ViewPart instances [message #1028772] Thu, 28 March 2013 18:09
Pierre Allard is currently offline Pierre Allard
Messages: 3
Registered: November 2012
Junior Member
Hi,

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 !
Previous Topic:Eclipse Juno Sr2 Window64 Update Sites All Fail
Next Topic:Is Eclipse going to (eventually) move to JavaFX instead of SWT ?
Goto Forum:
  


Current Time: Thu Oct 23 07:57:57 GMT 2014

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

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