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 28909

Summary: [action_27868] branch: Filesystem cusomizer children nodes (IDO.CookiesAdjustNode) are not working correctly
Product: platform Reporter: Peter Zavadsky <pzavadsky>
Component: NodesAssignee: Peter Zavadsky <pzavadsky>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 27868    

Description Peter Zavadsky 2002-11-21 10:53:28 UTC
When invoked the Filesystems custmizer, the popup
actions are not enabled correctly (MoveUp,
MoveDown) -> reason the node
(IDO.CookieAdjustingNode) doesn't have its parent
(= null) pointed to Filesystems node.
Comment 1 Peter Zavadsky 2002-11-21 14:36:41 UTC
There is a strange thing (for me), the node lookup for some (children)
nodes in that customizer, dont return (when looking up for Node.class)
its own, but some another filter node, which use doesn't work as
activated node for those actions.
Comment 2 Peter Zavadsky 2002-11-21 16:00:57 UTC
Fixed in [action_27868] branch

org/netbeans/core/ui/MountNode.java 1.22.62.1 (the actual fix is only
in this source)
org/openide/nodes/FilterNode.java 1.60.6.1
org/openide/util/lookup/ProxyLookup.java 1.8.28.2

Note: See also issue #28913 for closer description.
Comment 3 Jaroslav Tulach 2002-11-27 11:06:48 UTC
I have fixed the FilterNode in maintrunk. Peter could you please merge
FilterNode.rev 1.61 to actions_27868 branch and remove all hacks that
you had to do to overcome the FilterNode.getLookup problem? Thanks.
Comment 4 Peter Zavadsky 2002-11-28 08:22:59 UTC
OK, I'll do that.
Comment 5 Peter Zavadsky 2002-11-28 09:42:20 UTC
Applied to the [action_27868] branch. Thanks

openide/../nodes/FilterNode.java 1.60.6.2
core/../ui/MountNode.java 1.22.62.2