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 12048

Summary: Add method FilterNode.setOriginal()
Product: platform Reporter: Jesse Glick <jglick>
Component: -- Other --Assignee: Petr Hrebejk <phrebejk>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 11156, 12045, 13730    

Description Jesse Glick 2001-05-09 17:17:29 UTC
Suggest that FilterNode have a method:

protected void setOriginal(Node orig);

Subclasses could call this if for some reason they wished to begin delegating to
a different node. It would fire every possible change event, assuming that
everything could have changed.

Also a similar protected getter and setter in FilterNode.Children. (Who made the
field 'original' protected to begin with?? It is *not* safe to write to it
without firing changes!)
Comment 1 Jaroslav Tulach 2001-05-14 17:43:33 UTC
David, please investigate this issue, if implementable then make the method
final:

protected final void setOriginal (Node orig)
Comment 2 David Strupl 2001-10-22 13:42:38 UTC
I think this was already solved by Petr. Reassigning before closing.
Comment 3 David Strupl 2001-10-22 13:44:34 UTC
It is in the main trunk (FilterNode).
Comment 4 Jan Zajicek 2001-10-23 14:29:02 UTC
rev 1.53
Comment 5 Quality Engineering 2003-07-01 16:35:41 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.