public static ImageDescriptor getImageDescriptor(String path) {
        JBPMEclipsePlugin plugin = getDefault();
        ImageRegistry reg = plugin.getImageRegistry();
        ImageDescriptor des = reg.getDescriptor(path);
        if (des == null) {
            des = AbstractUIPlugin.imageDescriptorFromPlugin("org.jbpm.eclipse", path);
            reg.put(path, des);
        }
        return des;
    }
public static ImageDescriptor getImageDescriptor(String path) {
        JBPMEclipsePlugin plugin = getDefault();
        ImageRegistry reg = plugin.getImageRegistry();
        ImageDescriptor des = reg.getDescriptor(path);
        if (des == null) {
            des = AbstractUIPlugin.imageDescriptorFromPlugin("org.jbpm.eclipse", path);
            reg.put(path, des);
        }
        return des;
    }
public static ImageDescriptor getImageDescriptor ( String path ) { JBPMEclipsePlugin plugin = getDefault ( ) ; ImageRegistry reg = plugin . getImageRegistry ( ) ; ImageDescriptor des = reg . getDescriptor ( path ) ; if ( des == null ) { des = AbstractUIPlugin . imageDescriptorFromPlugin ( "org.jbpm.eclipse" , path ) ; reg . put ( path , des ) ; } return des ; }
Returns an image descriptor for the image file at the given
plug-in relative path.
Uses the plug ins image registry to "cache" it.

@param path the path
@return the image descriptor
Returns an image descriptor for the image file at the given plug - in relative path . Uses the plug ins image registry to cache it .