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 119290 - imported elements don't show up until ide restart if imported package exists
Summary: imported elements don't show up until ide restart if imported package exists
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Yang Su
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-17 23:36 UTC by Peter Lam
Modified: 2007-10-23 01:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Lam 2007-10-17 23:36:29 UTC
If no existing imported package containing the same element, importing elements will show up ok.

Repro steps:
- create a uml project proj1
- add a package "pack1"
- add 2 classes "c1" & "c2" to "pack1"
- create a 2nd uml project named proj2 & a class diagram named p2-cld
- expand the Imported Elements node in proj2
- drag/drop "pack1" from proj1 to diagram p2-cld in proj2
- drag/drop classes "c1" and "c2" to diagram p2-cld 
Result: classes "c1" & "c2" are not listed in the Imported Elements node in proj2 outside "pack1" until ide restarts.
Comment 1 Yang Su 2007-10-18 23:38:57 UTC
checked into trunk
Checking in nodes/ImportedElementNode.java;
/cvs/uml/projectui/src/org/netbeans/modules/uml/project/ui/nodes/ImportedElementNode.java,v  <--  ImportedElementNode.java
new revision: 1.6; previous revision: 1.5
done
Checking in nodes/ImportProjectRootNode.java;
/cvs/uml/projectui/src/org/netbeans/modules/uml/project/ui/nodes/ImportProjectRootNode.java,v  <-- 
ImportProjectRootNode.java
new revision: 1.9; previous revision: 1.8
done
Checking in nodes/ImportedProjectChildren.java;
/cvs/uml/projectui/src/org/netbeans/modules/uml/project/ui/nodes/ImportedProjectChildren.java,v  <-- 
ImportedProjectChildren.java
new revision: 1.11; previous revision: 1.10
done
Checking in customizer/UMLImportsUiSupport.java;
/cvs/uml/projectui/src/org/netbeans/modules/uml/project/ui/customizer/UMLImportsUiSupport.java,v  <-- 
UMLImportsUiSupport.java
new revision: 1.8; previous revision: 1.7
done
Comment 2 Peter Lam 2007-10-23 01:04:27 UTC
verified in trunk build 20071022.