标记图像提供程序

标识:org.eclipse.ui.markerImageProviders

起始发行版:2.1

描述:markerImageProvider 扩展点是用于在定义的插件中指定标记类型的图像的点。

配置标记:

   <!ELEMENT extension (imageprovider*)>

   <!ATTLIST extension
     point CDATA #REQUIRED
     id    CDATA #IMPLIED
     name  CDATA #IMPLIED
   >

   <!ELEMENT imageprovider EMPTY>

   <!ATTLIST imageprovider
     id         CDATA #REQUIRED
     markertype CDATA #REQUIRED
     icon       CDATA #IMPLIED
     class      CDATA #IMPLIED
   >

示例:以下是两种 markerImageProviders 形式的示例。第一种形式是图像不更改而被直接声明的形式。对于第二种形式,图像必须由 IMarkerImageProvider 的实例确定。

  <extension
         point="org.eclipse.ui.markerImageProviders">
      <imageprovider
        markertype="org.eclipse.core.resources.taskmarker"
            icon="taskicon.gif"
            id="myPlugin.declarativeMarkerProvider">
      </imageprovider>
      <imageprovider
            markertype="org.eclipse.core.resources.problemmarker"
            class="myPlugin.MyIMarkerImageProvider"
            id="myPlugin.implementedMarkerProvider">
      </imageprovider>
   </extension> 

API 信息:[在此处输入 API 信息。]

所提供的实现:[输入有关此扩展点的提供的实现的信息。]

Copyright (c) 2002, 2003 IBM Corporation and others.