Sparx Systems Forum

Enterprise Architect => Uml Process => Topic started by: MAC on October 19, 2010, 02:36:59 am

Title: Statecharts
Post by: MAC on October 19, 2010, 02:36:59 am
Hellow,

I'm new on using Enterprise Architect and made just a few small project with it. I searched in the forum but haven't found what I was looking for:
Is there a possibility to design statecharts with Enterprise Architect? An if, is there a step by step turtorial? I only found the statemachine. I'm specially interested in orthogonal & parallel states.

Futuremore: How can I design a state machine without generate a class first? I'd like to have a statemachine in c-code, but don't know how to build it :-[ (turtorial?)

I use EA 8.0.856 Ultimate Edition

Title: Re: Statecharts
Post by: DanG83616 on October 19, 2010, 11:39:55 am
Type "State, Diagram" into the User Guide Index keyword find box.
Title: Re: Statecharts
Post by: MAC on October 19, 2010, 05:54:17 pm
Thank you!
This entry I've sudied a lot of times, unfortunately I cannot find what I'm looking for. So is EA not able to build statecharts?
Title: Re: Statecharts
Post by: Geert Bellekens on October 19, 2010, 05:58:03 pm
MAC,

Please define statechart. It seems like your definition differs from ours (= UML State Diagram)

Geert
Title: Re: Statecharts
Post by: MAC on October 19, 2010, 06:16:56 pm
Yea, I is a state diagram, but the help I found sems to be a state machine to me.
I need to design hierarchical and parallel states :-) I can design joins and forks but in the code, it do not have an effect.
Perhaps I need to do a course first
Title: Re: Statecharts
Post by: Geert Bellekens on October 19, 2010, 06:31:04 pm
So you want to create a state diagram in EA and generate code from it am I right?

There have been a couple of questions about that in the forum lately. (use top left search button to find them)
From what I remember, you have to create a class, create a nested statemachine, and create the diagram in there.

Geert
Title: Re: Statecharts
Post by: RoyC on October 20, 2010, 09:11:21 am
I'm guessing that you might have already seen this page:

http://www.sparxsystems.com/enterprise_architect_user_guide/8.0/modeling_languages/statediagram.html

but it does explain the relationship between State diagrams, State Machine diagrams and State Charts, and it links to the following topic on generating SW code from State Machine diagrams.

http://www.sparxsystems.com/enterprise_architect_user_guide/8.0/software_development/code_generation___state_machin.html

These are applicable to build 856 of release 8.0.