How to get OS X standard menubar behavior? [message #538901] |
Tue, 08 June 2010 23:22  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.05193 seconds