<!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>
org.eclipse.core.resources.IMarker
中定义的类型的标识。IMarkerImageProvider
。
<extension point=
"org.eclipse.ui.ide.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>
Copyright (c) 2002, 2004 IBM Corporation and others.
All rights reserved. 本程序及所附带提供的资料依据 Common Public License v1.0 的条款方可使用,本发行中提供了该许可条款,并且在以下位置也可获得该条款:http://www.eclipse.org/legal/cpl-v10.html。