For my RCP app, I am not using any menu. When built for Mac OS, there appears a default menu.
About, Preferences and Quit etc.
How to map default commands to these menu items?
I just want to keep menu for Mac not for other OSs.
In Application.e4xmi,I have created commands for with ids org.eclipse.ui.~ so on. Should I just need to create HandledMenuItem in Menu contributions? and map the commands with it? Or do I need to add menus for Trimmed Window?
You just need to define commands and handlers. The commands must use standard ids known by Eclipse. These are:
org.eclipse.ui.file.exit
for 'Quit'org.eclipse.ui.help.aboutAction
for 'About'org.eclipse.ui.window.preferences
for 'Preferences'