Skip to main content


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 10:29 Go to next message
ModelGeek Mising name is currently offline ModelGeek Mising nameFriend
Messages: 550
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 15: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 14:08 Go to previous messageGo to next message
Joseph Carroll is currently offline Joseph CarrollFriend
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 15:58 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
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 16:14 Go to previous message
Valerio Santinelli is currently offline Valerio SantinelliFriend
Messages: 39
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: Fri Apr 26 21:34:46 GMT 2024

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

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

Back to the top