標示元影像提供者

識別碼: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 IBM Corporation and others. All rights reserved. 這個程式和伴隨的素材可以根據伴隨這個分送,而且可在 http://www.eclipse.org/legal/cpl-v10.html 中取得的 Common Public License v1.0 的條款來使用