Bug 50913 Cannot copy problems to clipboard anymore
Build 200401281649 When selecting any Java problem and performing a copy action (in problem view), then the pasted value is: Severity Description Resource In Folder Location Creation Time
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/FieldSeverity.java
public Image getImage(Object obj) {
		if (obj == null || !(obj instanceof ProblemMarker)) {
			return null;
		}
		
		
		int severity = ((ProblemMarker)obj).getSeverity();
		if (severity == IMarker.SEVERITY_ERROR) {
			return ImageFactory.getImage(IMAGE_ERROR_PATH);
		}
		if (severity == IMarker.SEVERITY_WARNING) {
			return ImageFactory.getImage(IMAGE_WARNING_PATH);
		}
		if (severity == IMarker.SEVERITY_INFO) {
			return ImageFactory.getImage(IMAGE_INFO_PATH);
		}
		return null;
	}
	/**
	 * @see org.eclipse.ui.views.markerview.IField#compare(java.lang.Object, java.lang.Object)
	 */
	public int compare(Object obj1, Object obj2) {
		if (obj1 == null || obj2 == null || !(obj1 instanceof ProblemMarker) || !(obj2 instanceof ProblemMarker)) {
			return 0;
		}
		int severity1 = ((ProblemMarker)obj1).getSeverity();
		int severity2 = ((ProblemMarker)obj2).getSeverity();
		return severity1 - severity2;
	}
}