blob: 50fed05611450d352e4c56004b93fe8b1e8dd988 [file] [log] [blame]
<!doctype html public "-//w3c//dtd html 4.0//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Eclipse Workbench Extension Point: Marker Image Providers</title>
</head>
<body link="#0000FF" vlink="#800080">
<center>
<h1>
Marker Image Providers</h1></center>
<b><i>Identifier: </i></b>org.eclipse.ui.markerImageProviders<p><b><i>Description: </i></b>
This is an internal extension point used to associate images with markers,
where the image for a marker is made accessible via <code>IWorkbenchAdapter</code>.
<br>It is currently used internally to provide images for problem markers.
<p>To obtain the image for a marker, use:<pre><code>
IMarker marker = ...;
IWorkbenchAdapter adapter =
(IWorkbenchAdapter) marker.getAdapter(IWorkbenchAdapter.class);
if (adapter != null) {
ImageDescriptor image =
adapter.getImageDescriptor(marker);
if (image != null) {
...
}
}
</code></pre>
<p><b>This extension point is not API. Other plug-ins should not use this extension point.</b>
<p><a href="hglegal2002.htm"><img SRC="ngibmcpy2002.gif" ALT="Copyright IBM Corporation and others 2000, 2002." BORDER=0></a>
</body>
</html>