Bug 330114 [Compatibility] Link the WW menu manager
Instead of copying the WorkbenchWindow menu manager code to the model, and then regenerating most of it, we can now link the window MMenu to the MenuManager filled in by the WorkbenchActionBuilder. A compatibility level reconciler can create e4 equivalents for the contribution items we can translate (CommandContributionItems, ActionContributionItems that have a definition id, etc). PW
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/MenuManagerRenderer.java
done = (toContribute.size() == 0)
					|| (toContribute.size() == retryCount);
		}
	}
	/**
	 * @param menuModel
	 * @param manager
	 * @param menuContribution
	 * @return true if the menuContribution was processed
	 */
	private boolean processAddition(MMenu menuModel, final MenuManager manager,
			MMenuContribution menuContribution,
			final HashSet<String> existingMenuIds,
			HashSet<String> existingSeparatorNames, boolean menuBar) {
		int idx = getIndex(menuModel, menuContribution.getPositionInParent());
		if (idx == -1) {
			return false;
		}
		final ContributionRecord record = new ContributionRecord(menuModel,
				menuContribution, manager);
		record.generate();
		for (MMenuElement copy : record.generatedElements) {
			modelContributionToRecord.put(copy, record);
			if (copy instanceof MMenu
					&& existingMenuIds.contains(copy.getElementId())) {
				
				continue;
			} else if (copy instanceof MMenuSeparator
					&& existingSeparatorNames.contains(copy.getElementId())) {