Commit 388bc84c authored by Andreas Bayha's avatar Andreas Bayha

Kernel: Removed unused code from copy/paste utils.

Was a remainders of removing constraints...

Issue-Ref: 3977
Issue-Url: Andreas Bayha's avatarAndreas Bayha <>
parent 675c03a1 4553e487264e3d1f86f4767da4a7400cce4b9a5d GREEN aa9a24ff499a505cbb27e6e5a6f462776caa5025 YELLOW 62ac1094c1d56c83251b01ce7b52c2217625a79c YELLOW 631c47881caa13fc567679a7e4416eb777af0713 GREEN 7aab91518aa12d76533a345bf6ed0be9ac7ff0e5 GREEN 128cf8f96c6b9478171dff3deda662d5934f5f44 GREEN
......@@ -23,7 +23,6 @@ import java.util.Collection;
import org.eclipse.emf.common.util.BasicEList;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.common.util.TreeIterator;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.swt.dnd.Clipboard;
......@@ -64,13 +63,6 @@ public class CopyPasteUtils {
EcoreUtil.Copier copier = new EcoreUtil.Copier(true, true);
for(EObject obj : sel) {
content[i] = copier.copy(obj);
// TODO(JE): remove unused code
// Remove constraint instances: these are specific to their original elements and
// should not be copied.
TreeIterator<EObject> it = content[i].eAllContents();
while(it.hasNext()) {
EObject subObj =;
Markdown is supported
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