Skip to main content



      Home
Home » Eclipse Projects » Sirius » Sirius Web import project with customs representations
Sirius Web import project with customs representations [message #1853778] Mon, 18 July 2022 04:38 Go to next message
Eclipse UserFriend
Hello,

Based on the SiriusCon example, I am trying to import a project with a custom representation.
In the class MapEventProcessor, we have access to mapContext and we can get all custom attributes that were serialized.
However, when we import a project, how can we serialize the custom representation with representationPersistenceService in CreateMapEventHandler. I am not figuring out how to access something similar as mapContext there.

Thanks,
Re: Sirius Web import project with customs representations [message #1853786 is a reply to message #1853778] Mon, 18 July 2022 05:19 Go to previous messageGo to next message
Eclipse UserFriend
To add a bit more, I have the informations needed in ProjectImporter.java private boolean createRepresentations(UUID inputId).
I wonder if I should create a new kind of CreateRepresentationInput where I could pass representationDescriptor.representation or if there is something I'm missing.
Re: Sirius Web import project with customs representations [message #1853974 is a reply to message #1853786] Tue, 26 July 2022 09:00 Go to previous message
Eclipse UserFriend
I managed to import new representations by creating a specific input.
Previous Topic:Is it possible to add a java extension in odesign model (for Property Value Description)?
Next Topic:Sirius web front end
Goto Forum:
  


Current Time: Sat Jul 05 07:35:43 EDT 2025

Powered by FUDForum. Page generated in 0.15226 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top