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.
Steps to reproduce: - Create a Java project - Create a UML project associated with the Java project - Go to the java project - Create 'pack' package in the java project - Create 'C' java class in the 'pack' package - Change class 'C' to implement interface 'I' --------------------------------------------------------------- public class C implements I { /** Creates a new instance of C */ public C() { } } --------------------------------------------------------------- - Create 'I' java interface in the 'pack' package - Go to 'pack' package under UML Model node - Select 'C' and 'I' elements under 'pack' package - Invoke 'Create Diagram from selected elements' from popup menu There are no 'implemenation' link between 'C' class element and 'I' interface element
Created attachment 31668 [details] C implements I
Review: bug is as stated. Also noticed that under C's node in the tree, the implementation relationship node exists, but under I's node in the tree, there is no implementation relationship node. If you manually draw the implementation link from C to I on the diagram, the relationship node is created under I's node.
Additional observation to above... When the implementation link is manually drawn, the source code for C is updated so that is now implements I twice: public class C implements I, I
live round-trip feature.