<!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, 2006 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