|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.sqltools.common.ui.util.ImageDescriptorRegistry
public class ImageDescriptorRegistry
A registry that maps ImageDescriptors to Image.
| Constructor Summary | |
|---|---|
ImageDescriptorRegistry()
Creates a new image descriptor registry for the current or default display, respectively. |
|
ImageDescriptorRegistry(org.eclipse.swt.widgets.Display display)
Creates a new image descriptor registry for the given display. |
|
| Method Summary | |
|---|---|
void |
dispose()
Disposes all images managed by this registry. |
org.eclipse.swt.graphics.Image |
get(org.eclipse.jface.resource.ImageDescriptor descriptor)
Returns the image associated with the given image descriptor. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImageDescriptorRegistry()
public ImageDescriptorRegistry(org.eclipse.swt.widgets.Display display)
display - the display the images managed by this registry are allocated for| Method Detail |
|---|
public org.eclipse.swt.graphics.Image get(org.eclipse.jface.resource.ImageDescriptor descriptor)
descriptor - the image descriptor for which the registry manages an image
null
if the image descriptor can't create the requested image.public void dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||