sequence diagram funct calls another funct

Isma Garcia Fernández <[email protected]>
Newsgroups gmane.linux.umbrello.devel,gmane.linux.umbrello.user
Message-ID <[email protected]>
How would you show this using
Umbrello.

Eg (in java):

class myClass
{
   public static void main(String args[])
   {
      int x;
      x = funct1(x);
   }
   public int funct1(int x)
   {
      x++;
   }
}

main calls funct1, so the diagram should show:

An instance of the class myClass, then the function main running.  Then
main calling the function funct1.

Something like this:

--------------------
|  mc : myClass |
--------------------
          |   1.1: main(args[] : string) : void
          |---------
          |           |---------
          |           |          |  1.2: funct1(x : int) : int
          |           |          |
          |           |<-------
          |<-------
          |
          |

I am able to do the first function call to main().  But what about the call 
to
funct1(int x)?

Regards,

  Kan

_________________________________________________________________
Dale rienda suelta a tu tiempo libre. Encuentra mil ideas para exprimir tu 
ocio con MSN Entretenimiento. http://entretenimiento.msn.es/



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.