| java.lang.Object net.refractions.udig.project.ui.internal.Images
Images | public class Images (Code) | | Utility class managing ImageDescriptors for the plugin.
|
Method Summary | |
public void | cleanUp() Clean up Images during plugin shutdown. | synchronized ImageDescriptor | create(String id) Creates an image descriptor for later use. | public static Image | get(String id) Returns the image associated with the given key, or null if none. | public static ImageDescriptor | getDescriptor(String id) Returns the image descriptor for ID, or null if not found. | public synchronized void | initializeImages(URL url, ImageRegistry shared) Initializes the table of images used in this plugin. |
cleanUp | public void cleanUp()(Code) | | Clean up Images during plugin shutdown.
|
create | synchronized ImageDescriptor create(String id)(Code) | | Creates an image descriptor for later use.
|
get | public static Image get(String id)(Code) | | Returns the image associated with the given key, or null if none.
Parameters: id - the key the image, or null if none |
getDescriptor | public static ImageDescriptor getDescriptor(String id)(Code) | | Returns the image descriptor for ID, or null if not found.
Images are from CatalogUIPlugin.getDefault().getImages()
Parameters: id - ImageDescriptor, or null if there is no such image. |
initializeImages | public synchronized void initializeImages(URL url, ImageRegistry shared)(Code) | | Initializes the table of images used in this plugin.
The Images from ISharedImages will be registered with
CatalogUIPlugin.getDefault().getImageRegistry().
Parameters: url - Parameters: shared - |
|
|