Skip to main content



      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] Mon, 22 January 2007 23: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 10:55 Go to previous message
Eclipse UserFriend
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: Thu Jun 19 19:02:51 EDT 2025

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

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

Back to the top