From: <aur...@fr...> - 2003-07-04 15:45:21
|
Aurélien Labrosse a écrit : >Aurélien Labrosse, el viernes 4 de julio a las 11:44 me escribiste: >> >Ok, I've seen stereotype box in umbrello but I don't know what is it >> >for. It could be for templates? >> >If stereotypes have any other use I prefer to use a documentation hint >> >like x2c:interface... >> > >> Stereotype are designed to extends the basic UML semantic. The benefits >> of it to precise the interfaces >> is that <<interface>> will be explicit on the diagram view. But uses >> x2c::interface should be easier to develop, >> even if i think it less compliant with UML. Any UML guru there? > >No that I know, maybe we should move this conversation to >xmi...@li...[1] (it has no traffic at all but >there is a few people subscribed). >I think we should try to implement it in the right way. If it's too >hard, then try the dirty hacks :) > >> >>For the rest of "complex" relationship between objects, I will try to >> >>use the XMI file created for Java, that seems complete. >> > >> >Ok, do you have any example to send me? >> > >> It seems i was wrong. The <associations> element contains the >> relationship. But there is a <too-much>huge</to-much> work to hack >> the XMI format, and parse it to generate code that conforms the diagrams. > >Why? I don't understand. XMI is being parsed now and it grabs the >relationships jJust inheritance for now). See at >xmi2code/handler/umbrello.cpp, line 131. > Well, i missed it ;-) So a switch in place of the "if" allows us to catch more "association type". The "Association" class has a "X2C::AssociationType mType;", so we can use it witout big refactory (hope). Aurelien > >> I found these informations about it : >> >> http://www.omg.org/technology/documents/formal/xmi.htm > >Ok, I'll take a look when I have some time. > >[1] http://lists.sourceforge.net/lists/listinfo/xmi2code-develop > >- -- >LUCA - Leandro Lucarella - Usando Debian GNU/Linux Sid - GNU Generation >- ------------------------------------------------------------------------ >E-Mail / JID: lu...@lu... >GPG Fingerprint: D9E1 4545 0F4B 7928 E82C 375D 4B02 0FE0 B08B 4FB2 >GPG Key: gpg --keyserver pks.lugli.org.ar --recv-keys B08B4FB2 >- ------------------------------------------------------------------------ >La muerte es la mayor patada de todas, por eso se guarda para el final. > -- Anónimo. > > |