I imagine you're referring to showing a class icon inside a package icon.

If you enlarge the package icon, you can then drop the class icon on that.
The class will appear inside the package. In reality, though, this is only a
pictorial convention. Rose does not derive any meaning from the fact that
the class is on top of the package. You could drop classes from other
packages on a package icon and Rose would neither complain nor assign those
classes to the package. You still have to assign the class to the package
through the conventional "Relocate" method.

Of course, if you move the package afterwards or autosize it, the class will
probably appear outside the package or maybe even bigger than the package!

I believe there are some problems with exporting these diagrams to Web
Publisher, too. The hyperlink to the class gets hidden by that of the
package, apparently.


In short, you can achieve the effect pictorially but you have to manage it
manually from then on.
I doubt whether it's worth the hassle, except in small models.
A better method might be to use facade classes for packages and use those to
show communication with a package. This makes a good design, too.


Best regards,
H�seyin Angay
Karabash Ltd.
www.karabash.co.uk


> -----Original Message-----
> From: Karen M Y NG [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, May 15, 2002 11:14 AM
> To:   [EMAIL PROTECTED]
> Subject:      (ROSE) Include class icon into a package icon
> 
> 
> 
> Hi .
> 
> In the class diagram, can we include a class icon into a package item?
> PLease help. Thanks.
> 
> Karen 
> 
> ************************************************************************
> * Rose Forum is a public venue for ideas and discussions.
> * For technical support, visit http://www.rational.com/support
> *
> * Post or Reply to: [EMAIL PROTECTED]
> * Subscription Requests: [EMAIL PROTECTED]
> * Archive of messages:
> *    http://www.rational.com/support/usergroups/rose/rose_forum.jsp
> * Other Requests: [EMAIL PROTECTED]
> *
> * To unsubscribe from the list, please send email
> *    To: [EMAIL PROTECTED]
> *    Subject: <BLANK>
> *    Body: unsubscribe rose_forum
> *************************************************************************


This private and confidential e-mail has been sent to you by Egg.
The Egg group of companies includes Egg Banking plc
(registered no. 2999842), Egg Financial Products Ltd (registered
no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
carries out investment business on behalf of Egg and is regulated
by the Financial Services Authority.  
Registered in England and Wales. Registered offices: 1 Waterhouse Square,
138-142 Holborn, London EC1N 2NA.
If you are not the intended recipient of this e-mail and have
received it in error, please notify the sender by replying with
'received in error' as the subject and then delete it from your
mailbox.

************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Post or Reply to: [EMAIL PROTECTED]
* Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
*    http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*    To: [EMAIL PROTECTED]
*    Subject: <BLANK>
*    Body: unsubscribe rose_forum
*************************************************************************

Reply via email to