Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] API to locate Eclipse's Preferences menu item in OS X

There's no API.

See org.eclipse.e4.ui.workbench.renderers.swt.cocoa.CocoaUIHandler for the implementation. Open a Call Hierarchy on field CocoaUIHandler#COMMAND_ID_PREFERENCES to see how the menu items are re-hooked.

Markus



From:        "Lee, Alain" <a-lee@xxxxxx>
To:        "platform-ui-dev@xxxxxxxxxxx" <platform-ui-dev@xxxxxxxxxxx>
Date:        2014-10-28 17:41
Subject:        [platform-ui-dev] API to locate Eclipse's Preferences menu item in        OS X
Sent by:        platform-ui-dev-bounces@xxxxxxxxxxx




In Windows/Linux, I use WorkbenchWindow.getMenuManager() to navigate to the Windows menu and locate the Preferences menu item. In OS X, the Preferences menu item is located in Eclipse’s application pulldown menu. What is the API to location the Preference item in OS X? Thanks!
 
Best regards,
Alain Lee

Texas Instruments Canada Ltd

801 - 150 John Street, Toronto ON Canada  M5V 3E3
Phone: 416-340-2136   Fax: 416-599-7171

mailto:a-lee@xxxxxx
 _______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-ui-dev

Back to the top