This class builds the menus for the uDig application, it is being replaced with org.eclipse.ui.menus.
When uDig is run as a plugin, this class would need to be called by something other than the WorkbenchAdvisor in order to setup the menus. Some of these menus might be possible to let Eclipse manage through an extension point.
NewContribution should probably be moved to a factory class (e.g. UDIGContributionFactory). This would be similar to the way ContributionItemFactory works for the "Open Perspecive" and "Show View" submenus.
To enable this class please include the following in your plugin.xml:
<extension point="org.locationtech.udig.ui.menuBuilders"> <menuBuilder class="org.locationtech.udig.ui.UDIGMenuBuilder" id="org.locationtech.udig.ui.uDigMenuBuilder"/> </extension>
@author cole.markham
@since 1.0.1
@deprecated