Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: zaknixon on April 12, 2008, 12:33:09 am
-
Does EA support the generation of C# enumeration values ? If so, can someone point me to describe how to set the enum values appropriately to allow this to happen? I currently have enum "classes" with enum stereotyped values, but when generated no values are shown.
Thanks,
Zak :-?
-
I am supposing that EA does not have this capability. Would be nice to know before I buy the product.
-
Drag an enumeration from the toolbox. (This is a class with the stereotype «enumeration»).
Open the attributes dialog.
Give a name and optional default value for you list of values.
Generate.
-
Thank you very much. It seems like if I generated the code, by default, it generated Java source, which would not update the enumeration values. Once I cleared out the original source directory and regenerated, everything was good.