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/internal/ide/ProblemImageProvider.java
*
     * @see org.eclipse.jface.resource.FileImageDescriptor
     */
    public String getImagePath(IMarker marker) {
        String iconPath = "icons/full/";		
        if (isMarkerType(marker, IMarker.PROBLEM)) {
            switch (marker.getAttribute(IMarker.SEVERITY,
                    IMarker.SEVERITY_WARNING)) {
            case IMarker.SEVERITY_ERROR:
                return iconPath + "obj16/error_tsk.gif";
            case IMarker.SEVERITY_WARNING:
                return iconPath + "obj16/warn_tsk.gif";
            case IMarker.SEVERITY_INFO:
                return iconPath + "obj16/info_tsk.gif";
            }
        }
        return null;
    }
    /**
     * Returns whether the given marker is of the given type (either directly or indirectly).
     */
    private boolean isMarkerType(IMarker marker, String type) {
        try {
            return marker.isSubtypeOf(type);
        } catch (CoreException e) {
            return false;
        }
    }
}