|
Eclipse JDT 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Standard images provided by the Java UI plug-in. This class offers access to the standard images in two forms:
ISharedImages.getImage(IMG_OBJS_FOO )
to access the shared standard Image
object (caller must not
dispose of image).ISharedImages.getImageDescriptor(IMG_OBJS_FOO )
to access the standard ImageDescriptor
object (caller is
responsible for disposing of any Image
objects it creates using
this descriptor).This interface is not intended to be implemented by clients.
Field Summary | |
static String |
IMG_OBJS_CFILE
Key to access the shared image or image descriptor for a Java class file. |
static String |
IMG_OBJS_CLASS
Key to access the shared image or image descriptor for a class. |
static String |
IMG_OBJS_CUNIT
Key to access the shared image or image descriptor for a Java compilation unit. |
static String |
IMG_OBJS_DEFAULT
Key to access the shared image or image descriptor for class members with default visibility. |
static String |
IMG_OBJS_EXTERNAL_ARCHIVE
Key to access the shared image or image decriptor for external archives. |
static String |
IMG_OBJS_EXTERNAL_ARCHIVE_WITH_SOURCE
Key to access the shared image or image descriptor for external archives with source. |
static String |
IMG_OBJS_IMPCONT
Key to access the shared image or image descriptor for an import container. |
static String |
IMG_OBJS_IMPDECL
Key to access the shared image or image descriptor for an import statement. |
static String |
IMG_OBJS_INTERFACE
Key to access the shared image or image descriptor for an interface. |
static String |
IMG_OBJS_JAR
Key to access the shared image or image descriptor for a JAR. |
static String |
IMG_OBJS_PACKAGE
Key to access the shared image or image descriptor for a package. |
static String |
IMG_OBJS_PACKDECL
Key to access the shared image or image descriptor for a package declaration. |
static String |
IMG_OBJS_PRIVATE
Key to access the shared image or image descriptor for a private member. |
static String |
IMG_OBJS_PROTECTED
Key to access the shared image or image descriptor for a protected member. |
static String |
IMG_OBJS_PUBLIC
Key to access the shared image or image descriptor for a public member. |
Method Summary | |
Image |
getImage(String key)
Returns the shared image managed under the given key. |
ImageDescriptor |
getImageDescriptor(String key)
Returns the image descriptor managed under the given key. |
Field Detail |
public static final String IMG_OBJS_CUNIT
public static final String IMG_OBJS_CFILE
public static final String IMG_OBJS_JAR
public static final String IMG_OBJS_PACKAGE
public static final String IMG_OBJS_CLASS
public static final String IMG_OBJS_INTERFACE
public static final String IMG_OBJS_PACKDECL
public static final String IMG_OBJS_IMPCONT
public static final String IMG_OBJS_IMPDECL
public static final String IMG_OBJS_PUBLIC
public static final String IMG_OBJS_PROTECTED
public static final String IMG_OBJS_PRIVATE
public static final String IMG_OBJS_DEFAULT
public static final String IMG_OBJS_EXTERNAL_ARCHIVE
public static final String IMG_OBJS_EXTERNAL_ARCHIVE_WITH_SOURCE
Method Detail |
public Image getImage(String key)
Note that clients must not dispose the image returned by this method.
key
- the image key; one of the IMG_OBJS_*
constantsnull
if nonepublic ImageDescriptor getImageDescriptor(String key)
key
- the image key; one of the IMG_OBJS_*
constantsnull
if none
|
Eclipse JDT 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |