Bug 12884 find strings to externalize - should be cancelable
instead of a busy cursor it should show a progress dialog with cancelation
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindStringsToExternalizeAction.java
}
	}
	
	private void showResults(List l) {
		if (noStrings(l))
			MessageDialog.openInformation(getShell(), 
				ActionMessages.getString("FindStringsToExternalizeAction.dialog.title"), 
				ActionMessages.getString("FindStringsToExternalizeAction.noStrings")); 
		else	
			new NonNLSListDialog(getShell(), l, countStrings(l)).open();
	}
	
	private boolean noStrings(List l) {
		for (Iterator iter= l.iterator(); iter.hasNext();) {
			NonNLSElement element= (NonNLSElement)iter.next();
			if (element.count != 0)
				return false;
		}
		return true;
	}
	
	/*
	 * returns List of Strings
	 */
	private List analyze(IPackageFragment pack) throws JavaModelException{
		if (pack == null)
			return new ArrayList(0);
			
		ICompilationUnit[] cus= pack.getCompilationUnits();