Login | Register
My pages Projects Community openCollabNet

Discussions > modules-dev > [argouml-modules-dev] Getting the corresponding Fig object from a NSUML object

argouml
Discussion topic

Hide all messages in topic

All messages in topic

RE: [argouml-modules-dev] Getting the corresponding Fig object from a NSUML object

Author "Linh C dot Nguyen" <lnguyen59 at comcast dot net>
Full name "Linh C dot Nguyen" <lnguyen59 at comcast dot net>
Date 2003-10-28 16:12:41 PST
Message Can u send me some example?
Thanks



-----Original Message-----
From: Jaap Branderhorst [mailto:jaap.brander​horst at xs4all dot nl]
Sent: Tuesday, October 28, 2003 4:54 AM
To: modules-dev at argouml dot tigris dot org
Subject: Re: [argouml-modules-dev] Getting the corresponding Fig object from
a NSUML object

Something like:

Layer lay = diagram.getLayer();
lay.getPresentationF​or(myNSUMLObject);

You can get a vector of diagrams like this:
ProjectManager.getMa​nager().getCurrentPr​oject().getDiagrams(​);

Since I don't have the code here atm. it can be that the exact signature
is a little different.

Kind regards,

Jaap Branderhorst


> Is there any way to get a NSUML object's
> corresponding fig object?
>
> -CRM
>
> ____________________​______________
> Do you Yahoo!?
> Exclusive Video Premiere - Britney Spears
> http://launch.yahoo.​com/promos/britneysp​ears/
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: modules-dev-unsubscr​ibe at argouml dot tigris.o​rg
> For additional commands, e-mail: modules-dev-help@arg​ouml.tigris.org
>
>


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: modules-dev-unsubscr​ibe at argouml dot tigris.o​rg
For additional commands, e-mail: modules-dev-help@arg​ouml.tigris.org


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: modules-dev-unsubscr​ibe at argouml dot tigris.o​rg
For additional commands, e-mail: modules-dev-help@arg​ouml.tigris.org

Re: [argouml-modules-dev] Getting the corresponding Fig object from a NSUML object

Author mkl
Full name Markus Klink
Date 2003-10-28 14:06:25 PST
Message yes - Jaap is right. Just checked it again in the old code base which I
still found on my computer.
Sorry for spreading the misinformation.
Markus

On Dienstag, Okt 28, 2003, at 11:41 Europe/Berlin, Jaap Branderhorst
wrote:

> You are misstaken in this case Markus :) Just used this code yesterday
> while implementing the sequence diagrams.
>
> Kind regards,
>
> Jaap
>
>
>> Careful - I might be mistaken here as I also do not have the code at
>> hand, but the code from Jaap will give you the fFig which will be used
>> to represent an nsuml object of type myNSUMLobject.
>>
>> In case the questions was more along the lines of:
>> how do I get the actual graphical representation of an nsuml element
>> in
>> the current diagram, then one has to get all diagram objects and
>> iterate through them to check whether
>> myFig.getOwner() == myNSUMLObject.
>>
>> Regards
>> Markus
>>
>> On Dienstag, Okt 28, 2003, at 10:53 Europe/Berlin, Jaap Branderhorst
>> wrote:
>>
>>> Something like:
>>>
>>> Layer lay = diagram.getLayer();
>>> lay.getPresentationF​or(myNSUMLObject);
>>>
>>> You can get a vector of diagrams like this:
>>> ProjectManager.getMa​nager().getCurrentPr​oject().getDiagrams(​);
>>>
>>> Since I don't have the code here atm. it can be that the exact
>>> signature
>>> is a little different.
>>>
>>> Kind regards,
>>>
>>> Jaap Branderhorst
>>>
>>>
>>>> Is there any way to get a NSUML object's
>>>> corresponding fig object?
>>>>
>>>> -CRM
>>>>
>>>> ____________________​______________
>>>> Do you Yahoo!?
>>>> Exclusive Video Premiere - Britney Spears
>>>> http://launch.yahoo.​com/promos/britneysp​ears/
>>>>
>>>> --------------------​--------------------​--------------------​--------
>>>> -
>>>> To unsubscribe, e-mail: modules-dev-unsubscr​ibe at argouml dot tigris.o​rg
>>>> For additional commands, e-mail: modules-dev-help@arg​ouml.tigris.org
>>>>
>>>>
>>>
>>>
>>> --------------------​--------------------​--------------------​---------
>>> To unsubscribe, e-mail: modules-dev-unsubscr​ibe at argouml dot tigris.o​rg
>>> For additional commands, e-mail: modules-dev-help@arg​ouml.tigris.org
>>>
>>
>>
>> --------------------​--------------------​--------------------​---------
>> To unsubscribe, e-mail: modules-dev-unsubscr​ibe at argouml dot tigris.o​rg
>> For additional commands, e-mail: modules-dev-help@arg​ouml.tigris.org
>>
>>
>
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: modules-dev-unsubscr​ibe at argouml dot tigris.o​rg
> For additional commands, e-mail: modules-dev-help@arg​ouml.tigris.org
>


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: modules-dev-unsubscr​ibe at argouml dot tigris.o​rg
For additional commands, e-mail: modules-dev-help@arg​ouml.tigris.org

Re: [argouml-modules-dev] Getting the corresponding Fig object from a NSUML object

Author kataka
Full name Jaap Branderhorst
Date 2003-10-28 02:41:52 PST
Message You are misstaken in this case Markus :) Just used this code yesterday
while implementing the sequence diagrams.

Kind regards,

Jaap


> Careful - I might be mistaken here as I also do not have the code at
> hand, but the code from Jaap will give you the fFig which will be used
> to represent an nsuml object of type myNSUMLobject.
>
> In case the questions was more along the lines of:
> how do I get the actual graphical representation of an nsuml element in
> the current diagram, then one has to get all diagram objects and
> iterate through them to check whether
> myFig.getOwner() == myNSUMLObject.
>
> Regards
> Markus
>
> On Dienstag, Okt 28, 2003, at 10:53 Europe/Berlin, Jaap Branderhorst
> wrote:
>
>> Something like:
>>
>> Layer lay = diagram.getLayer();
>> lay.getPresentationF​or(myNSUMLObject);
>>
>> You can get a vector of diagrams like this:
>> ProjectManager.getMa​nager().getCurrentPr​oject().getDiagrams(​);
>>
>> Since I don't have the code here atm. it can be that the exact
>> signature
>> is a little different.
>>
>> Kind regards,
>>
>> Jaap Branderhorst
>>
>>
>>> Is there any way to get a NSUML object's
>>> corresponding fig object?
>>>
>>> -CRM
>>>
>>> ____________________​______________
>>> Do you Yahoo!?
>>> Exclusive Video Premiere - Britney Spears
>>> http://launch.yahoo.​com/promos/britneysp​ears/
>>>
>>> --------------------​--------------------​--------------------​---------
>>> To unsubscribe, e-mail: modules-dev-unsubscr​ibe at argouml dot tigris.o​rg
>>> For additional commands, e-mail: modules-dev-help@arg​ouml.tigris.org
>>>
>>>
>>
>>
>> --------------------​--------------------​--------------------​---------
>> To unsubscribe, e-mail: modules-dev-unsubscr​ibe at argouml dot tigris.o​rg
>> For additional commands, e-mail: modules-dev-help@arg​ouml.tigris.org
>>
>
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: modules-dev-unsubscr​ibe at argouml dot tigris.o​rg
> For additional commands, e-mail: modules-dev-help@arg​ouml.tigris.org
>
>


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: modules-dev-unsubscr​ibe at argouml dot tigris.o​rg
For additional commands, e-mail: modules-dev-help@arg​ouml.tigris.org

Re: [argouml-modules-dev] Getting the corresponding Fig object from a NSUML object

Author mkl
Full name Markus Klink
Date 2003-10-28 02:33:27 PST
Message Careful - I might be mistaken here as I also do not have the code at
hand, but the code from Jaap will give you the fFig which will be used
to represent an nsuml object of type myNSUMLobject.

In case the questions was more along the lines of:
how do I get the actual graphical representation of an nsuml element in
the current diagram, then one has to get all diagram objects and
iterate through them to check whether
myFig.getOwner() == myNSUMLObject.

Regards
Markus

On Dienstag, Okt 28, 2003, at 10:53 Europe/Berlin, Jaap Branderhorst
wrote:

> Something like:
>
> Layer lay = diagram.getLayer();
> lay.getPresentationF​or(myNSUMLObject);
>
> You can get a vector of diagrams like this:
> ProjectManager.getMa​nager().getCurrentPr​oject().getDiagrams(​);
>
> Since I don't have the code here atm. it can be that the exact
> signature
> is a little different.
>
> Kind regards,
>
> Jaap Branderhorst
>
>
>> Is there any way to get a NSUML object's
>> corresponding fig object?
>>
>> -CRM
>>
>> ____________________​______________
>> Do you Yahoo!?
>> Exclusive Video Premiere - Britney Spears
>> http://launch.yahoo.​com/promos/britneysp​ears/
>>
>> --------------------​--------------------​--------------------​---------
>> To unsubscribe, e-mail: modules-dev-unsubscr​ibe at argouml dot tigris.o​rg
>> For additional commands, e-mail: modules-dev-help@arg​ouml.tigris.org
>>
>>
>
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: modules-dev-unsubscr​ibe at argouml dot tigris.o​rg
> For additional commands, e-mail: modules-dev-help@arg​ouml.tigris.org
>


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: modules-dev-unsubscr​ibe at argouml dot tigris.o​rg
For additional commands, e-mail: modules-dev-help@arg​ouml.tigris.org

Re: [argouml-modules-dev] Getting the corresponding Fig object from a NSUML object

Author kataka
Full name Jaap Branderhorst
Date 2003-10-28 01:53:56 PST
Message Something like:

Layer lay = diagram.getLayer();
lay.getPresentationF​or(myNSUMLObject);

You can get a vector of diagrams like this:
ProjectManager.getMa​nager().getCurrentPr​oject().getDiagrams(​);

Since I don't have the code here atm. it can be that the exact signature
is a little different.

Kind regards,

Jaap Branderhorst


> Is there any way to get a NSUML object's
> corresponding fig object?
>
> -CRM
>
> ____________________​______________
> Do you Yahoo!?
> Exclusive Video Premiere - Britney Spears
> http://launch.yahoo.​com/promos/britneysp​ears/
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: modules-dev-unsubscr​ibe at argouml dot tigris.o​rg
> For additional commands, e-mail: modules-dev-help@arg​ouml.tigris.org
>
>


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: modules-dev-unsubscr​ibe at argouml dot tigris.o​rg
For additional commands, e-mail: modules-dev-help@arg​ouml.tigris.org

[argouml-modules-dev] Getting the corresponding Fig object from a NSUML object

Author Chad Meiners <crmeiners at yahoo dot com>
Full name Chad Meiners <crmeiners at yahoo dot com>
Date 2003-10-27 16:24:51 PST
Message Is there any way to get a NSUML object's
corresponding fig object?

-CRM

____________________​______________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.​com/promos/britneysp​ears/

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: modules-dev-unsubscr​ibe at argouml dot tigris.o​rg
For additional commands, e-mail: modules-dev-help@arg​ouml.tigris.org
Messages per page: