public class TeamImages extends Object
This class provides ImageDescriptor
s for each named image in
ISharedImages
. All Image
objects created from the
provided descriptors are managed the caller and must be disposed appropriately.
This class is not intended to be subclassed or instantiated by clients
Constructor and Description |
---|
TeamImages() |
Modifier and Type | Method and Description |
---|---|
static ImageDescriptor |
getImageDescriptor(String id)
Returns the image descriptor for the given image ID.
|
static ImageDescriptor |
getImageDescriptorFromExtension(IExtension extension,
String subdirectoryAndFilename)
Convenience method to get an image descriptor for an extension.
|
public static ImageDescriptor getImageDescriptor(String id)
null
if there is no such image.id
- the identifier for the image to retrievepublic static ImageDescriptor getImageDescriptorFromExtension(IExtension extension, String subdirectoryAndFilename)
extension
- the extension declaring the imagesubdirectoryAndFilename
- the path to the image
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.