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 147158

Summary: a11y: Ctrl+Enter to add element from project tree to diagram does not restore relationship
Product: uml Reporter: Peter Lam <petersl>
Component: General DiagramAssignee: Thuy.d Nguyen <thuydn>
Status: VERIFIED FIXED    
Severity: blocker Keywords: A11Y
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Peter Lam 2008-09-13 00:40:54 UTC
build 20080912

DnD class with relationship to diagram draws the link automatically. However, doing it with Ctrl+Enter does not and an
extra step to discover relationship is needed. This also applies to imported elements.

- create a class diagram
- add and name a couple of classes on the diagram
- add a generalization link between the class
- delete a class from the diagram 
- select the deleted class on the project tree
- press Ctrl+Enter to add the deleted class back to the diagram

Workaround: press Ctrl+Alt+Shift+H to discover relationship
Comment 1 Thuy.d Nguyen 2008-09-15 23:20:47 UTC
Fixed. 

changeset 4d8e3492c275 in uml-main
details: http://hg.netbeans.org/uml-main?cmd=changeset;node=4d8e3492c275
Comment 2 Trey Spiva 2008-09-16 18:41:08 UTC
Reviewed
Comment 3 Peter Lam 2008-09-17 01:23:15 UTC
verified in build 20080916.