[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] Umbrello
From: |
David Mackenzie |
Subject: |
Re: [Gnumed-devel] Umbrello |
Date: |
Mon, 28 Jul 2003 10:51:10 +1000 |
User-agent: |
KMail/1.5 |
On Mon, 28 Jul 2003 08:28 am, you wrote:
> On the right hand side toolbar, there is a little arrow with three x.
> Select it as tool.
> The objects you place on your screen have vertical dashed lines. Connect
> the two appropriate lines with the selected arrow.
> Now, select the "selector" (the bold arrow symbol) from the tools and
> select (double click) the newly created connecting horizontal line
> A dialogue pops up allowing you to select a function you already have
> defined (e.g. as class operation).
>
> Is this what you wanted? Have a look at the Umbrello manual, it's not too
> bad.
But say this function calls another function. 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,
David Mackenzie