Package org.eclipse.wst.xsl.ui.internal.util
public class XSLPluginImageHelper extends java.lang.ObjectHelper class to handle images provided by this plug-in. NOTE: For internal use only. For images used externally, please use the Shared***ImageHelper class instead.
Constructor Summary |
XSLPluginImageHelper() |
Method Summary | |
public Image | getImage(java.lang.String resource) Retrieves the image associated with resource from the image registry. If the image cannot be retrieved, attempt to find and load the image at the location specified in resource. |
public ImageDescriptor | getImageDescriptor(java.lang.String resource) Retrieves the image descriptor associated with resource from the image descriptor registry. If the image descriptor cannot be retrieved, attempt to find and load the image descriptor at the location specified in resource. |
public static org.eclipse.wst.xsl.ui.internal.util.XSLPluginImageHelper | getInstance() Gets the instance. |
Constructor Detail |
public XSLPluginImageHelper()
Methods Detail |
public Image getImage(java.lang.String resource)
Retrieves the image associated with resource from the image registry. If the image cannot be retrieved, attempt to find and load the image at the location specified in resource.
resource
- the image to retrieve
Image
- Image the image associated with resource or null if one could not be found
public ImageDescriptor getImageDescriptor(java.lang.String resource)
Retrieves the image descriptor associated with resource from the image descriptor registry. If the image descriptor cannot be retrieved, attempt to find and load the image descriptor at the location specified in resource.
resource
- the image descriptor to retrieve
ImageDescriptor
- ImageDescriptor the image descriptor assocated with resource or the default "missing" image descriptor if one could not be found
public org.eclipse.wst.xsl.ui.internal.util.XSLPluginImageHelper getInstance()
Gets the instance.
org.eclipse.wst.xsl.ui.internal.util.XSLPluginImageHelper
- Returns a XMLEditorPluginImageHelper