Bug 63529 Shorten the Job description for Search Jobs
The Job description is shown in the progress segment in the status bar. To avoid that the label in the segment gets compressed like "Search for Referen...space" it should be shortened to only show the Job's main function, e.g. "Java Search", "File Search", ...
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchQuery.java
}
	public String getLabel() {
		Object[] args= new Object[] { quote(getSearchPattern()), fPatternData.getScopeDescription() };
		if (fPatternData.getLimitTo() == IJavaSearchConstants.REFERENCES)
			return SearchMessages.getFormattedString("JavaSearchQuery.searchfor_references", args); 
		else if (fPatternData.getLimitTo() == IJavaSearchConstants.DECLARATIONS)
			return SearchMessages.getFormattedString("JavaSearchQuery.searchfor_declarations", args); 
		else if (fPatternData.getLimitTo() == IJavaSearchConstants.READ_ACCESSES)
			return SearchMessages.getFormattedString("JavaSearchQuery.searchfor_read_access", args); 
		else if (fPatternData.getLimitTo() == IJavaSearchConstants.WRITE_ACCESSES)
			return SearchMessages.getFormattedString("JavaSearchQuery.searchfor_write_access", args); 
		else if (fPatternData.getLimitTo() == IJavaSearchConstants.IMPLEMENTORS)
			return SearchMessages.getFormattedString("JavaSearchQuery.searchfor_implementors", args); 
		return SearchMessages.getString("JavaSearchQuery.search_label"); 
	}
	String getSingularLabel() {
		String desc= null;
		desc= getSearchPattern();
		desc= quote(desc);
		desc= "\""+desc+"\""; 
		String[] args= new String[] {desc, fPatternData.getScopeDescription()}; 
		switch (fPatternData.getLimitTo()) {
			case IJavaSearchConstants.IMPLEMENTORS:
				return SearchMessages.getFormattedString("JavaSearchOperation.singularImplementorsPostfix", args); 
			case IJavaSearchConstants.DECLARATIONS:
				return SearchMessages.getFormattedString("JavaSearchOperation.singularDeclarationsPostfix", args); 
			case IJavaSearchConstants.REFERENCES:
				return SearchMessages.getFormattedString("JavaSearchOperation.singularReferencesPostfix", args); 
			case IJavaSearchConstants.ALL_OCCURRENCES:
				return SearchMessages.getFormattedString("JavaSearchOperation.singularOccurrencesPostfix", args);