Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsMultiple models referenced by a same representation file
https://www.eclipse.org/forums/index.php/mv/msg/1090642/1778543/#msg_1778543
I tested the possibility to put more than one semantic resource in a same representation file to point on two semantic models (build from the same DSL) having entities referencing each other. Everything seems to go well. Maybe I could encounter problem with containment references.
My version of Sirius is 5.0.1 on Oxygen
My question is : why does the wizard limit initialization of representation files to only one semantic resource ? What did I miss ?]]>Eric Jeunieaux2017-12-16T13:00:59-00:00Re: Multiple models referenced by a same representation file
https://www.eclipse.org/forums/index.php/mv/msg/1090642/1778640/#msg_1778640
The "New representation file" wizard allows you to init a Sirius session on one semantic resource, then you can add additional resources as semantic resources of your session thanks to the "Add model" menu on the .aird file : it will show you a wizard with two choices: create a new model file or reference an existing one.
Note that the recommended way would be to create a Modeling Project (with the corresponding wizard) and then create or put you semantic resources in it (it will detect, load and add EMF models as semantic resource of the project's representations file). You can also use the "Configure > Add the Modeling Project nature" menu on the project to convert your project into a modeling project.