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 08:08 Go to next message
Gennady Gromov is currently offline Gennady Gromov
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 08:18]

Report message to a moderator

Re: Main menu [message #938021 is a reply to message #937956] Tue, 09 October 2012 09:34 Go to previous messageGo to next message
Sopot Cela is currently offline Sopot Cela
Messages: 587
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 05:52 Go to previous message
Gennady Gromov is currently offline Gennady Gromov
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: Wed Apr 16 03:26:24 EDT 2014

Powered by FUDForum. Page generated in 0.02406 seconds