Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to get OS X standard menubar behavior?
How to get OS X standard menubar behavior? [message #538901] Tue, 08 June 2010 23:22 Go to next message
Doug M is currently offline Doug M
Messages: 18
Registered: December 2009
Junior Member
Hello all. With SWT, menu bars are attached to Shells. In OS X, SWT places the frontmost Shell's menubar at the top of the Display. So far, no problem.

But my application handles multiple documents each in their own Shells. When the last document is closed, there should still be a reduced menu bar at the top of the Display that is associated with the application, not with any particular shell. For example, the File and Edit menus at least should remain. Instead what happens is all menus except for Apple and the application menu are removed.

Is there a workaround that in effect attaches a menubar to the Display?

Thanks for any help.

Doug
Re: How to get OS X standard menubar behavior? [message #538912 is a reply to message #538901] Wed, 09 June 2010 01:21 Go to previous message
Prakash G.R. is currently offline Prakash G.R.
Messages: 621
Registered: July 2009
Senior Member
On 09/06/10 8:52 AM, DougM wrote:
> Hello all. With SWT, menu bars are attached to Shells. In OS X, SWT
> places the frontmost Shell's menubar at the top of the Display. So far,
> no problem.
> But my application handles multiple documents each in their own Shells.
> When the last document is closed, there should still be a reduced menu
> bar at the top of the Display that is associated with the application,
> not with any particular shell. For example, the File and Edit menus at
> least should remain. Instead what happens is all menus except for Apple
> and the application menu are removed.
>
> Is there a workaround that in effect attaches a menubar to the Display?
>
> Thanks for any help.
>
> Doug

Right now this is not supported. See:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=284028

--
- Prakash
Platform UI Team, IBM

www.eclipse-tips.com
Previous Topic:Tightly Coupling Parent-Children Tableviewers
Next Topic:Editable columns of tree viewer
Goto Forum:
  


Current Time: Wed Aug 20 12:53:19 EDT 2014

Powered by FUDForum. Page generated in 0.01652 seconds