From: Eggert E. <eg...@ni...> - 2006-09-27 15:02:21
|
Reinout van Rees wrote: > Eggert Ehmke wrote: >> I want to derive my content type from ATDocument / ATFolder. So in >> argouml I created stub classes ATDocument and ATFolder with stereotypes >> stub and archetype, and provided tagged values >> Products.ATContentTypes.content.folder / >> Products.ATContentTypes.content.document. Still, when I generate the >> project, in the python code my class is still derived from BaseFolder / >> BaseContent. What am I doing wrong? > > Are you only inheriting from ATdoc/Atfolder? No other classes? my folder stub is inherited from ATFolder, my document stub is inherited from ATFolder (via the import_from tagged value). But now I discovered that my stubs are not working at all. It is only possible to draw inheritance arrows from the stubs to my own classes, I guess the arrow should point from the classes to the stubs. This is not possible, argouml just ignores my attempts. No error messages. Eggert |