Eric Jarvies a écrit :
Thank you,
A couple of questions/suggestions:
6. Currently uDig has 'Properties' listed in the menubar twice. Once under uDig, and once under Window. Perhaps the listing under Window should be removed?
Note that it's the same Apple's guideline violation problem for the "File > Exit" entry, it shouldn't appear on OSX
The workaround is to do exactly what is done for the default eclipse IDE ActionBarAdvisor (see
org.eclipse.ui.internal.ide.WorkbenchActionBuilder):
IAction preferences = ActionFactory.PREFERENCES.create(window);
preferences.setText(Messages.UDIGWorkbenchAdvisor_preferences_text);
IContributionItem preferencesContributionItem = new ActionContributionItem(preferences) ;
preferencesContributionItem.setVisible(!"carbon".equals(SWT.getPlatform())); //$NON-NLS-1$
windowMenu.add(preferencesContributionItem);
A bug is filed on the Eclipse bugzilla ...
https://bugs.eclipse.org/bugs/show_bug.cgi?id=65218 Regards,
Benjamin
_______________________________________________