public static ImageDescriptor getImageDescriptor(String id) {
        ImageDescriptor retVal = getDefault().getImageRegistry().getDescriptor(id);
        if (retVal == null) {
            retVal = loadImageDescriptor(id);
            getDefault().getImageRegistry().put(id, retVal);
        }
        return retVal;
    }
public static ImageDescriptor getImageDescriptor(String id) {
        ImageDescriptor retVal = getDefault().getImageRegistry().getDescriptor(id);
        if (retVal == null) {
            retVal = loadImageDescriptor(id);
            getDefault().getImageRegistry().put(id, retVal);
        }
        return retVal;
    }
public static ImageDescriptor getImageDescriptor ( String id ) { ImageDescriptor retVal = getDefault ( ) . getImageRegistry ( ) . getDescriptor ( id ) ; if ( retVal == null ) { retVal = loadImageDescriptor ( id ) ; getDefault ( ) . getImageRegistry ( ) . put ( id , retVal ) ; } return retVal ; }
Returns an image descriptor for the image file at the given
plug-in relative path

@param path the path
@return the image descriptor
Returns an image descriptor for the image file at the given plug - in relative path