|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ecp.view.internal.util.swt.RCPImageRegistryService
public class RCPImageRegistryService
An ImageRegistryService
which expects exactly one UI Thread.
Constructor Summary | |
---|---|
RCPImageRegistryService()
The default constructor. |
Method Summary | |
---|---|
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 . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RCPImageRegistryService()
Method Detail |
---|
public org.eclipse.swt.graphics.Image getImage(org.osgi.framework.Bundle bundle, String path)
ImageRegistryService
Image
based on a Bundle and a path within.
getImage
in interface ImageRegistryService
bundle
- the Bundle to get the image frompath
- the path to the image within the bundle
Image
public org.eclipse.swt.graphics.Image getImage(URL url)
ImageRegistryService
Image
based on an URL
.
getImage
in interface ImageRegistryService
url
- the URL
to load the image from
Image
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |