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 87512 - not possible to remove element-to-diagram associoation
Summary: not possible to remove element-to-diagram associoation
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Yang Su
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-19 13:39 UTC by Andrew Korostelev
Modified: 2007-08-17 01:27 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 Andrew Korostelev 2006-10-19 13:39:48 UTC
if element is associated with diagram, this association can't be deleted.

e.g. element-to-element association is shown as project tree node and can be
removed. 
But element-to-diagram association is not shown in the tree (issue 79763).
There only place where it is shown is 'Element Navigation' dialog, but it is
also can't be removed from there.
Comment 1 Yang Su 2006-12-06 18:35:55 UTC
Element's property sheet also lists its associated diagram, but the property is
non-editable.
Comment 2 Yang Su 2006-12-06 18:36:24 UTC
Element's property sheet also lists its associated diagram, but the property is
non-editable.
Comment 3 Peter Lam 2007-03-20 23:13:07 UTC
low use case not currently impacting our installed user base.
Comment 4 Yang Su 2007-08-17 01:27:02 UTC
Make it an enhancement request. 

Reference is meant for model element to element. Diagram is not considered an element, when associating an element with
a diagram, no 'Reference' object is created for the element, instead, the diagram attribute is modified to remember this
association. Hence no reference is created under element node, this information is displayed in 'element navigation
dialog' and element property sheet. 

Enhancement can be made to use custom editor for "associated diagram" property to list all associated diagrams and allow
user to add or remove items.