Bug 28102 Folder not refreshed after adding a file
Build 20021210 Add "Eclipse JDT Builds" from CVS repository (ottcvs1) Open Package Explorer Switch to hierarchical layout Add a text file to "scripts" ==> it does not show up works with flat layout.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java
if (resource == null)
			return false;	
			
		
		if ((status & IResourceDelta.REMOVED) != 0) {
			if (parent instanceof IPackageFragment) {
				
				postRefresh(internalGetParent(parent));
				return true;
			} else 
				postRemove(resource);
		}
		if ((status & IResourceDelta.ADDED) != 0) {
			if (parent instanceof IPackageFragment) {
				
				postRefresh(internalGetParent(parent));	
				return true;
			} else
				postAdd(parent, resource);
		}
		
		processResourceDeltas(delta.getAffectedChildren(), resource);
		return false;
	}
	
	/**
	 * Process resource deltas.
	 *
	 * @return true if the parent got refreshed
	 */