|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAnnotationImageProvider
Provides an image for a given annotation.
Method Summary | |
---|---|
ImageDescriptor |
getImageDescriptor(java.lang.String imageDescritporId)
Returns the image descriptor for the given symbolic name. |
java.lang.String |
getImageDescriptorId(Annotation annotation)
Returns the image descriptor id of the image for the given annotation. |
Image |
getManagedImage(Annotation annotation)
Returns the image for the given annotation or null . |
Method Detail |
---|
Image getManagedImage(Annotation annotation)
null
. The
returned image is managed by this annotation image provided. If the
annotation image provider does not support managed images, clients have
to manage the annotation images. For that, clients first ask for the
image descriptor id for a given annotation (getImageDescriptorId(Annotation)
)
as then for the image descriptor. The image descriptor id should be used
to manage the annotation images using an ImageRegistry
.
annotation
- the annotation
java.lang.String getImageDescriptorId(Annotation annotation)
annotation
- the annotation
ImageDescriptor getImageDescriptor(java.lang.String imageDescritporId)
imageDescritporId
- the image descriptor id
|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.