An EObject can appear multiple times in an ECCO tree because on each variant it might be contained by a different parent.
We could either change the EmfReconstruct so a chace of Id:EObject is kept so we don't instantiate the same EObject more than once.
A bettter approach is to make the Emf Ecco tree to take containment into consideration containment.
Currently the parent has a node for each contained EObject. Perhaps all objects should be in the root and have a child node that points to the container. That way we can store the information about possible multiple containers.
All EObjects are not children of the root node.
A new EContainerData and ResourceContainerData classes where added so each EObjectNode can can a child that contains information about its containment.
An EObject can appear multiple times in an ECCO tree because on each variant it might be contained by a different parent. We could either change the EmfReconstruct so a chace of Id:EObject is kept so we don't instantiate the same EObject more than once. A bettter approach is to make the Emf Ecco tree to take containment into consideration containment. Currently the parent has a node for each contained EObject. Perhaps all objects should be in the root and have a child node that points to the container. That way we can store the information about possible multiple containers.