Bug 32038 Use shared images for properties, tasks, bookmarks views
bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/tasklist/MarkerUtil.java
case IMarker.SEVERITY_ERROR:
				return TaskListMessages.getString("TaskList.error"); 
			case IMarker.SEVERITY_WARNING:
				return TaskListMessages.getString("TaskList.warning"); 
			case IMarker.SEVERITY_INFO:
				return TaskListMessages.getString("TaskList.info"); 
		}
		return ""; 
	}
	/**
	 * Returns the container name if it is defined, or empty string if not.
	 */
	public static String getContainerName(IMarker marker) {
		IPath path = marker.getResource().getFullPath();
		int n = path.segmentCount() - 1; 
		if (n <= 0)
			return ""; 
		int len = 0;
		for (int i = 0; i < n; ++i)
			len += path.segment(i).length();
		
		if (n > 1)
			len += n-1;
		StringBuffer sb = new StringBuffer(len);
		for (int i = 0; i < n; ++i) {
			if (i != 0)
				sb.append('/');
			sb.append(path.segment(i));
		}
		return sb.toString();