Interface ImageRegistryService

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.eclipse.swt.graphics.Image getImage​(java.net.URL url)
      Retrieve an Image based on an URL.
      org.eclipse.swt.graphics.Image getImage​(org.osgi.framework.Bundle bundle, java.lang.String path)
      Retrieve an Image based on a Bundle and a path within.
    • Method Detail

      • getImage

        org.eclipse.swt.graphics.Image getImage​(org.osgi.framework.Bundle bundle,
                                                java.lang.String path)
        Retrieve an Image based on a Bundle and a path within.
        Parameters:
        bundle - the Bundle to get the image from
        path - the path to the image within the bundle
        Returns:
        the loaded Image
      • getImage

        org.eclipse.swt.graphics.Image getImage​(java.net.URL url)
        Retrieve an Image based on an URL.
        Parameters:
        url - the URL to load the image from
        Returns:
        the loaded Image