public interface ImageRegistryService
ImageRegistryService
allows to retrieve Images based on a Bundle and a path within or an URL. The images
are loaded only once.Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.graphics.Image |
getImage(org.osgi.framework.Bundle bundle,
String path)
Retrieve an
Image based on a Bundle and a path within. |
org.eclipse.swt.graphics.Image |
getImage(URL url)
Retrieve an
Image based on an URL . |
org.eclipse.swt.graphics.Image getImage(org.osgi.framework.Bundle bundle, String path)
Image
based on a Bundle and a path within.bundle
- the Bundle to get the image frompath
- the path to the image within the bundleImage
Copyright © 2019. All rights reserved.