|
Re: Custom Attributes to Enum [message #1613740 is a reply to message #1613302] |
Thu, 12 February 2015 21:44 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
Nothing will generate that for you, but you can modify generated code...
On 12.02.2015 16:09, jps90 Mising name wrote:
> Hello,
> usually an Enum in EMF has a constructor like that:
> private MyEnum(int value, String name, String literal)
> Is there a possiblity to add custom attributes to it? For example I want
> a constructor like the following:
> private MyEnum(int value, String name, String description, String
> clazzName)
>
> Any Ideas?
>
> Thanks in advance.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.05440 seconds