Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Remove Mac Application Menu in RCP application
Remove Mac Application Menu in RCP application [message #898714] Fri, 27 July 2012 06:29 Go to next message
ModelGeek Mising name is currently offline ModelGeek Mising name
Messages: 458
Registered: June 2011
Senior Member
Hi,

I am working with RCP application. Normally when i run my application in MAC OS then there is an extra menu (with the name defined in product file) at first place and then rest of menus defined in application appear. In Windows, this menu does not appear.

I think we can get the reference to his menu by Display.getSystemMenu() but when i try to use setVisible(false) method on the Menu Object then it does not disappear.

This is call application menu in MAC OS world.

I want to remove this Mac OS application menu.

Any idea?

Regards,

[Updated on: Fri, 27 July 2012 11:17]

Report message to a moderator

Re: Remove Mac Application Menu in RCP application [message #899086 is a reply to message #898714] Mon, 30 July 2012 10:08 Go to previous messageGo to next message
Joseph Carroll is currently offline Joseph Carroll
Messages: 174
Registered: May 2012
Location: Milwaukee, WI
Senior Member

Could you share a sample application. That sounds intriguing and I would like to take a look.

Thanks,

JD
Re: Remove Mac Specific Menu in RCP application [message #899136 is a reply to message #898714] Mon, 30 July 2012 11:58 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5014
Registered: July 2009
Senior Member
You can't remove this menu - it is from the OS.

Tom

Am 27.07.12 12:29, schrieb ModelGeek Mising name:
> Hi,
>
> I am working with RCP application. Normally when i run my application in
> MAC OS then there is an extra menu (with the name defined in product
> file) at first place and then rest of menus defined in application
> appear. In Windows, this menu does not appear.
>
> Normally this menu contains menu items like "Preferences", "Services",
> "Show All" etc etc.
>
> I want to remove this extra menu.
>
> Any idea?
>
> Regards,
Re: Remove Mac Specific Menu in RCP application [message #899137 is a reply to message #899136] Mon, 30 July 2012 12:14 Go to previous message
Valerio Santinelli is currently offline Valerio Santinelli
Messages: 34
Registered: January 2012
Member
As Thomas said, that's part of the OS and it cannot be removed. It's not just Java or Eclipse that can't get rid of it.
Previous Topic:3.x RCP application running under 4.2 problem with medialib
Next Topic:Help with ITreePathContentProvider and ItreePathLabelProvider.
Goto Forum:
  


Current Time: Mon Apr 21 11:35:35 EDT 2014

Powered by FUDForum. Page generated in 0.18370 seconds