Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.team.ui
Class TeamImages

java.lang.Object
  extended by 
org.eclipse.team.ui.TeamImages

public class TeamImages
extends Object

TeamImages provides convenience methods for accessing shared images provided by the org.eclipse.team.ui plug-in.

This class provides ImageDescriptors 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

Since:
2.0

Constructor Summary
TeamImages ()
           
 
Method Summary
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.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TeamImages

public TeamImages()
Method Detail

getImageDescriptor

public static 
ImageDescriptor getImageDescriptor(
String id)
Returns the image descriptor for the given image ID. Returns null if there is no such image.

Parameters:
id - the identifier for the image to retrieve
Returns:
the image descriptor associated with the given ID

getImageDescriptorFromExtension

public static 
ImageDescriptor getImageDescriptorFromExtension(
IExtension extension,
                                                              
String subdirectoryAndFilename)
Convenience method to get an image descriptor for an extension.

Parameters:
extension - the extension declaring the image
subdirectoryAndFilename - the path to the image
Returns:
the image descriptor for the extension

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire