Hi Bob, et al., On 28/04/10 12:14, Bob Tarling wrote: > Regarding issue 6080 > > Can anyone explain to me the difference between namespace and context > of an activity graph? Should these be different. >
The context is what you describe the activity of. The context can be a package, class or operation. So, an activity graph of an operation describes the code that is executed when the operation is called. Since the activity graph is also a model element, it is owned by a namespace. Currently, when you select a class, and click the activity diagram tool, an activity graph is created with the context set as the class. Also the namespace is currently set to be the class, but this is a bug: it needs to be the containing package (there is an issue for this, I think). > When the explorer is in package mode the activity graph only moves > when the context is changed, not the namespace. Why is that? > > In the metamodel, the context relation is aggregation, and the owner relation is composition. In the package-centric explorer perspective we show the context relationship (since people feel this as more natural), and in the composite-centric perspective we show the ownership relation. Regards, Michiel ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2597943 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]]
