Commit bfb5295f authored by Dongyue Mou's avatar Dongyue Mou
Browse files

RED with review comments

refs 2075
parent 02be09b2
......@@ -106,6 +106,9 @@ class ComponentRefStaticImpl {
componentRef.getLibraryElementShadow().eIsProxy()) {
InternalEObject oldLibraryElementShadow =
(InternalEObject)componentRef.getLibraryElementShadow();
// TODO (Moudy) setlibraryelementshadow is a modification and may trigger exception if
// outside command stack
componentRef.setLibraryElementShadow(componentRef
.eResolveProxy(oldLibraryElementShadow));
if(componentRef.getLibraryElementShadow() != oldLibraryElementShadow) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment