Book a Demo

Author Topic: function call origin?  (Read 3323 times)

Rich_Lynch

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
function call origin?
« on: March 26, 2002, 11:09:47 am »
Being new to UML and even newer to EA, I am stumped.

Is there a way in UML (and then in EA) to specify which method a call originates from in a sequence diagram?  

As a term project for grad school, I have to write a source code generator that takes in an xmi file.  So far I can generate the function declarations, but the implementations are empty.  I would think that there is a way to capture the function calls as seen in the sequence diagram.

Thanks in advance...

Kalyan

  • Guest
Re: function call origin?
« Reply #1 on: March 28, 2002, 02:28:13 pm »
I really would love to be able to do this. UML allows this as :

||
||---
||    |
|||<-  Object calls Func1 on itself
|||
|||---
|||    | Func 1 causes a call to func2 on the same object.
||||<-
||||--------> func2 Calls into some other object from here.
|||  Func 2 returns to Func 1.
|||-----------> Maybe func 1 calls into some object here.  
||  Func 1 returns. The call context is in the original context.

I wish EA allowed this. It allows calls into itself , but the context is kind of lost. This would be a wonderful feature to add.

TLCowart

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: function call origin?
« Reply #2 on: April 25, 2002, 08:29:39 am »
The ability to specify signals on self calls is a very important feature.  Fortunately, it was addressed in the latest build (version 3.10 build 485).

I for one am also happy about this.  Resolution of this issue has dramatically increased the likelyhood that we will recommend this product as our standard design tool.