Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Main menu
Main menu [message #937956] Tue, 09 October 2012 12:08 Go to next message
Gennady Gromov is currently offline Gennady GromovFriend
Messages: 24
Registered: May 2011
Junior Member
Hello!
How to change the main menu of Trimmed window to another main menu programmically?
I created this another menu (with id:"menu:org.eclipse.ui.main.menu") in Menu Contributions section of Application.e4xmi and tried to set it by MTrimmedWindow.setMainMenu() method. But there is no result.
Which is right way to do this?

[Updated on: Tue, 09 October 2012 12:18]

Report message to a moderator

Re: Main menu [message #938021 is a reply to message #937956] Tue, 09 October 2012 13:34 Go to previous messageGo to next message
Sopot Cela is currently offline Sopot CelaFriend
Messages: 597
Registered: December 2010
Senior Member

Is the new menu you supply set to be rendered?
Re: Main menu [message #938955 is a reply to message #938021] Wed, 10 October 2012 09:52 Go to previous message
Gennady Gromov is currently offline Gennady GromovFriend
Messages: 24
Registered: May 2011
Junior Member
Hello,

I tried both variants of "to be rendered". After the execution the setMainMenu() method the previous menu is still visible but don't works.
Previous Topic:Using own TranslationService for Application.e4xmi
Next Topic:Blog: Why Eclipse e4
Goto Forum:
  


Current Time: Sun Nov 23 03:21:29 GMT 2014

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

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