|
Re: OSX menu item for About and Preference appear twice [message #1708119 is a reply to message #1708112] |
Mon, 14 September 2015 02:11 |
Eclipse User |
|
|
|
There is code in org.eclipse.e4.ui.workbench.renderers.swt.cocoa's org.eclipse.e4.ui.workbench.renderers.swt.cocoa.CocoaUIHandler that removes any occurrences of the Window > Preference and Help > About on menu changes and new shells being opened. Check and see if the redirectHandledMenuItems() method is being triggered.
|
|
|
|
Re: OSX menu item for About and Preference appear twice [message #1708215 is a reply to message #1708176] |
Mon, 14 September 2015 16:52 |
Eclipse User |
|
|
|
Check your ActionBarAdvisor: it's responsible for filling in the menu items, and my guess is that your advisor is adding those items.
If you're generating these programmatically, your code should use the command constants in IWorkbenchCommandConstants (specifically HELP_ABOUT and WINDOW_PREFERENCES).
|
|
|
Powered by
FUDForum. Page generated in 0.02814 seconds