.odesign file into sirius-web #3946
-
Hi, Please, guide me to the right direction on bringing my existing desktop .odesign file and meta-model into Sirius-web. I guess, the documentation lacks such an example, and as far I see. There are only odesigns defined by API in Sirius-web starter projects. Thanks for your guidance in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Managed to do it with a template initializer reading with SiriusDesktopRepresentationDescriptionProvider from compatibility:
And an ISiriusConfiguration bean like this:
But still, I need to implement an IIdentifierProvider, otherwise I get a bean not found error:
Can anyone help with an IIdentifierProvider example implementation or what its role is? Thanks for the help again. |
Beta Was this translation helpful? Give feedback.
-
Hi. The Sirius Desktop The path forward is to use the View DSL (metamodel) to define your modelers. It's quite similar in the general principle (EMF based, uses concepts like Node Description which corresponds to Node Mappings in Sirius Desktop, AQL-based expressions extensible with custom Java services, etc.). You can define your modeler "manually" in the web UI if it is small/simple enough, otherwise the recommended way is to use the Java APIs we provide (on top of the plain EMF APIs for the metamodel) in the
Eclipse SysON also follows this approach but is more complex and includes its own abstractions on top. |
Beta Was this translation helpful? Give feedback.
Hi.
The Sirius Desktop
odesign
files are no longer supported. Parts of the compatibility code is still there in the repo, but it is not used in the new (DDD-based) architecture and will probably be removed.The path forward is to use the View DSL (metamodel) to define your modelers. It's quite similar in the general principle (EMF based, uses concepts like Node Description which corresponds to Node Mappings in Sirius Desktop, AQL-based expressions extensible with custom Java services, etc.).
You can define your modeler "manually" in the web UI if it is small/simple enough, otherwise the recommended way is to use the Java APIs we provide (on top of the plain EMF APIs for the metamodel) in …