Open your .genmodel in a properties editor. Find "Model Class Defaults" group. Change "Public Constructors" to "true".
Generating public constructor for a model in EMF
-
24-06-2023 - |
Frage
EMF generates classes for models with protected no-argument constructor, is there a way to instruct genmodel to generate constructor as public? The only discussion I saw about this was this one, but not sure if it was addressed.
Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow