View | Details | Raw Unified | Return to bug 156432
Collapse All | Expand All

(-)src/org/eclipse/uml2/uml/internal/impl/ElementImpl.java (-4 / +7 lines)
Lines 781-789 Link Here
781
		return basicGetOwner() != null;
781
		return basicGetOwner() != null;
782
	}
782
	}
783
783
784
	protected void eBasicSetContainer(InternalEObject newContainer,
784
    public NotificationChain eBasicSetContainer(InternalEObject newContainer,
785
			int newContainerFeatureID) {
785
            int newContainerFeatureID, NotificationChain msgs) {
786
		super.eBasicSetContainer(newContainer, newContainerFeatureID);
786
		NotificationChain result = super.eBasicSetContainer(newContainer,
787
            newContainerFeatureID, msgs);
787
788
788
		if (newContainer != null) {
789
		if (newContainer != null) {
789
			Resource.Internal eInternalResource = eInternalResource();
790
			Resource.Internal eInternalResource = eInternalResource();
Lines 794-801 Link Here
794
				ElementOperations.applyAllRequiredStereotypes(this, false);
795
				ElementOperations.applyAllRequiredStereotypes(this, false);
795
			}
796
			}
796
		}
797
		}
798
        
799
        return result;
797
	}
800
	}
798
801
    
799
	public EList eAdapters() {
802
	public EList eAdapters() {
800
		EList eAdapters = super.eAdapters();
803
		EList eAdapters = super.eAdapters();
801
804

Return to bug 156432