Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 65405

Summary: [Viewers] isExpandable in AbstractTreeViewer fetches subnodes if filter is set
Product: [Eclipse Project] Platform Reporter: vikingofspiking
Component: UIAssignee: Tod Creasey <Tod_Creasey>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description vikingofspiking CLA 2004-06-02 13:53:25 EDT
I just noticed a code change from M8 to M9 where isExpandable now fetches
subnodes of a node that's being expanded if a filter has been set.

This is a problem for us, as we don't want to fetch all those children when
we're connected to the server.  The user can end up waiting for minutes while
this takes place.

Some way of disabling this feature is critical; for now I've just disabled our 
filter and I do our filtering in the provider.
Comment 1 Tod Creasey CLA 2004-06-03 14:24:28 EDT
You can override isExpandable. Without this behaviour the filtered viewers are 
never right.

A couple of slow viewers in Eclipse just override this method.
Comment 2 John Arthorne CLA 2004-06-04 14:27:19 EDT
Reopening.
Comment 3 John Arthorne CLA 2004-06-04 14:28:44 EDT

*** This bug has been marked as a duplicate of 65762 ***