|State Machine - UML Editor & Programmatic [message #573329]
||Tue, 23 January 2007 00:03
Originally posted by: psentosa.yahoo.com|
I'd like to create a state machine both programmaticaly and by using the UML
editor, but I'm still confused on how to use them.
1. What are the differences between the usage of Packaged Element -,
Classifier Behaviour -, Nested Behaviour -, Owned Type-, and Do Actions
(Protocol) State Machine?
2. Can "State" exist only within "Region"? I read about "Region" only in the
context of concurrent region (thus, concurrent sub-state). But what about in
the non-concurrent environtment? Do we still need a region?
3. Is this the correct order to define a state charts:
- create (Owned Type/Packaged Element) State Machine
- Create Region
- Create State(s)
4. Is there any way to define the beginning state/black circle? (Just like
we can define "Final State"/bordered circle)
5. To define sub states of, say, state A, do I have to create a region as a
child of State A, and then create some states within the newly created
Programmaticaly, how can I create a state machine? If I use the factory
method UMLFactory.eInstance.createStateMachine and I'd like to put this
under the Model element, how can this be done?
Thanks and would appreciate any hints
Powered by FUDForum
. Page generated in 0.01357 seconds