This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Beta1 200709070000 Steps to repro: 1) Create an activity diagram 2) Drop a partition element to the diagram 3) Drop a comment element inside the partition Nothing happens 4) Attempt to perform from the projects window a) Drop the comment element to anywhere outside the partition b) Drag the comment and drop to the partition from the project tree Nothing happens
-- Including Trey's comment --- I do not think that it is a matter of whether or not you can place a comment over a partition. I do not think UML limits that ability. They really do not limit how an UML tool behaves. Now whether or not the partition should own the comment is a different question. So, to answer your question. I do not think that it is incorrect for a comment to be place over a partition. I also do not think that is wrong that we do not allow it. Actually I just checked the UML 2.0 specification. According to the specification an ActivityPartition is not a namespace. So, the partition can contain activity nodes, but not own them. Our metadata is not correct because it is partitions are namespaces, the partition actually owns the activity node. Also a comment is not an activity node. So, a comment can not be contained by the activity partition, but it could possible for a comment to place graphically over the partition. So, I do not think that we are wrong. I do thing there is a usability issue here. This issue should be a feature request instead of an issue.