Bug 108493 [Markers] Show tooltips for table columns in marker views
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/provisional/views/markers/MarkerCompletionField.java
/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.ui.internal.provisional.views.markers.MarkerField#getImage(org.eclipse.ui.internal.provisional.views.markers.MarkerItem)
	 */
	public Image getImage(MarkerItem item) {
		int done = -1;
		if (item.getAttributeValue(IMarker.USER_EDITABLE, true)) {
			done = 0;
			if (item.getAttributeValue(IMarker.DONE, false)) {
				done = 1;
			}
		}
		if (done == -1)
			return null;
		if (done == 1) {
			return getCompleteImage();
		}
		return MarkerSupportInternalUtilities.createImage(INCOMPLETE_IMAGE_PATH);
	}
	/**
	 * Return the image for task completion.
	 * @return Image
	 */
	private Image getCompleteImage() {
		return MarkerSupportInternalUtilities.createImage(COMPLETE_IMAGE_PATH);
	}
	
}