Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Mystery blank menu between File and Edit
Mystery blank menu between File and Edit [message #330100] Mon, 14 July 2008 23:34
Eclipse UserFriend
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!
Previous Topic:How to programatically create a workspace
Next Topic:Getting File path of the Bundle's location
Goto Forum:
  


Current Time: Sat Jul 27 18:28:02 GMT 2024

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

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

Back to the top