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 9269 - Filter children don't know about listeners
Summary: Filter children don't know about listeners
Status: CLOSED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: Other All
: P4 normal (vote)
Assignee: Petr Hrebejk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-01-29 17:36 UTC by Petr Hrebejk
Modified: 2008-12-22 16:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Patch that might solve the problem (98.48 KB, application/octet-stream)
2001-02-02 16:30 UTC, Jaroslav Tulach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Hrebejk 2001-01-29 17:36:04 UTC
If you register a NodeListener on some node then it's filter nodes
does not fire chlidrenAdd/Remove/Reorder events. At least it seems to
be so. (Firing of propertyChange and  nodeDestroyed are OK).

Try something like:

DataObject do = some_data_object;
do.addNodeListener( myListener );

myListener will receive propertyChange and nodeDestroyed events but not
the children event.
Comment 1 Jaroslav Tulach 2001-02-02 16:30:59 UTC
Created attachment 550 [details]
Patch that might solve the problem
Comment 2 Jaroslav Tulach 2001-02-02 16:31:59 UTC
Petr, please try it and let me know about the result.
Comment 3 Jan Chalupa 2001-03-12 12:10:09 UTC
Version: 'Dev' -> 3.2
Comment 4 Jaroslav Tulach 2001-04-03 16:18:35 UTC
Petr, is it ok or not?
Comment 5 Petr Hrebejk 2002-02-20 16:05:41 UTC
Reopening
Comment 6 Petr Hrebejk 2002-07-09 14:26:40 UTC
Notice that it is necessary to call getChildren().getNodes() must
be called in order to start firing events from nodes.
Comment 7 Quality Engineering 2003-07-01 15:56:51 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified
Comment 8 Quality Engineering 2003-07-01 16:15:38 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.