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 79816 - Interface implementation is not shown on the diagram
Summary: Interface implementation is not shown on the diagram
Status: RESOLVED WONTFIX
Alias: None
Product: uml
Classification: Unclassified
Component: Synchronization (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-06 11:46 UTC by Alexandr Scherbatiy
Modified: 2007-01-19 01:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
C implements I (98.83 KB, image/png)
2006-07-06 11:51 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2006-07-06 11:46:47 UTC
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
Comment 1 Alexandr Scherbatiy 2006-07-06 11:51:30 UTC
Created attachment 31668 [details]
C implements I
Comment 2 Craig Conover 2006-08-14 20:26:39 UTC
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.
Comment 3 Craig Conover 2006-08-14 20:29:19 UTC
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
Comment 4 Peter Lam 2007-01-19 01:39:25 UTC
live round-trip feature.