Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » Main menu
Main menu [message #937956] Tue, 09 October 2012 08:08 Go to next message
Eclipse UserFriend
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] by 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
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 05:52 Go to previous message
Eclipse UserFriend
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: Tue Jul 22 18:42:06 EDT 2025

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

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

Back to the top