Bug 31534 List with files of non-externalized strings should show project [NLS Tools]
Build I20030211 1. Select 2 projects (which have non-externalized strings) 2. Look at the list: the project is not shown only the project-relative path
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindStringsToExternalizeAction.java
public void run(IProgressMonitor pm) {
				fElements= doRun(selection, pm);
			}
		};
	}
	private NonNLSElement[] doRun(IStructuredSelection selection, IProgressMonitor pm) {
		List elements= getSelectedElementList(selection);
		if (elements == null || elements.isEmpty())
			return new NonNLSElement[0];
		pm.beginTask(ActionMessages.getString("FindStringsToExternalizeAction.find_strings"), elements.size()); 
					
		try{
			List l= new ArrayList();	
			for (Iterator iter= elements.iterator(); iter.hasNext();) {
				IJavaElement element= (IJavaElement) iter.next();
				if (element.getElementType() == IJavaElement.PACKAGE_FRAGMENT)
					l.addAll(analyze((IPackageFragment) element, new SubProgressMonitor(pm, 1)));
				else if (element.getElementType() == IJavaElement.PACKAGE_FRAGMENT_ROOT)
					l.addAll(analyze((IPackageFragmentRoot) element, new SubProgressMonitor(pm, 1)));
				if (element.getElementType() == IJavaElement.JAVA_PROJECT)
					l.addAll(analyze((IJavaProject) element, new SubProgressMonitor(pm, 1)));
			}
			return (NonNLSElement[]) l.toArray(new NonNLSElement[l.size()]);
		} catch(JavaModelException e) {
			ExceptionHandler.handle(e, 
				getDialogTitle(),
				ActionMessages.getString("FindStringsToExternalizeAction.error.message")); 
			return new NonNLSElement[0];	
		} finally{
			pm.done();