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.

Bug 115063 - Adding comment element to partition does not work in activity diagram
Summary: Adding comment element to partition does not work in activity diagram
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Activity (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-07 21:23 UTC by Joanne Lau
Modified: 2007-09-07 23:00 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joanne Lau 2007-09-07 21:23:04 UTC
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
Comment 1 Joanne Lau 2007-09-07 23:00:34 UTC
-- 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.