statecharts
statecharts copied to clipboard
Enable enums in interface declarations
Dear All,
I was wondering, why are enums not enabled by default in interface declarations? I would like to define an enum for Directions, and its values could be: TOP, STRAIGHT, DIVERGENT. It would look prettier in the generated code.
Now the workaround for the problem is to introduce three readonly integer variables, that are generated in the source code as long fields without setter methods, since they are "constants".
Regards, Ben
@benedekh this would indeed be a nice feature, we will schedule this request for one of the upcoming milestones.
Related feature request: #165