Integrate webbrowser version from the webtools project
[phpeclipse.git] / net.sourceforge.phpeclipse.webbrowser / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.0"?>
3
4 <plugin id="net.sourceforge.phpeclipse.webbrowser"
5   name="%pluginName"
6   version="3.0.0"
7   provider-name="%providerName"
8   class="org.eclipse.webbrowser.internal.WebBrowserUIPlugin">
9
10   <requires>
11     <import plugin="org.eclipse.core.resources" version="3.0.0" match="equivalent"/>
12     <import plugin="org.eclipse.core.runtime" version="3.0.0" match="equivalent"/>
13     <import plugin="org.eclipse.ui" version="3.0.0" match="equivalent"/>
14     <import plugin="org.eclipse.ui.ide" version="3.0.0" match="equivalent"/>
15     <import plugin="org.eclipse.ui.editors" version="3.0.0" match="equivalent"/>
16   </requires>
17
18   <runtime>
19     <library name="webbrowser.jar">
20       <export name="*"/>
21       <packages prefixes="org.eclipse.webbrowser"/>
22     </library>
23   </runtime>
24
25   <extension-point id="urlMap" name="%extensionPointURLMap" schema="schema/urlMap.exsd"/>
26   <extension-point id="favorites" name="%extensionPointFavorites" schema="schema/favorites.exsd"/>
27
28   <extension point="org.eclipse.ui.actionSets">
29     <actionSet
30       id="org.eclipse.webbrowser.actionSet"
31       label="%actionSetWebBrowserTitle"
32       visible="false">
33       <action
34         id="org.eclipse.webbrowser.action.open"
35         toolbarPath="browser"
36         label="%actionSetOpenWebBrowser"
37         tooltip="%actionSetOpenWebBrowser"
38         icon="icons/obj16/internal_browser.gif"
39         class="org.eclipse.webbrowser.OpenBrowserWorkbenchAction"/>
40       <action
41         id="org.eclipse.webbrowser.action.switch"
42         menubarPath="window/browser"
43         label="%actionSetSwitchBrowser"
44         tooltip="%actionSetSwitchBrowser"
45         style="pulldown"
46         class="org.eclipse.webbrowser.internal.SwitchBrowserWorkbenchAction"/>
47     </actionSet>
48   </extension>
49
50   <extension point="org.eclipse.ui.preferencePages">
51     <page
52       id="org.eclipse.internet"
53       name="%preferenceInternetTitle"
54       class="org.eclipse.webbrowser.internal.InternetPreferencePage"/>
55     <page
56       id="org.eclipse.webbrowser.preferencePage"
57       name="%preferenceWebBrowserTitle"
58       category="org.eclipse.internet"
59       class="org.eclipse.webbrowser.internal.WebBrowserPreferencePage"/>
60   </extension>
61
62   <extension point="net.sourceforge.phpeclipse.webbrowser.urlMap">
63     <urlMap
64       id="org.eclipse.webbrowser.standard.urlMap"
65       class="org.eclipse.webbrowser.internal.StandardURLMap"/>
66   </extension>
67
68   <extension point="net.sourceforge.phpeclipse.webbrowser.favorites">
69     <favorite
70       id="org.eclipse.webbrowser.favorite.eclipse"
71       name="PHPEclipse"
72       url="http://www.phpeclipse.de"
73       locked="false"/>
74     <favorite
75       id="org.eclipse.webbrowser.favorite.eclipse"
76       name="Eclipse"
77       url="http://www.eclipse.org"
78       locked="false"/>
79   </extension>
80   
81   <extension point="org.eclipse.ui.editors">
82     <editor id="org.eclipse.webbrowser"
83       name="%viewWebBrowserTitle"
84       icon="icons/obj16/internal_browser.gif"
85       class="org.eclipse.webbrowser.internal.WebBrowserEditor"
86       extensions="gif,jpg,jpeg,xhtml"
87       contributorClass="org.eclipse.webbrowser.internal.WebBrowserEditorActionBarContributor"/>
88   </extension>
89         
90   <extension point="org.eclipse.ui.elementFactories">
91     <factory id="org.eclipse.webbrowser.elementFactory"
92        class="org.eclipse.webbrowser.WebBrowserEditorInput"/>
93   </extension>
94
95 </plugin>