Book a Demo

Author Topic: Xmi export of state chart regions  (Read 3671 times)

daniela

  • Guest
Xmi export of state chart regions
« on: August 14, 2007, 03:58:19 am »
When exporting a package containing a state chart I found that regions of a composite state are generated.
However, I do not know how to bind a newly created or existing state to one specific region. Instead all states, transitions etc. are bound to the first region.

Am I doing something wrong or is this a bug in EA? I'm using version 6.5.802.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Xmi export of state chart regions
« Reply #1 on: August 14, 2007, 05:27:44 am »
Don't know, Daniela

Before we go too far with this, perhaps you can try this out with a more recent build of EA, since 802 is somewhat dated. the final release of EA 6.5 was build 806, and EA 7.0 is at build 815. Please try either or both of these and see if the problem persists.

What is the connection with XMI, beyond just the export?

David
No, you can't have it!

daniela

  • Guest
Re: Xmi export of state chart regions
« Reply #2 on: August 14, 2007, 08:17:23 am »
Thanks a lot for that quick reply. I've downloaded and tested with the trial version. The result is a bit different but not much better. Creating 2 regions in a composite state leads to creation of 3 (!) regions. 2 are named as I did when defining the regions and the third one seems to be some default - that EA always seems to create for a composite state.

Well I'm trying to use the xmi to build a state chart coder for C# output. When checking the semantics of the state chart I need to ensure (for example) that outputs of forks are pointing to disjunctive regions. That's why I'm asking for how to assign individual states (and other elements) to specific regions.

As a workaround to my problem I can only encapsulate all elements that belongs to the same region by a separate composite state as such a state comes along with it's own region?!

Any better idea?