Bug 279452 [Compatibility] Parameterized command mechanism support
Parameterized commands like showView need to be able to access their parameters (like the view ID) PW
bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/util/ApplicationSwitch.java
MContributedPart<?> mContributedPart = (MContributedPart<?>)theEObject;
				T result = caseMContributedPart(mContributedPart);
				if (result == null) result = caseMItemPart(mContributedPart);
				if (result == null) result = caseMContribution(mContributedPart);
				if (result == null) result = caseMPart(mContributedPart);
				if (result == null) result = caseMItem(mContributedPart);
				if (result == null) result = caseMApplicationElement(mContributedPart);
				if (result == null) result = defaultCase(theEObject);
				return result;
			}
			case ApplicationPackage.MCONTRIBUTION: {
				MContribution mContribution = (MContribution)theEObject;
				T result = caseMContribution(mContribution);
				if (result == null) result = caseMApplicationElement(mContribution);
				if (result == null) result = defaultCase(theEObject);
				return result;
			}
			case ApplicationPackage.MHANDLER: {
				MHandler mHandler = (MHandler)theEObject;
				T result = caseMHandler(mHandler);
				if (result == null) result = caseMContribution(mHandler);
				if (result == null) result = caseMApplicationElement(mHandler);
				if (result == null) result = defaultCase(theEObject);
				return result;
			}
			case ApplicationPackage.MITEM: {
				MItem mItem = (MItem)theEObject;
				T result = caseMItem(mItem);
				if (result == null) result = caseMApplicationElement(mItem);
				if (result == null) result = defaultCase(theEObject);