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 30735

Summary: TAGLB: new (empty) taglibrary shows expandable tree node in explorer
Product: javaee Reporter: Jason Rush <jrush>
Component: CodeAssignee: robertgregor <robertgregor>
Status: RESOLVED FIXED    
Severity: blocker CC: asunhachawee
Priority: P4 Keywords: UI
Version: -FFJ-   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jason Rush 2003-02-06 03:40:05 UTC
Description: 
If user adds a new taglibrary to filesystem, it will appear in the explorer as
an expandable tree node.  If you click on it to expand, the expansion icon
disappears.

Evaluation: 
When a tag library is first created, it is given node children.
An empty list, but node children nevertheless. 

We could fix this behaviour by first giving the node the 
special empty children object, and then the TLDHelperChildren
list when it acquires children. 

A comment.
Comment 1 Jason Rush 2003-02-06 03:41:24 UTC
Transferred from BugTraq 4500099.
Comment 2 Ann Sunhachawee 2003-04-02 03:32:59 UTC
Isn't this true with lots of nodes this module creates (and perhaps
even IDE wide?) If the suggested solution means that the expansion
icon won't exist, then I'd be all for it, and perhaps even promoting
the workaround (?) to the entire IDE. But maybe this points to the
core IDE apis needing adjustment..
Comment 3 Milan Kuchtiak 2004-08-05 16:57:44 UTC
The TLD node isn't expandable any more.