|
|
|
|
Re: Modelling an EMF model from memory [message #1830390 is a reply to message #1829868] |
Fri, 24 July 2020 14:26 |
|
Hi Jad,
Sirius currently requires that EObject belongs to a Resource.
It provies a InMemoryResource (memory://, org.eclipse.sirius.tools.internal.resource.InMemoryResourceFactoryImpl, org.eclipse.sirius.tools.internal.resource.InMemoryResourceImpl)
A possibility might be to create such in memory resource, then create a session with a local aird file referencing this resource in its semantic resource.
You might need to hook the load of this resource or the opening of the session in order to put your data in its content.
Regards
Maxime Porhel - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Powered by
FUDForum. Page generated in 0.05080 seconds