Bug 133935 [CommonNavigator] Export menu creation issue
In the PortingActionProvider there is a typo. It checks to see the size of the importwizardactiongroup list rather than the export list. This blocks export menus from showing unless import menus exist. See below: private void addExportMenu(IMenuManager aMenu) { exportWizardActionGroup.setContext(getContext()); if (importWizardActionGroup.getWizardActionIds().length == 0) { aMenu.appendToGroup(ICommonMenuConstants.GROUP_PORT, exportAction); return; } IMenuManager submenu = new MenuManager( WorkbenchNavigatorMessages.PortingActionProvider_ExportResourcesMenu_label, COMMON_NAVIGATOR_EXPORT_MENU); exportWizardActionGroup.fillContextMenu(submenu); submenu.add(new Separator(ICommonMenuConstants.GROUP_ADDITIONS)); submenu.add(new Separator()); submenu.add(exportAction); aMenu.appendToGroup(ICommonMenuConstants.GROUP_PORT, submenu); }
bundles/org.eclipse.ui.navigator.resources/src/org/eclipse/ui/internal/navigator/resources/actions/PortingActionProvider.java
WizardActionGroup.TYPE_EXPORT);
			contribute = true;
		}
	}
	/**
	 * Extends the superclass implementation to dispose the subgroups.
	 */
	public void dispose() {
		if(!contribute) {
			return;
		}
		importWizardActionGroup.dispose();
		exportWizardActionGroup.dispose();
		importAction = null;
		exportAction = null;
		disposed = true;
	}
	public void fillActionBars(IActionBars theActionBars) {
		if(!contribute) {
			return;
		}
		Assert.isTrue(!disposed);
		theActionBars.setGlobalActionHandler(ActionFactory.IMPORT.getId(),
				importAction);
		theActionBars.setGlobalActionHandler(ActionFactory.EXPORT.getId(),
				exportAction);
	}
	public void fillContextMenu(IMenuManager aMenu) {
		if(!contribute) {
			return;