From 7c4605fd9d6aa3a93f01c48edeeeaebb0f673b02 Mon Sep 17 00:00:00 2001 From: Dongyue Mou <mou@fortiss.org> Date: Fri, 14 Feb 2014 11:46:15 +0000 Subject: [PATCH] fixed the bug where external reference can not be copied and pasted. Ref: 1447 --- .../src/org/fortiss/tooling/kernel/ui/util/CopyPasteUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.fortiss.tooling.kernel.ui/trunk/src/org/fortiss/tooling/kernel/ui/util/CopyPasteUtils.java b/org.fortiss.tooling.kernel.ui/trunk/src/org/fortiss/tooling/kernel/ui/util/CopyPasteUtils.java index 79cc045a9..b68202903 100644 --- a/org.fortiss.tooling.kernel.ui/trunk/src/org/fortiss/tooling/kernel/ui/util/CopyPasteUtils.java +++ b/org.fortiss.tooling.kernel.ui/trunk/src/org/fortiss/tooling/kernel/ui/util/CopyPasteUtils.java @@ -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(); -- GitLab