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