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 31006

Summary: FilterNode should delegate getValue(<atribute>) to original node
Product: platform Reporter: Jiri Rechtacek <jrechtacek>
Component: NodesAssignee: Petr Nejedly <pnejedly>
Status: VERIFIED FIXED    
Severity: blocker CC: jtulach
Priority: P3 Keywords: API
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 9940, 39870    

Description Jiri Rechtacek 2003-02-12 17:32:10 UTC
FilterNode doesn't delegate
getValue(String attributeName) to original node, I
think setValue should be delegated also.
Comment 1 Petr Hrebejk 2003-02-20 10:22:24 UTC
As the Node extends FeatureDescriptor it seems reasonable add the
delegation of FeatureDescriptor methods into FilterNode.
Comment 2 Petr Nejedly 2004-01-09 09:44:38 UTC
Taking over the node bugs from phrebejk.
Comment 3 Petr Nejedly 2004-02-04 09:47:33 UTC
It is not that simple. If the get/setValue delegation is enabled,
should I delegate the call for all keys? It also means API change.
OK, let's try the FastTrack process ;-)
Comment 4 Petr Nejedly 2004-02-12 15:18:52 UTC
*** Issue 40022 has been marked as a duplicate of this issue. ***
Comment 5 Petr Nejedly 2004-02-13 15:12:02 UTC
Implemented, with tests and apichanges notice.

openide/src/org/openide/nodes/FilterNode.java,v1.87
openide/test/unit/src/org/openide/nodes/FilterNodeTest.java,v1.13
openide/openide-spec-vers.properties,v1.133
openide/api/doc/changes/apichanges.xml,v1.186
Comment 6 Jaroslav Tulach 2004-02-13 15:25:26 UTC
Nice.