Bug 24212 [Tasks view] Support read-only tasks in Task list
JDT has now support for generating tasks from source, e.g. //TODO will add a task and show it in the task list. Such tasks can only be edited and changed in the source code. For this reason we would like to have support in the task list for such non-modifiable tasks. For example, we could add a marker attribute "read-only" and if this attribute is set then menu actions to delete or change the task will be disabled.
bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/tasklist/MarkerUtil.java
return getImage("lprio");
	}
	return null;
}
/**
 * Returns the text for the given marker's priority.
 */
public static String getPriorityText(IMarker marker) {
	switch (getPriority(marker)) {
		case IMarker.PRIORITY_HIGH:
			return TaskListMessages.getString("TaskList.high"); 
		case IMarker.PRIORITY_NORMAL:
			return "";  
		case IMarker.PRIORITY_LOW:
			return TaskListMessages.getString("TaskList.low"); 
	}
	return ""; 		
}
/**
 * Implements IProvider interface by supporting a number of
 * properties required for visual representation of markers
 * in the tasklist.
 */
static public Object getProperty(Object object, String key) {
	IMarker marker = (IMarker) object;