Book a Demo

Author Topic: Linking of statemachines  (Read 3334 times)

tigershark

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Linking of statemachines
« on: September 16, 2010, 09:17:22 pm »
Hi,

following situation:
  • Class diagramm with a lot of classes, that represent single applications of a system, each having a statemachine attached.
  • One Class is the Main-Class, containing a statechart that models the navigation from Main to the single applications.
  • Every application is represented as composite state in the Main statechart

What I want to achieve now, is, that on clicking one of the application composite states, the statechart of the application class is shown instead of the automatically created "composite" statechar. How can I do this ?

Thanks in advance and best regards

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Linking of statemachines
« Reply #1 on: September 16, 2010, 10:31:29 pm »
Drag the diagram under the state in the project browser
Right click on the state and choose "Advanced/Make Composite"
Move the diagram back to its original location.
Rinse and repeat for the other diagrams

Geert

tigershark

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Linking of statemachines
« Reply #2 on: September 16, 2010, 11:27:50 pm »
Thanks  Geert, it works.