Bug 62968 Source folders disappear in Package Explorer if set to Hierarchical Layout
I200405190010 If I set the view to "Hierarchical Layout" in the Package Explorer my "src" folder shows as empty if there are no java files in the root package (i.e. only sub-packages at the first level). Setting to "Flat" and they appear again. Tried a new Java project to recreate, but the problem is not showing on new projects. PB
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
return true;
        
        WorkingSetFilterActionGroup workingSetGroup = fActionSet.getWorkingSetActionGroup();
        IWorkingSet workingSet = workingSetGroup.getWorkingSet();  	    
        if (workingSetGroup.isFiltered(getVisibleParent(element), element)) {
            String message= PackagesMessages.getFormattedString("PackageExplorer.notFound", workingSet.getName());  
            if (MessageDialog.openQuestion(getSite().getShell(), PackagesMessages.getString("PackageExplorer.filteredDialog.title"), message)) { 
                workingSetGroup.setWorkingSet(null, true);		
                if (revealElementOrParent(element))
                    return true;
            }
        }
        
        CustomFiltersActionGroup filterGroup = fActionSet.getCustomFilterActionGroup();
        String[] filters= filterGroup.removeFiltersFor(getVisibleParent(element), element, getTreeViewer().getContentProvider()); 
        if (filters.length > 0) {
            String message= PackagesMessages.getString("PackageExplorer.removeFilters"); 
            if (MessageDialog.openQuestion(getSite().getShell(), PackagesMessages.getString("PackageExplorer.filteredDialog.title"), message)) { 
                filterGroup.setFilters(filters);		
                if (revealElementOrParent(element))
                    return true;
            }
        }
        FrameAction action = fActionSet.getUpAction();
        while (action.getFrameList().getCurrentIndex() > 0) {
            action.run();
            if (revealElementOrParent(element))
                return true;
        }
        return false;