Comments: (hope it is okay that I comment even though I am new to this list)
1. If these two classes are in two different packages, will a dependency be created automatically between the two packages? 2. In the class diagrams where these classes are, will it be possible to see that the class has an association? It will be misleading to see a class where the association is not shown if it exists, I think. But afaik, UML does not have a way of showing an association without a class shown in the other end (I'm not experienced with UML (though I have read a couple of books and been on a course, I have not used it much), may be it is common practice only to show the associations you find appropriate in a diagram) br Roland > -----Oprindelig meddelelse----- > Fra: Bob Tarling [mailto:[EMAIL PROTECTED] > Sendt: 7. januar 2007 19:54 > Til: [email protected] > Emne: Re: [argouml-users] Package questions > > > I've been making some attempts to improve this for the next release. > > In the forthcoming alpha release of ArgoUML 0.24 you will be able to > create an association without having to have elements on a diagram. > > Simply select the 2 classes you wish to associate in the explorer and > then rightclick->CreateModelElement->CreateAssociation > > Regards > > Bob. > > On 03/01/07, Ro <[EMAIL PROTECTED]> wrote: > > Hi > > > > In ArgoUML you can double click on a package to create a new > class diagram. > > > > I have two packages, each one contains a class diagram. > > > > How do I model the association between two classes in different > packages (on > > class level, not as a dependency between the two packages)? > > > > Example: > > CServer is in a class diagram in one package, > > CSocketClient is in a class diagram in another package. > > > > If they were in the same class diagram, I would model the association > > between the two like this (the server can connect to many clients): > > > > ----------- 0..* ----------------- > > ! CServer !------------->! CSocketClient ! > > ----------- ----------------- > > > > But where and how do I model the above association between the > two classes > > when they are in two different class diagrams in two different packages? > > > > May be I'm trying to use packages in a wrong way.If you use > packages please > > tell how you use them. > > > > Thanks > > Roland > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
