Bug 316298 [Compatibility] Support o.e.ui.menus visibleWhen
We need support in MCoreExpression for entire expressions created by the WorkbenchMenuService. They don't often use ReferenceExpressions to core expression definitions. PW
bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/workbench/swt/modeling/MenuServiceFilter.java
private boolean isFiltered(MMenu menuModel,
			MMenuContribution menuContribution) {
		if (menuModel.getTags().contains(MC_POPUP)) {
			return !menuContribution.getTags().contains(MC_POPUP)
					&& menuContribution.getTags().contains(MC_MENU);
		}
		if (menuModel.getTags().contains(MC_MENU)) {
			return !menuContribution.getTags().contains(MC_MENU)
					&& menuContribution.getTags().contains(MC_POPUP);
		}
		return false;
	}
	private void addMenuContributions(final MMenu menuModel,
			final ArrayList<MMenuContribution> toContribute,
			final ArrayList<MMenuElement> menuContributionsToRemove) {
		boolean done = toContribute.size() == 0;
		while (!done) {
			ArrayList<MMenuContribution> curList = new ArrayList<MMenuContribution>(
					toContribute);
			int retryCount = toContribute.size();
			toContribute.clear();
			for (MMenuContribution menuContribution : curList) {
				if (!processAddition(menuModel, menuContributionsToRemove,
						menuContribution)) {
					toContribute.add(menuContribution);
				}
			}
			
			
			done = (toContribute.size() == 0)