|
EGF Engine Release 0.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.egf.common.ui.resource.BasicImageRegistry
public class BasicImageRegistry
This class is a registry of (ImageDescriptor, Image).
Using this registry avoid to allocate multiple images for the same image descriptor.
| Constructor Summary | |
|---|---|
BasicImageRegistry(Display display_p)
Constructor. |
|
| Method Summary | |
|---|---|
Image |
getImage(ImageDescriptor imageDescriptor_p)
Get an image for its given descriptor. |
static BasicImageRegistry |
getInstance()
Get the singleton instance of this registry. |
protected void |
handleDisplayDisposedEvent()
Handle display disposed event to dispose all images contained in the registry. |
protected void |
hookDisplayDispose(Display display)
Hook the display disposed event to be called back when this event is raised. |
Image |
remove(ImageDescriptor imageDescriptor_p)
Remove given image descriptor from the registry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicImageRegistry(Display display_p)
getInstance() that returns a different instance (singleton).
display_p - | Method Detail |
|---|
public static BasicImageRegistry getInstance()
public Image getImage(ImageDescriptor imageDescriptor_p)
imageDescriptor_p -
public Image remove(ImageDescriptor imageDescriptor_p)
imageDescriptor_p -
protected void hookDisplayDispose(Display display)
display - protected void handleDisplayDisposedEvent()
|
EGF Engine Release 0.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) Thales Corporate Services S.A.S, 2009.
This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.