Class LibraryUiSharedImages


  • public class LibraryUiSharedImages
    extends Object
    Shared images of the Library UI plugin.
    • Method Detail

      • initializeImageRegistry

        public static void initializeImageRegistry​(org.eclipse.jface.resource.ImageRegistry imageRegistry)
        Initializes the specified image registry.
        Parameters:
        imageRegistry - the image registry to initialize, cannot be null
      • getImage

        public static org.eclipse.swt.graphics.Image getImage​(String id)
        Gets an image by its id.
        Parameters:
        id - the image identifier, cannot be null
        Returns:
        the image or null, if not found
      • getImageDescriptor

        public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor​(String id)
        Gets an image descriptor by its id.
        Parameters:
        id - the image identifier, cannot be null
        Returns:
        the image descriptor or null if not found