public class RAPImageRegistryService extends Object implements ImageRegistryService, org.eclipse.rap.rwt.service.UISessionListener
| Constructor and Description |
|---|
RAPImageRegistryService()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
beforeDestroy(org.eclipse.rap.rwt.service.UISessionEvent event) |
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 void beforeDestroy(org.eclipse.rap.rwt.service.UISessionEvent event)
beforeDestroy in interface org.eclipse.rap.rwt.service.UISessionListenerpublic 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.