Hi! -------- Original-Nachricht -------- > Datum: Sat, 30 May 2009 15:30:34 -0400 > Von: Tom Morris <[email protected]> > An: [email protected] > Betreff: Re: [argouml-dev] Remove \'create activity diagram\' from main menu?
--<snip>-- > No, I would just do it exactly the way it's done today, unless there's > a compelling reason to change (which I don't see yet). If you fire up > ArgoUML 0.28 and create a new Activity Diagram, you get an unnamed > ActivityGraph owned by the top level Model. It doesn't make a lot of > sense to have an ActivityGraph which describes the behavior of a > Package (which is what Model is), but it's simple. The UML 2.x > equivalent would be to create an Activity which is owned by the > top-level Model. It doesn't make any less sense than the UML 1.4 > implementation. Ok. Where to store that owner? http://download.eclipse.org/modeling/mdt/uml2/javadoc/3.0.0/org/eclipse/uml2/uml/Activity.html No method setNamespace, setOwner etc. AFAIK, the activity could be store in the BehavioredClassifier http://download.eclipse.org/modeling/mdt/uml2/javadoc/3.0.0/org/eclipse/uml2/uml/BehavioredClassifier.html#setClassifierBehavior(org.eclipse.uml2.uml.Behavior) , and then set the namespace of this classifier. But this means, we need the classifier in the model somewhere... > An Activity Graph/Activity *should* have a Classifier as its context, > but the user can fix that up later (or perhaps they're just drawing a > quick sketch and don't care). As I see it, the UML2 metamodel requires the classifier to store info like the namespace. Makes sense in my eyes, since there's no need to store the namespace in every operation, but instead store it once in the class, all the operations belong to... Ciao, Andreas -- Nur bis 31.05.: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate und Telefonanschluss nur 17,95 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02 ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2357251 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]]
