| Summary: | Can't add node to ActivityPartition | ||
|---|---|---|---|
| Product: | [Modeling] MDT.UML2 | Reporter: | Christian Waniek <chris.waniek> |
| Component: | Core | Assignee: | UML2 Inbox <mdt-uml2-inbox> |
| Status: | CLOSED INVALID | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | Kenn.Hussey |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Christian Waniek
Activity partitions do not own their nodes and edges; rather, they reference nodes and edges owned by their containing activities. Sorry, but that's not what I read in the UML2 Spec. Indeed, an ActivityGroup can't contain ActivityNodes, but specializations of ActivityGroup, like Activitypartition, have an own association node:ActivityNode[0..*] which isn't read-only or/and derived. Maybe technically ActivityNodes are always conatined in the Activity, but in my opinion I should have read-write access to the nodes immediatly contained in an ActivityPartition. Apologies for not being more explicit in my previous response. It is already possible to add nodes to an activity partition, both programmatically and via the sample editor. Simply create an activity, create child nodes underneath it, create a child activity partition underneath the activity, then add the nodes to the "Node" property of the partition. Similar steps can be followed for edges. (The associations in question can be seen in Figure 12.10, page 302, of formal/2009-02-02 - UML Superstructure version 2.2). Closing for Indigo release. |