<!ELEMENT extension (browser)*>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED
><!ELEMENT browser (location)*>
<!ATTLIST browser
id CDATA #REQUIRED
factoryclass CDATA #IMPLIED
name CDATA #REQUIRED
os CDATA #IMPLIED
executable CDATA #IMPLIED
>An external web browser which will be displayed on the preference page General/Web Browsers providing the os attribute matches and a file is found in at least one of the specified locations.
<!ELEMENT location (#PCDATA)>
Default install locations. these locations should not contain the initial path, as it will be substituted with all known drives. (e.g. on Windows, a location of "test.exe" would look for "c:\test.exe", "d:\test.exe", etc. for all known drives.
<extension point="org.eclipse.ui.browser.browsers"> <browser id="org.eclipse.ui.browser.firefox" name=Firefox os="Win32" executable="firefox.exe" factoryclass="org.eclipse.ui.internal.browser.browsers.MozillaFactory"> <location>Program Files\mozilla.org\Firefox\firefox.exe</location> <location>Program Files\Mozilla Firefox\firefox.exe</location> </browser> </extension>
Copyright (c) 2000, 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