Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » State Machine - UML Editor & Programmatic
State Machine - UML Editor & Programmatic [message #573329] Tue, 23 January 2007 00:03
Eclipse UserFriend
Originally posted by:


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

Previous Topic:Overview Diagram of UML2
Next Topic:Execution Occurrence linking to Lifeline
Goto Forum:

Current Time: Fri Aug 12 09:22:48 GMT 2022

Powered by FUDForum. Page generated in 0.01357 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top