classpathhelper.eclipse.ui
Class UIPlugin.SharedImages

java.lang.Object
  extended byclasspathhelper.eclipse.ui.UIPlugin.SharedImages
All Implemented Interfaces:
ISharedImages
Enclosing class:
UIPlugin

public static class UIPlugin.SharedImages
extends java.lang.Object
implements ISharedImages


Field Summary
 
Fields inherited from interface classpathhelper.eclipse.ui.ISharedImages
BLOCKED_ICON, BLOCKED16X16_ICON, BLOCKEDDIFF_ICON, BLOCKEDDIFF16X16_ICON, DEPENDSON_ICON, IGNORED_ICON, REFEDBY16x16_ICON, UNREFERENCED_ICON, UNRES16X16_ICON, UNRESOLVED_ICON, WONTLOAD_ICON
 
Constructor Summary
UIPlugin.SharedImages(ImageRegistry theImageRegistry)
           
 
Method Summary
 Image getImage(java.lang.String symbolicName)
          Retrieves the specified image from the class path helpers plugin's image registry.
 ImageDescriptor getImageDescriptor(java.lang.String symbolicName)
          Retrieves the image descriptor for specified image from ui plugin's image registry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIPlugin.SharedImages

public UIPlugin.SharedImages(ImageRegistry theImageRegistry)
Method Detail

getImage

public Image getImage(java.lang.String symbolicName)
Description copied from interface: ISharedImages
Retrieves the specified image from the class path helpers plugin's image registry. Note: The returned Image is managed by the plugin; clients must not dispose of the returned image.

Specified by:
getImage in interface ISharedImages
Parameters:
symbolicName - the symbolic name of the image; there are constants declared in this interface for build-in images that come with the ui plugin
Returns:
the image, or null if not found

getImageDescriptor

public ImageDescriptor getImageDescriptor(java.lang.String symbolicName)
Description copied from interface: ISharedImages
Retrieves the image descriptor for specified image from ui plugin's image registry. Unlike Images, image descriptors themselves do not need to be disposed.

Specified by:
getImageDescriptor in interface ISharedImages
Parameters:
symbolicName - the symbolic name of the image; there are constants declared in this interface for build-in images that come with the ui plugin
Returns:
the image descriptor, or null if not found