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.ui.texteditor
Interface IAnnotationImageProvider


public interface IAnnotationImageProvider

Provides an image for a given annotation.

Since:
3.0

Method Summary
  ImageDescriptor getImageDescriptor ( String imageDescritporId)
          Returns the image descriptor for the given symbolic name.
  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

getManagedImage

Image getManagedImage(
Annotation annotation)
Returns the image for the given annotation or 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.

Parameters:
annotation - the annotation
Returns:
the managed image

getImageDescriptorId

String getImageDescriptorId(
Annotation annotation)
Returns the image descriptor id of the image for the given annotation.

Parameters:
annotation - the annotation
Returns:
the image descriptor id

getImageDescriptor

ImageDescriptor getImageDescriptor(
String imageDescritporId)
Returns the image descriptor for the given symbolic name.

Parameters:
imageDescritporId - the image descriptor id
Returns:
the image descriptor

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