<!ELEMENT extension (browser*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ATTLIST browser
id CDATA #REQUIRED
factoryclass CDATA #IMPLIED
name CDATA #REQUIRED
os CDATA #IMPLIED
executable CDATA #IMPLIED>
<!ELEMENT location (#PCDATA)>
預設安裝位置。這些位置不應包含起始路徑,因為它會被所有已知的磁碟機替代。 (例如,在 Windows 中,"test.exe" 的位置會針對所有已知磁碟機來尋找 "c:\test.exe"、"d:\test.exe" 等)。
<extension point=
"org.eclipse.help.base.browser"
>
<browser id=
"org.eclipse.myPlugin.myBrowserID"
factoryClass=
"org.eclipse.myPlugin.myPackage.MyFactoryClass"
name=
"My Browser"
>
</browser>
</extension>
Copyright (c) 2000, 2005 IBM Corporation and others.
All rights reserved. 這個程式和檢附的資料是遵循這項發行檢附的 Eclipse Public License 1.0 版條款而提供的,請造訪下列網址,取得這份條款:http://www.eclipse.org/legal/epl-v10.html