Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Heero_91

Pages: [1]
1
Hi everyone,

I have to use (for the first time in my life) entreprise architect in order to generate source code with "only" a state diagram. I have to generate the code in C (no object please, this is not needed ;) )but I'm having trouble doing it on EA.

I have created a new project, with one package and one class diagram in it. In this class diagram I have created one class (with few attributs and one method). I have attached the state machine diagram to my class (using right click->add->statemachine) and i have put some states in it!

After that if I asked to generate the code in C, ths generation is done but i'm not getting the source code for my diagram. But if I'm asking for the same code in C++ (or C#, java...) I'm able to see my diagram.

Can you explain to me how to get my source code for the same diagram in C. I must have miss-done something, but I can't figure what :(

In the same time, if you can explain to me (or provide me a link/project example) about how to add action to states and transitions, it would be very nice.

Thanks a lot

Heero

Pages: [1]