Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Set menu's order in menuBar
Set menu's order in menuBar [message #447932] Tue, 18 April 2006 08:18 Go to next message
Karl is currently offline KarlFriend
Messages: 92
Registered: July 2009
Member
Hi,all:
I define several menus through actionSet contribution, and I want those
to be displayed in the order like this: menu1,menu2,menu3,... ,window,
help.How to set the order of menu in this case?
Regards,
karl.
Re: Set menu's order in menuBar [message #447965 is a reply to message #447932] Tue, 18 April 2006 14:20 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

AFAIK, you can't control the order of contributed menus, unless you put
the menus in specific groups.

Later,
PW


Re: Set menu's order in menuBar [message #448205 is a reply to message #447965] Wed, 19 April 2006 04:24 Go to previous message
Eclipse UserFriend
Originally posted by: sciman.126.com

Hi,
Thanks for your help.:-)
By your hints, I added the following codes in fillMenuBar method of
ApplicationActionBarAdvisor and let the windown,help menu to the last of
the menuBar.
menuBar.add(new GroupMarker("begin"));
menuBar.add(new GroupMarker(IWorkbenchConstants.MB_ADDTIONS));
menuBar.add(new GroupMarker("end"));

Regards,
Karl.
Previous Topic:How can I exchange data between perspective?
Next Topic:[DataBinding] Listener cleanup
Goto Forum:
  


Current Time: Mon Nov 04 21:22:37 GMT 2024

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

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

Back to the top