Eclispe RCP SWT menus for Windows and Mac OS

Posted by Raven on Stack Overflow See other posts from Stack Overflow or by Raven
Published on 2010-03-19T21:42:35Z Indexed on 2010/03/20 22:01 UTC
Read the original article Hit count: 433

Filed under:
|
|
|
|

Hi,

how do I configure an Eclipse RCP command style menu to match the different menu structures on Windows and on Mac OS?

Mac OS X menu example http://images.apple.com/macosx/refinements/images/services_menu_20090902.jpg

Windows menu example http://www.flamingpear.com/images/psp8menu.gif

In the example you see, the differences in the menu structures. For example has the Mac in its application menu the preference command, the about command and the exit command. These are under Windows usally in the file menu and the about command is found in the help menu. Is there a "standard" way of doing it with RCP programs? It should somehow be possible because Eclipse itself does it. But I can not figure out how.

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about eclipse-rcp