public class RCPImageRegistryService extends Object implements ImageRegistryService
ImageRegistryService which expects exactly one UI Thread.| Constructor and Description |
|---|
RCPImageRegistryService() |
| 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. |
public org.eclipse.swt.graphics.Image getImage(org.osgi.framework.Bundle bundle,
String path)
ImageRegistryServiceImage based on a Bundle and a path within.getImage in interface ImageRegistryServicebundle - the Bundle to get the image frompath - the path to the image within the bundleImagepublic org.eclipse.swt.graphics.Image getImage(URL url)
ImageRegistryServiceImage based on an URL.getImage in interface ImageRegistryServiceurl - the URL to load the image fromImageCopyright © 2018. All rights reserved.