Hi! -------- Original-Nachricht -------- > Datum: Tue, 26 May 2009 06:06:06 +0200 > Von: Linus Tolke <[email protected]> > An: [email protected] > Betreff: Re: [argouml-dev] Attempting the improvement of the EUML model > implementation for class diagrams
--<snip>-- > After that I searched for the simple access method in uml2 and tried to > find > some kind of search mechanism in the uml2/emf to either find all > ElementImports and filter them to get the ones that are connected to the > PackageableElement (brute method) or something smarter. I couldn't figure > out how this is done since I don't know enough of the uml2/emf API. I guess, I don't understand the method enough to fully comprehend the problem... I thought you get the outermost package and search the imported elements from there? The UML2 package interface inherits the getImportedElements() method from Namespace, so it's available once you have the package. So I thought looping through the nested packages should find you the outermost package to call the method above...? Ciao, Andreas -- Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02 ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2353789 To unsubscribe from this discussion, e-mail: [[email protected]]. To be allowed to post to the list contact the mailing list moderator, email: [[email protected]]
