Login | Register
My pages Projects Community openCollabNet

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

argouml
Discussion topic

Back to topic list

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

« Previous message in topic | 3 of 6 | Next message in topic »

Messages

Show all messages in topic

[argouml-modules-dev] Getting the corresponding Fig object from a NSUML object Chad Meiners <crmeiners at yahoo dot com> Chad Meiners <crmeiners at yahoo dot com> 2003-10-27 16:24:51 PST
     Re: [argouml-modules-dev] Getting the corresponding Fig object from a NSUML object kataka Jaap Branderhorst 2003-10-28 01:53:56 PST
         Re: [argouml-modules-dev] Getting the corresponding Fig object from a NSUML object mkl Markus Klink 2003-10-28 02:33:27 PST
             Re: [argouml-modules-dev] Getting the corresponding Fig object from a NSUML object kataka Jaap Branderhorst 2003-10-28 02:41:52 PST
                 Re: [argouml-modules-dev] Getting the corresponding Fig object from a NSUML object mkl Markus Klink 2003-10-28 14:06:25 PST
         RE: [argouml-modules-dev] Getting the corresponding Fig object from a NSUML object "Linh C dot Nguyen" <lnguyen59 at comcast dot net> "Linh C dot Nguyen" <lnguyen59 at comcast dot net> 2003-10-28 16:12:41 PST
Messages per page: