Bug 32038 Use shared images for properties, tasks, bookmarks views
bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/tasklist/MarkerUtil.java
if (digit < 0) {
				return result;
			}
			result = result * 10 + digit;
		}
		if (negative) {
			result = -result;
		}
		return result;
	}
	/**
	 * Returns the priority of the given marker.  Default is PRIORITY_NORMAL.
	 */
	public static int getPriority(IMarker marker) {
		return marker.getAttribute(IMarker.PRIORITY, IMarker.PRIORITY_NORMAL);
	}
	/**
	 * Returns an image that should visually represent marker's priority
	 * in the tasklist.
	 */
	public static Image getPriorityImage(IMarker marker) {
		switch (getPriority(marker)) {
			case IMarker.PRIORITY_HIGH:
				return getImage("hprio");
			case IMarker.PRIORITY_NORMAL:
				return null;  
			case IMarker.PRIORITY_LOW:
				return getImage("lprio");
		}
		return null;