[156432] Overriding different overload so as to ensure URI fragment is available in UUID-based resources.
diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ElementImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ElementImpl.java
index d8e5085..ec8cc76 100644
--- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ElementImpl.java
+++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ElementImpl.java
@@ -8,7 +8,7 @@
* Contributors:
* IBM - initial API and implementation
*
- * $Id: ElementImpl.java,v 1.31.2.1 2006/07/10 13:49:44 khussey Exp $
+ * $Id: ElementImpl.java,v 1.31.2.2 2006/09/06 20:58:45 khussey Exp $
*/
package org.eclipse.uml2.uml.internal.impl;
@@ -748,9 +748,10 @@
return basicGetOwner() != null;
}
- protected void eBasicSetContainer(InternalEObject newContainer,
- int newContainerFeatureID) {
- super.eBasicSetContainer(newContainer, newContainerFeatureID);
+ public NotificationChain eBasicSetContainer(InternalEObject newContainer,
+ int newContainerFeatureID, NotificationChain msgs) {
+ msgs = super.eBasicSetContainer(newContainer, newContainerFeatureID,
+ msgs);
if (newContainer != null) {
Resource.Internal eInternalResource = eInternalResource();
@@ -761,6 +762,8 @@
ElementOperations.applyAllRequiredStereotypes(this, false);
}
}
+
+ return msgs;
}
public EList eAdapters() {