Marker Image Providers

Identifier: org.eclipse.ui.markerImageProviders

Description: This is an internal extension point used to associate images with markers, where the image for a marker is made accessible via IWorkbenchAdapter.
It is currently used internally to provide images for problem markers.

To obtain the image for a marker, use:


    IMarker marker = ...;
    IWorkbenchAdapter adapter = 
        (IWorkbenchAdapter) marker.getAdapter(IWorkbenchAdapter.class);
    if (adapter != null) {
        ImageDescriptor image = 
            adapter.getImageDescriptor(marker);
        if (image != null) {
            ...
        }
    }

This extension point is not API. Other plug-ins should not use this extension point.

Copyright IBM Corporation and others 2000, 2002.