Bug 286678 UI model and propagation of context values: containers with variables
bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/internal/application/MPartImpl.java
eNotify(new ENotificationImpl(this, Notification.SET, ApplicationPackage.MPART__WIDGET, oldWidget, widget));
	}
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public MPart<?> getParent() {
		if (eContainerFeatureID() != ApplicationPackage.MPART__PARENT) return null;
		return (MPart<?>)eContainer();
	}
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public NotificationChain basicSetParent(MPart<?> newParent, NotificationChain msgs) {
		msgs = eBasicSetContainer((InternalEObject)newParent, ApplicationPackage.MPART__PARENT, msgs);
		return msgs;
	}
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setParent(MPart<?> newParent) {
		if (newParent != eInternalContainer() || (eContainerFeatureID() != ApplicationPackage.MPART__PARENT && newParent != null)) {
			if (EcoreUtil.isAncestor(this, newParent))
				throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); 
			NotificationChain msgs = null;