Mystery blank menu between File and Edit [message #330100] |
Mon, 14 July 2008 19:34 |
Eclipse User |
|
|
|
Originally posted by: cagiva92.hotmail.com
Hi,
I am using 3.4 on a Mac and when I add a group marker between any of the
workbench default menu options (e.g. File <-> Edit), a blank menu option
is added.
IMenuManager menu = createFileMenu();
if (menu != null)
menuBar.add(menu);
menuBar.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
menu = createEditMenu();
if (menu != null)
menuBar.add(menu);
However, if the menuBar.add(new GroupMarker(...) is called at the end,
then this blank menu does not show up.
IMenuManager menu = createFileMenu();
if (menu != null)
menuBar.add(menu);
menu = createEditMenu();
if (menu != null)
menuBar.add(menu);
menuBar.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
This only occurs on a Mac (OSX). On Windows, it is not a problem.
Thanks!
|
|
|
Powered by
FUDForum. Page generated in 0.03567 seconds