<!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, 2005 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made
available under the terms of the Eclipse Public License v1.0 which accompanies
this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html