Community
Participate
Working Groups
Steps to reproduce: 1. Create an empty non-modeling project, with two models inside (for example two ecore files). 2. Create an empty modeling project beside the other one. 3. Select the two models from the first project, and copy/paste them into the modeling project. They should both be detected as semantic models and added to the session, but only one is (presumably the first in the selection). Note that if you copy/paste the models one at a time, at the end both are correctly added in the session.
Actually it looks like the resources are both correctly added into the session, but the UI is inconsistent: only the first can be expanded. Closing and reopening the project shows that both resources are in fact correctly registered as semantic models in the session.
Looks like we should launch the refresh on the project or on each added file and not only on the first.
T reproduced by using 2 big models, the two models are added to the session, but only the first can be expanded. A refresh solves the problem
Created attachment 249385 [details] 2 big models Models to reproduce
New Gerrit change created: https://git.eclipse.org/r/c/sirius/org.eclipse.sirius/+/174951