|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.edu.agh.cast.data.ui.utils.Images
public class Images
Wrapper for the ImageRegistry
, which maintains a mapping between image names and image objects used
within the import wizard.
Field Summary | |
---|---|
static String |
CLEAR
Import clear icon file name. |
static String |
ERROR
Import error icon file name. |
static String |
WARNING
Import warning icon file name. |
Constructor Summary | |
---|---|
Images()
The default constructor. |
Method Summary | |
---|---|
org.eclipse.swt.graphics.Image |
get(String descriptorId)
Delegate to the ImageRegistry.get(String) method. |
org.eclipse.jface.resource.ImageDescriptor |
getDescriptor(String descriptorId)
Delegate to the ImageRegistry.getDescriptor(String) method. |
static Images |
getInstance()
Retrieves the only instance of the Images class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CLEAR
public static final String WARNING
public static final String ERROR
Constructor Detail |
---|
public Images()
Method Detail |
---|
public static Images getInstance()
Images
class.
public org.eclipse.jface.resource.ImageDescriptor getDescriptor(String descriptorId)
ImageRegistry.getDescriptor(String)
method. Returns the descriptor associated with
the given descriptor id in this registry, or null if none.
descriptorId
- the descriptor id
public org.eclipse.swt.graphics.Image get(String descriptorId)
ImageRegistry.get(String)
method. Returns the image associated with the given
descriptor id in this registry, or null if none.
descriptorId
- the descriptor id
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |