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 138005 - element created in pkg/subpkg via link not shown in projects tree
Summary: element created in pkg/subpkg via link not shown in projects tree
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Class (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Trey Spiva
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-23 18:25 UTC by Joanne Lau
Modified: 2008-07-02 17:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (97.24 KB, image/png)
2008-06-23 18:25 UTC, Joanne Lau
Details
Properties window is empty (138.77 KB, image/png)
2008-06-23 18:34 UTC, Joanne Lau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joanne Lau 2008-06-23 18:25:03 UTC
Build: 080622

- DnD a package (pack1) in the class diagram
- DnD a subpack (subpack1) within pack1
- DnD a class to the subpack1,  and name it subc1)
- Invoke the context palette and click on the implementation link
   (Unnamed interface is automatically created in subpack1)

- From the projects tree, expand the UML project to the package and subpackage,
  Notice the new Unnamed interface is now shown

(see attached screenshot)
Comment 1 Joanne Lau 2008-06-23 18:25:49 UTC
Created attachment 63280 [details]
screenshot
Comment 2 Joanne Lau 2008-06-23 18:33:03 UTC
I also rename the Unnamed interface (e.g. subi1), but only double clicking at the interface
name will show the modified name,  otherwise Unnamed is still displayed, and its properties
window is empty (see screenshot2)
Comment 3 Joanne Lau 2008-06-23 18:34:02 UTC
Created attachment 63281 [details]
Properties window is empty
Comment 4 Joanne Lau 2008-06-27 17:35:20 UTC
This issue applies to package as well:
  - Create a package
  - Create a class (c1) within the package
  - Click the generalization link from the contextual palette
      A new class is created, rename it c2
  - New class does not shown in the project tree
      Filter the model does not help either
  - Attempt to delete c2, with 'Also delete from the model' checkbox selected
    class delete from the package
  - Attempt to recreate it again with clicking the generalization link,  getting 
    'Unable to Create Generalization' popup:

    'The generalization cannot be created. In Java, classes cannot inherit from  more than one class'

  - Issue still persists after close/reopen project
  
Comment 5 Peter Lam 2008-06-27 18:16:26 UTC
ops, I added regression by mistake in the wrong issue. Taking it out.
Comment 6 Trey Spiva 2008-07-01 19:38:48 UTC
fixed

http://hg.netbeans.org/uml-main/rev/043f9cc12df8
Comment 7 Joanne Lau 2008-07-02 17:48:19 UTC
Verified in 080702