Skip to main content

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 AllardFriend
Messages: 3
Registered: November 2012
Junior Member

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:Enabling navigation history for inter tab navigation
Next Topic:Is Eclipse going to (eventually) move to JavaFX instead of SWT ?
Goto Forum:

Current Time: Mon May 21 15:21:54 GMT 2018

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

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

Back to the top