Bug 28363 Navigate>Go to Resource has no effect
JUnit setup 0) activate the package explorer 1) Navigate>Go to>Resource... 2) enter logo.gif 3) OK ->logo gif isn't selected in the package explorer
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/GotoResourceAction.java
collect(result, project, filters);
			}
		}
	}
	
	private void collect(List result, IJavaProject parent, ViewerFilter[] filters) throws CoreException {
		boolean handleResources= true;
		IPackageFragmentRoot[] roots= parent.getPackageFragmentRoots();
		for (int i= 0; i < roots.length; i++) {
			IPackageFragmentRoot root= roots[i];
			if (isVisible(parent, root, filters) && !root.isArchive() && !root.isExternal()) {
				if ("".equals(root.getElementName()))
					handleResources= false;
				collect(result, root, filters);
			}
		}
		if (handleResources)	
			handleResources(result, parent, parent.getNonJavaResources(), filters);
	}
	
	private void collect(List result, IPackageFragmentRoot parent, ViewerFilter[] filters) throws CoreException {
		IJavaElement[] fragments= parent.getChildren();
		for (int i= 0; i < fragments.length; i++) {
			IJavaElement fragment= fragments[i];
			if (!isVisible(parent, fragment, filters))
				continue;
			if (fragment.getElementType() == IJavaElement.PACKAGE_FRAGMENT)
				collect(result, (IPackageFragment)fragment, filters);
		}
		handleResources(result, parent, parent.getNonJavaResources(), filters);