Bug 30191 Navigate Goto Resource does not find certain files
If I open a Java perspective and then Navigate | Go to | Resource, not all files are visible only those that are under the java source directory. If I open a navigator view or perspective, all files are seen. Should the the goto resource should be the same.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/GotoResourceAction.java
public void run() {
		ViewerFilter[] filters= fPackageExplorer.getViewer().getFilters();
		List resources= new ArrayList(fSize);
		try {
			collect(resources, JavaCore.create(ResourcesPlugin.getWorkspace().getRoot()), filters);
		} catch (CoreException e) {
		}
		IResource resourcesArray[]= (IResource[]) resources.toArray(new IResource[resources.size()]);
		
		ResourceListSelectionDialog dialog= new ResourceListSelectionDialog(
			fPackageExplorer.getViewSite().getShell(), resourcesArray); 
		dialog.setTitle(PackagesMessages.getString("GotoResource.dialog.title")); 
	 	dialog.open();
	 	Object[] result = dialog.getResult();
	 	if (result == null || result.length == 0 || result[0] instanceof IResource == false)
	 		return;
	 	StructuredSelection selection= null;
		IJavaElement element = JavaCore.create((IResource)result[0]);
		if (element != null)
			selection= new StructuredSelection(element);
		else 
			selection= new StructuredSelection(result[0]);
		fViewer.setSelection(selection, true);
	}
	
	private void collect(List result, IJavaModel parent, ViewerFilter[] filters) throws CoreException {
		IJavaProject[] projects= parent.getJavaProjects();
		for (int i = 0; i < projects.length; i++) {
			IJavaProject project= projects[i];
			if (isVisible(parent, project, filters)) {