[udig-devel] Another build of RC13
Benjamin CABÉ
benjamin.cabe at anyware-tech.com
Thu Jan 10 04:58:20 PST 2008
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.refractions.net/pipermail/udig-devel/attachments/20080110/47da1b74/attachment.html
More information about the udig-devel
mailing list