|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectza.co.bluesphere.sens.internal.ui.Images
public class Images
The image descrptors for the plugin.
Once again this is fairly serious resource voodoo. This time in we are letting the plug-in lifecycle methods dictate when we should clean up any images used by our user interface buttons and so on.
This class is used by Policy.initAction to get its job done.
| Constructor Summary | |
|---|---|
Images()
|
|
| Method Summary | |
|---|---|
static org.eclipse.swt.graphics.Image |
get(java.lang.String id)
Returns the image associated with the given key, or null if none. |
static org.eclipse.jface.resource.ImageDescriptor |
getDescriptor(java.lang.String id)
Returns the image descriptor for ID, or null if not found. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Images()
| Method Detail |
|---|
public static org.eclipse.jface.resource.ImageDescriptor getDescriptor(java.lang.String id)
Images are from RegistryUIPlugin.getDefault().getImages()
id -
public static org.eclipse.swt.graphics.Image get(java.lang.String id)
null if none.
id -
null if none
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||