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 - TAGLB: new (empty) taglibrary shows expandable tree node in explorer
Summary: TAGLB: new (empty) taglibrary shows expandable tree node in explorer
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: -FFJ-
Hardware: PC All
: P4 blocker (vote)
Assignee: robertgregor
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2003-02-06 03:40 UTC by Jason Rush
Modified: 2010-01-12 02:06 UTC (History)
1 user (show)

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 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.