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
private static final String COMMON_NAVIGATOR_IMPORT_MENU = "common.import.menu"; 
	private static final String COMMON_NAVIGATOR_EXPORT_MENU = "common.export.menu"; 	
	private ImportResourcesAction importAction;
	private ExportResourcesAction exportAction;
	private WizardActionGroup importWizardActionGroup;
	private WizardActionGroup exportWizardActionGroup;
	private boolean disposed = false;
	private boolean contribute= false;
	public void init(ICommonActionExtensionSite aConfig) {
		Assert.isTrue(!disposed);
		if (aConfig.getViewSite() instanceof ICommonViewerWorkbenchSite) {
			IWorkbenchWindow window = ((ICommonViewerWorkbenchSite) aConfig
					.getViewSite()).getWorkbenchWindow();
			importAction = new ImportResourcesAction(window);
			exportAction = new ExportResourcesAction(window);
			importWizardActionGroup = new WizardActionGroup(window, PlatformUI
					.getWorkbench().getImportWizardRegistry(),
					WizardActionGroup.TYPE_IMPORT);
			exportWizardActionGroup = new WizardActionGroup(window, PlatformUI
					.getWorkbench().getExportWizardRegistry(),