Bug 87826 Need to improve image loading in Workbench
The Workbench image loading has several issues 1) The string "icons/full" is all over the place in the UI and should be made a constant 2) This needs to be prepended by /nl 3) The plugin descriptor is still in use to load images. This does not support nl which is required for BIDI support
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/tasklist/MarkerUtil.java
*/
    public static String getKindText(IMarker marker) {
        if (isMarkerType(marker, IMarker.TASK)) {
            return TaskListMessages.TaskList_task; 
        }
        switch (getSeverity(marker)) {
        case IMarker.SEVERITY_ERROR:
            return TaskListMessages.TaskList_error; 
        case IMarker.SEVERITY_WARNING:
            return TaskListMessages.TaskList_warning; 
        case IMarker.SEVERITY_INFO:
            return TaskListMessages.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);