Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » how to define the position of menus in RCP
how to define the position of menus in RCP [message #462038] Tue, 23 January 2007 04:15 Go to next message
Eclipse UserFriend
Originally posted by: anubhav.pande.tcs.com

Hi
I have written two new plugins which adds new menus to my RCP.
Now I want to allign their positions.It seems to be coming alphabetically.

How can it be done?
Regards,
Anubhav
Re: how to define the position of menus in RCP [message #462140 is a reply to message #462038] Tue, 23 January 2007 15:55 Go to previous message
Heiko Kundlacz is currently offline Heiko KundlaczFriend
Messages: 17
Registered: July 2009
Junior Member
You can use the "menubarpath" in the action declaration to position similar entries together.

You can also add GroupMarkers for the menues:

defaultMenu = new MenuManager(DefaultMessages.getString("menu.main.file"), IWorkbenchActionConstants.M_FILE);

defaultMenu.add(new GroupMarker("myGroup"));

Use the GroupMarker string entry in the GroupMarker path.

Hope that helps
Heiko
Previous Topic:Re: Is there Eclipse RCP Trainning?
Next Topic:why a 32bit bitmap image for Windows when exporting a product?
Goto Forum:
  


Current Time: Wed Oct 09 00:53:38 GMT 2024

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

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

Back to the top