Hi Gavin,
 
Well, it depends on the way you draw the realization:
If you draw the class and the interface in the right packages as you describe, and then link them with a "Realization", then it works.
However, if you use the selection button below the interface, and drag it onto the other package, and release, then you would indeed expect a class to be created, but it does not work.
 
So, you can use the former method as a work-around. Also, it is easy to draw a class or interface anywhere else, and either drag it into the right package, or adjust its namespace in the properties panel combo labelled "Namespace".
 
This is worth an issue in ArgoUML's issue database! Please file one.
 
Regards,
Michiel
 
 
----- Original Message -----
Sent: Friday, September 01, 2006 8:59 PM
Subject: [argouml-users] Inherited classes in sub-packages

I would like to put a class into a sub-package of the class it inherits from but Argo prevents me from doing this. For example, if I have a interface IFoo in package Bar, I would like to have the implementation class FooImpl in the package Bar.Impl.

 

Is this a constraint in UML 1.4, or just a program limitation, or am I doing something wrong?

 

Thanks

 

 

Gavin Hay

Sr. Systems Analyst

ISTM – CRM Team

Tel: (204) 975-5958

Cell: (204) 296-4862

Email: [EMAIL PROTECTED]

 

 

This e-mail message and all attachments may contain privileged and confidential information intended solely for the use of the addressee. If you are not the intended recipient, you should immediately stop reading this message. Any unauthorized reading, distribution, copying, or other use of this message or its attachments is strictly prohibited. This message may not be copied or distributed without this confidentiality notice. If you have received this message in error, please notify me immediately (by calling collect, if necessary) and delete this message and all attachments from your system. Thank you in advance for your anticipated cooperation.

 


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.7/435 - Release Date: 31/08/2006
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.7/435 - Release Date: 31/08/2006

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to