Change to openFileInTextEditor to fix ticket issue #650.
[phpeclipse.git] / net.sourceforge.phpeclipse.webbrowser / plugin.xml
index d09433b..ae304fb 100644 (file)
 <?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-
-<plugin id="net.sourceforge.phpeclipse.webbrowser"
-  name="%pluginName"
-  version="3.0.0"
-  provider-name="%providerName"
-  class="org.eclipse.webbrowser.internal.WebBrowserUIPlugin">
-
-  <requires>
-    <import plugin="org.eclipse.core.resources" version="3.0.0" match="equivalent"/>
-    <import plugin="org.eclipse.core.runtime" version="3.0.0" match="equivalent"/>
-    <import plugin="org.eclipse.ui" version="3.0.0" match="equivalent"/>
-    <import plugin="org.eclipse.ui.ide" version="3.0.0" match="equivalent"/>
-    <import plugin="org.eclipse.ui.editors" version="3.0.0" match="equivalent"/>
-  </requires>
-
-  <runtime>
-    <library name="webbrowser.jar">
-      <export name="*"/>
-      <packages prefixes="org.eclipse.webbrowser"/>
-    </library>
-  </runtime>
-
+<?eclipse version="3.2"?>
+<plugin>
   <extension-point id="urlMap" name="%extensionPointURLMap" schema="schema/urlMap.exsd"/>
   <extension-point id="favorites" name="%extensionPointFavorites" schema="schema/favorites.exsd"/>
 
   <extension point="org.eclipse.ui.actionSets">
     <actionSet
-      id="org.eclipse.webbrowser.actionSet"
+      id="net.sourceforge.phpeclipse.webbrowser.actionSet"
       label="%actionSetWebBrowserTitle"
       visible="false">
       <action
-        id="org.eclipse.webbrowser.action.open"
+        id="net.sourceforge.phpeclipse.webbrowser.action.open"
         toolbarPath="browser"
         label="%actionSetOpenWebBrowser"
         tooltip="%actionSetOpenWebBrowser"
         icon="icons/obj16/internal_browser.gif"
-        class="org.eclipse.webbrowser.OpenBrowserWorkbenchAction"/>
+        class="net.sourceforge.phpeclipse.webbrowser.OpenBrowserWorkbenchAction"/>
       <action
-        id="org.eclipse.webbrowser.action.switch"
+        id="net.sourceforge.phpeclipse.webbrowser.action.switch"
         menubarPath="window/browser"
         label="%actionSetSwitchBrowser"
         tooltip="%actionSetSwitchBrowser"
         style="pulldown"
-        class="org.eclipse.webbrowser.internal.SwitchBrowserWorkbenchAction"/>
+        class="net.sourceforge.phpeclipse.webbrowser.internal.SwitchBrowserWorkbenchAction"/>
     </actionSet>
   </extension>
 
   <extension point="org.eclipse.ui.preferencePages">
     <page
-      id="org.eclipse.internet"
-      name="%preferenceInternetTitle"
-      class="org.eclipse.webbrowser.internal.InternetPreferencePage"/>
-    <page
-      id="org.eclipse.webbrowser.preferencePage"
+      id="net.sourceforge.phpeclipse.webbrowser.preferencePage"
       name="%preferenceWebBrowserTitle"
-      category="org.eclipse.internet"
-      class="org.eclipse.webbrowser.internal.WebBrowserPreferencePage"/>
+      category="net.sourceforge.phpeclipse.ui.preferencePage"
+      class="net.sourceforge.phpeclipse.webbrowser.internal.WebBrowserPreferencePage"/>
   </extension>
 
   <extension point="net.sourceforge.phpeclipse.webbrowser.urlMap">
     <urlMap
-      id="org.eclipse.webbrowser.standard.urlMap"
-      class="org.eclipse.webbrowser.internal.StandardURLMap"/>
+      id="net.sourceforge.phpeclipse.webbrowser.standard.urlMap"
+      class="net.sourceforge.phpeclipse.webbrowser.internal.StandardURLMap"/>
   </extension>
 
   <extension point="net.sourceforge.phpeclipse.webbrowser.favorites">
     <favorite
-      id="org.eclipse.webbrowser.favorite.eclipse"
+      id="net.sourceforge.phpeclipse.webbrowser.favorite.eclipse"
       name="PHPEclipse"
       url="http://www.phpeclipse.de"
       locked="false"/>
     <favorite
-      id="org.eclipse.webbrowser.favorite.eclipse"
+      id="net.sourceforge.phpeclipse.webbrowser.favorite.eclipse"
+      name="Plog4U.org"
+      url="http://www.plog4u.org"
+      locked="false"/>
+    <favorite
+      id="net.sourceforge.phpeclipse.webbrowser.favorite.eclipse"
+      name="Plog4U.de"
+      url="http://www.plog4u.de"
+      locked="false"/>
+    <favorite
+      id="net.sourceforge.phpeclipse.webbrowser.favorite.eclipse"
       name="Eclipse"
       url="http://www.eclipse.org"
       locked="false"/>
+    <favorite
+      id="net.sourceforge.phpeclipse.webbrowser.favorite.eclipse"
+      name="EclipseProject.de"
+      url="http://www.eclipseproject.de"
+      locked="false"/>
+    <favorite
+      id="net.sourceforge.phpeclipse.webbrowser.favorite.eclipse"
+      name="JSurfer.org"
+      url="http://www.jsurfer.org"
+      locked="false"/>
   </extension>
-  
+
   <extension point="org.eclipse.ui.editors">
-    <editor id="org.eclipse.webbrowser"
+    <editor id="net.sourceforge.phpeclipse.webbrowser"
       name="%viewWebBrowserTitle"
       icon="icons/obj16/internal_browser.gif"
-      class="org.eclipse.webbrowser.internal.WebBrowserEditor"
+      class="net.sourceforge.phpeclipse.webbrowser.internal.WebBrowserEditor"
       extensions="gif,jpg,jpeg,xhtml"
-      contributorClass="org.eclipse.webbrowser.internal.WebBrowserEditorActionBarContributor"/>
+      contributorClass="net.sourceforge.phpeclipse.webbrowser.internal.WebBrowserEditorActionBarContributor"/>
   </extension>
-       
+
   <extension point="org.eclipse.ui.elementFactories">
-    <factory id="org.eclipse.webbrowser.elementFactory"
-       class="org.eclipse.webbrowser.WebBrowserEditorInput"/>
+    <factory id="net.sourceforge.phpeclipse.webbrowser.elementFactory"
+       class="net.sourceforge.phpeclipse.webbrowser.WebBrowserEditorInput"/>
   </extension>
-
+  <extension
+         point="org.eclipse.ui.views">
+      <category
+            name="%viewCategoryName"
+            id="net.sourceforge.phpeclipse.views.category">
+      </category>
+      <view
+            name="%phpBrowserView"
+            icon="icons/obj16/internal_browser.gif"
+            category="net.sourceforge.phpeclipse.views.category"
+            class="net.sourceforge.phpeclipse.webbrowser.views.BrowserView"
+            id="net.sourceforge.phpeclipse.webbrowser.views">
+      </view>
+   </extension>
 </plugin>
\ No newline at end of file