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
ActionMessages.getString("FindStringsToExternalizeAction.error.message")); 
			return 0;
		}catch(InvalidInputException iie) {
			JavaPlugin.log(iie);
			return 0;
		}	
	}
	private int countNotExternalizedStrings(NLSLine line){
		int result= 0;
		NLSElement[] elements= line.getElements();
		for (int i= 0; i < elements.length; i++){
			if (! elements[i].hasTag())
				result++;
		}
		return result;
	}
	/**
	 * returns <code>List</code> of <code>IPackageFragments</code>,  <code>IPackageFragmentRoots</code> or 
	 * <code>IJavaProjects</code> (all entries are of the same kind)
	 */
	private static List getSelectedElementList(IStructuredSelection selection) {
		if (selection == null)
			return null;
			
		return selection.toList();
	}
		
	private static LabelProvider createLabelProvider() {
		return new JavaElementLabelProvider(JavaElementLabelProvider.SHOW_DEFAULT){ 
			public String getText(Object element) {