From 143e11574586efe0dc1d66f9a0090ecd94cbbd55 Mon Sep 17 00:00:00 2001 From: pcr Date: Thu, 28 Nov 2024 15:54:02 +0100 Subject: [PATCH] do not resolve proxies when installing the proxy node model --- .../ddk/xtext/resource/persistence/ProxyCompositeNode.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/com.avaloq.tools.ddk.xtext/src/com/avaloq/tools/ddk/xtext/resource/persistence/ProxyCompositeNode.java b/com.avaloq.tools.ddk.xtext/src/com/avaloq/tools/ddk/xtext/resource/persistence/ProxyCompositeNode.java index 6a9adfd5c..019af65a0 100644 --- a/com.avaloq.tools.ddk.xtext/src/com/avaloq/tools/ddk/xtext/resource/persistence/ProxyCompositeNode.java +++ b/com.avaloq.tools.ddk.xtext/src/com/avaloq/tools/ddk/xtext/resource/persistence/ProxyCompositeNode.java @@ -104,7 +104,7 @@ private static ProxyCompositeNode installProxyNodeModel(final EObject eObject, f EStructuralFeature eStructuralFeature = structuralFeatures[i]; if (!eStructuralFeature.isTransient() && nextEObject.eIsSet(eStructuralFeature)) { if (eStructuralFeature.isMany()) { - EList listChild = (EList) nextEObject.eGet(eStructuralFeature); + EList listChild = (EList) nextEObject.eGet(eStructuralFeature, false); for (int j = listChild.size() - 1; j >= 0; j--) { EObject singleChild = listChild.get(j); singleChild.eAdapters().add(new ProxyCompositeNode()); @@ -112,7 +112,7 @@ private static ProxyCompositeNode installProxyNodeModel(final EObject eObject, f deque.push(singleChild); } } else { - EObject singleChild = (EObject) nextEObject.eGet(eStructuralFeature); + EObject singleChild = (EObject) nextEObject.eGet(eStructuralFeature, false); singleChild.eAdapters().add(new ProxyCompositeNode()); map.add(singleChild); deque.push(singleChild);