Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321644 - Some children of PackageFragmentRootContainers never shown in explorer
Summary: Some children of PackageFragmentRootContainers never shown in explorer
Status: RESOLVED FIXED
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: 3.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.2.2   Edit
Assignee: Nitin Dahyabhai CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-03 14:45 EDT by Nitin Dahyabhai CLA
Modified: 2010-08-13 14:03 EDT (History)
1 user (show)

See Also:
cmjaun: review+


Attachments
proposed patch (1.21 KB, patch)
2010-08-03 14:46 EDT, Nitin Dahyabhai CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nitin Dahyabhai CLA 2010-08-03 14:45:16 EDT
PackageExplorerContentProvider#getContainerPackageFragmentRoots() filters the children layout, but the while loop through its children has no fallback for children that are not IPackageFragment, IPackageFragmentRoot, IClassFile, or IJavaScriptUnit.
Comment 1 Nitin Dahyabhai CLA 2010-08-03 14:46:09 EDT
Created attachment 175806 [details]
proposed patch
Comment 2 Nitin Dahyabhai CLA 2010-08-13 14:03:10 EDT
Checked in.