### Eclipse Workspace Patch 1.0 #P org.eclipse.uml2.uml Index: src/org/eclipse/uml2/uml/internal/impl/ElementImpl.java =================================================================== RCS file: /cvsroot/tools/org.eclipse.uml2/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ElementImpl.java,v retrieving revision 1.31 diff -u -r1.31 ElementImpl.java --- src/org/eclipse/uml2/uml/internal/impl/ElementImpl.java 24 May 2006 20:54:28 -0000 1.31 +++ src/org/eclipse/uml2/uml/internal/impl/ElementImpl.java 6 Sep 2006 20:20:52 -0000 @@ -781,9 +781,10 @@ return basicGetOwner() != null; } - protected void eBasicSetContainer(InternalEObject newContainer, - int newContainerFeatureID) { - super.eBasicSetContainer(newContainer, newContainerFeatureID); + public NotificationChain eBasicSetContainer(InternalEObject newContainer, + int newContainerFeatureID, NotificationChain msgs) { + NotificationChain result = super.eBasicSetContainer(newContainer, + newContainerFeatureID, msgs); if (newContainer != null) { Resource.Internal eInternalResource = eInternalResource(); @@ -794,8 +795,10 @@ ElementOperations.applyAllRequiredStereotypes(this, false); } } + + return result; } - + public EList eAdapters() { EList eAdapters = super.eAdapters();