<!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
中所定義之類型的 ID。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 1.0 版條款而提供的,請造訪下列網址,取得這份條款:http://www.eclipse.org/legal/cpl-v10.html