Skip to content
Snippets Groups Projects
Commit 7c4605fd authored by Dongyue Mou's avatar Dongyue Mou
Browse files

fixed the bug where external reference can not be copied and pasted. Ref: 1447

parent 187f040e
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ public class CopyPasteUtils {
try {
EObject[] content = new EObject[selection.size()];
int i = 0;
EcoreUtil.Copier copier = new EcoreUtil.Copier(true, false);
EcoreUtil.Copier copier = new EcoreUtil.Copier(true, true);
for(EObject sel : selection) {
content[i] = copier.copy(sel);
copier.copyReferences();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment