Bug 315907 Render menus on SWT.Show
bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/commands/impl/CommandsFactoryImpl.java
public EObject create(EClass eClass) {
		switch (eClass.getClassifierID()) {
			case CommandsPackageImpl.BINDING_CONTEXT: return (EObject)createBindingContext();
			case CommandsPackageImpl.BINDING_TABLE: return (EObject)createBindingTable();
			case CommandsPackageImpl.COMMAND: return (EObject)createCommand();
			case CommandsPackageImpl.COMMAND_PARAMETER: return (EObject)createCommandParameter();
			case CommandsPackageImpl.HANDLER: return (EObject)createHandler();
			case CommandsPackageImpl.KEY_BINDING: return (EObject)createKeyBinding();
			case CommandsPackageImpl.PARAMETER: return (EObject)createParameter();
			default:
				throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); 
		}
	}
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Object createFromString(EDataType eDataType, String initialValue) {
		switch (eDataType.getClassifierID()) {
			default:
				throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); 
		}
	}
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */