Book a Demo

Author Topic: Problem: Messages in fragment on sequence diagram  (Read 3668 times)

Martyn

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Problem: Messages in fragment on sequence diagram
« on: June 16, 2004, 08:32:42 am »
Has anybody noticed a problem putting messgaes inside a fragment on a sequence diagram with EA 4.00.729?

I can create two groups of messages and then put in place an alt fragment (with two conditions) around them (one group in each).
If I then try to add a message to any of the two groups within the fragment "box" I get a message stating "The requested is not UML compliant".  But I can create a message outside the fragment "box" and move it in.  

Has anyone experienced anything similar?

Tjerk

  • EA User
  • **
  • Posts: 231
  • Karma: +1/-0
    • View Profile
Re: Problem: Messages in fragment on sequence diag
« Reply #1 on: June 17, 2004, 04:43:50 am »
Hi Martyn,

I guess this is a problem with layerdepths on a diagram. By placing items in front of another item (as happens with new items), the first thing that gets selected is that item.

In your situation, I guess EA tries to create the message from the fragment to another entity (e.g. object) which might not be UML compliant.

Try to select the fragment and drop it to the back (using either the button "two gray squares with a yellow one behind it, or via the menu Element, Z-Order, To Bottom). Then try the connection again.

Martyn

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Problem: Messages in fragment on sequence diag
« Reply #2 on: June 17, 2004, 05:00:26 am »
Thanks Tjerk

That was the problem - it works as you suggest.

Apologies for asking such a question - I didn't appreciate the layerdepth aspect on diagrams.

Many thanks
Martyn