Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Multi Plugin Project Problems with Menu(Problem defining Menu item placement.)
Multi Plugin Project Problems with Menu [message #511470] Mon, 01 February 2010 16:41 Go to next message
Martijn Cremer is currently offline Martijn CremerFriend
Messages: 77
Registered: January 2010
Location: Breda
Member

Good day,

I seem to be having a little problem with telling how I want my Menu Items sorted in the MenuBar. I created a multi project Plugin Project. And I spread my function and views/perspectives over the plugins. Giving each project its own Menu Contribution to the org.eclipse.ui.main.menu. But now it seems to set the menu items at random on generation. I tried adding ?after=other.menu.id.

This how ever does not seem to work if I put it a menu item of the menu:org.eclipse.ui.main.menu (menuContribution).

if i try to the plugin menuContribution

menu:this.plug-in.menu.item?after=other.menu.id

The menu item completely disappears.

Does the plug-in that is having a refer 2 a other plug-in.menu.id have 2 know it. Do I need to add that plug-in to the Imported Packages. Because that would sort of defeat for me the purpose separating modular functions/perspectives in separate project.

If I eny one can shed some lights on this that would be great.


hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is.
Re: Multi Plugin Project Problems with Menu [message #511492 is a reply to message #511470] Mon, 01 February 2010 17:39 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 423
Registered: July 2009
Senior Member
Hi Martijn,

You talk about menu items in the menu bar but do you mean menus? A menu must
have at least one menu item otherwise it will not show.

--

Best Regards,
Wim Jongman
-- Southern DOS: Y'all reckon? (Yep/Nope)
(Eclipse Old Skool Quote Service)

> Good day,
>
> I seem to be having a little problem with telling how I want my Menu Items
sorted in the MenuBar. I created a multi project Plugin Project. And I spread
my function and views/perspectives over the plugins. Giving each project its
own Menu Contribution to the org.eclipse.ui.main.menu. But now it seems to
set the menu items at random on generation. I tried adding
?after=other.menu.id.
>
> This how ever does not seem to work if I put it a menu item of the
menu:org.eclipse.ui.main.menu (menuContribution).
>
> if i try to the plugin menuContribution
>
> menu:this.plug-in.menu.item?after=other.menu.id
>
> The menu item completely disappears.
>
> Does the plug-in that is having a refer 2 a other plug-in.menu.id have 2
know it. Do I need to add that plug-in to the Imported Packages. Because that
would sort of defeat for me the purpose separating modular
functions/perspectives in separate project.
>
> If I eny one can shed some lights on this that would be great.
Re: Multi Plugin Project Problems with Menu [message #511593 is a reply to message #511492] Tue, 02 February 2010 08:30 Go to previous message
Martijn Cremer is currently offline Martijn CremerFriend
Messages: 77
Registered: January 2010
Location: Breda
Member

Wim Jongman wrote on Mon, 01 February 2010 12:39
Hi Martijn,

You talk about menu items in the menu bar but do you mean menus? A menu must
have at least one menu item otherwise it will not show.

--

Best Regards,
Wim Jongman
-- Southern DOS: Y'all reckon? (Yep/Nope)
(Eclipse Old Skool Quote Service)



Hi Wim,

The menu has items. It shows if i do not use the ?after=other.menu.id action. But then I got this russian rullet going for the menu items showing. Whitch I ofcourse do not want.



hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is.
Previous Topic:Example RCP-project: when is Application.stop() supposed to be called?
Next Topic:INI file missing in the deployed RCP product
Goto Forum:
  


Current Time: Tue Apr 23 12:59:04 GMT 2024

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

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

Back to the top