eclipse-sirius / sirius-web

Sirius Web: open-source low-code platform to define custom web applications supporting your specific visual languages
https://eclipse.dev/sirius/sirius-web.html
Eclipse Public License 2.0
79 stars 52 forks source link

The builder generator is only able to generate builders for view.ecore #2102

Open gcoutable opened 1 year ago

gcoutable commented 1 year ago

The builder generator is unable to generate builders for custom widgets or widget reference.

We will extract the "main" method from BuilderGenerator into a dedicated class. Maven will execute this main method to generate builders from sirius-web.

Because the class BuilderGenerator will be separated from its main, everyone will be able to generate builders for their needs.

sbegaudeau commented 1 year ago

The mechanism we have in place to generate sirius-components-view-builder does not apply to custom widgets. We probaly need a new projet with the proper setup to generate builders for at least the Reference Widget, and also as an example of how to set this up for others.