Skip to main content


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
Eclipse UserFriend
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: Fri Mar 29 01:48:35 GMT 2024

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

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

Back to the top