|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openoffice.ide.eclipse.core.i18n.ImageManager
public class ImageManager
The image manager is an object returning an image or an image descriptor
from a key. The keys are described in the ImagesConstants class and the
associated properties file is ImageManager.properties
.
Constructor Summary | |
---|---|
ImageManager()
Default constructor. |
Method Summary | |
---|---|
org.eclipse.swt.graphics.Image |
getImage(java.lang.String pKey)
Method which returns the image corresponding to the provided key. |
org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(java.lang.String pKey)
Method which returns the image descriptor corresponding to the provided key. |
org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptorFromPath(java.lang.String pPath)
Finds the image descriptor from the bundle relative path of the image. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageManager()
Method Detail |
---|
public org.eclipse.swt.graphics.Image getImage(java.lang.String pKey)
pKey
- Key corresponding to the image to find
null
if the key
doesn't exists or the bundle is nullpublic org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String pKey)
pKey
- Key corresponding to the image to find
null
if the key doesn't exists or the bundle is nullpublic org.eclipse.jface.resource.ImageDescriptor getImageDescriptorFromPath(java.lang.String pPath)
pPath
- the image path
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |