Small bug fixes for the debugger client.
[phpeclipse.git] / net.sourceforge.phpeclipse.debug.ui / plugin.xml
index 0b5548b..4e62e25 100644 (file)
@@ -3,7 +3,7 @@
 <plugin
    id="net.sourceforge.phpeclipse.debug.ui"
    name="%Plugin.name"
-   version="1.1.0"
+   version="1.1.5"
    provider-name="phpeclipse.de"
    class="net.sourceforge.phpdt.internal.debug.ui.PHPDebugUiPlugin">
 
@@ -22,6 +22,7 @@
       <import plugin="org.eclipse.ui"/>
       <import plugin="org.eclipse.debug.core"/>
       <import plugin="org.eclipse.debug.ui"/>
+      <import plugin="net.sourceforge.phpeclipse.webbrowser"/>
       <import plugin="net.sourceforge.phpeclipse.debug.core"/>
       <import plugin="net.sourceforge.phpeclipse.launching"/>
       <import plugin="net.sourceforge.phpeclipse"/>
@@ -33,7 +34,7 @@
          point="org.eclipse.ui.preferencePages">
       <page
             name="%PreferencePage.PHPInterpreter.name"
-            category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
+            category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
             class="net.sourceforge.phpdt.internal.debug.ui.preferences.PHPInterpreterPreferencePage"
             id="net.sourceforge.phpdt.debug.ui.preferences.PreferencePagePHPInterpreter">
       </page>
             id="net.sourceforge.phpdt.debug.ui.LaunchConfigurationTabGroupPHPApplication">
       </launchConfigurationTabGroup>
    </extension>
- <!--  <extension
+   <extension
          point="org.eclipse.debug.ui.launchShortcuts">
       <shortcut
             label="%LaunchShortcut.PHP.label"
             icon="icons/ctool16/run_php.gif"
-            modes="run"
-            class="net.sourceforge.phpdt.internal.debug.ui.launcher.PHPApplicationShortcut"
+            modes="run,debug"
+            class="net.sourceforge.phpdt.internal.debug.ui.launcher.PHPLaunchShortcut"
             id="net.sourceforge.phpdt.debug.ui.applicationshortcut.php">
       </shortcut>
-   </extension> -->
+   </extension> 
 <!-- Breakpoint Image -->
    <extension
          point="org.eclipse.ui.ide.markerImageProviders">
             id="net.sourceforge.phpeclipse.debug.core.PHPLineBreakpointMarkerProvider">
       </imageprovider>
    </extension>
-   <extension
+<!--   <extension
          point="org.eclipse.ui.actionSets">
-      <actionSet
-            label="%DebugActionSet.label"
-            id="net.sourceforge.phpeclipse.debug.ui.actionSet1">
+         <actionSet
+            label="%BreakpoingActionSet.label"
+            visible="false"
+            id="org.eclipse.debug.ui.breakpointActionSet">
          <menu
                label="%RunMenu.label"
                path="additions"
                id="org.eclipse.ui.run">
-            <groupMarker
-                  name="PHPBreakpointGroup">
-            </groupMarker>
+            <separator
+                  name="breakpointGroup">
+            </separator>
          </menu>
          <action
                label="%GlobalManageBreakpointAction.label"
                class="net.sourceforge.phpdt.internal.debug.ui.actions.ManageBreakpointActionDelegate"
-               menubarPath="org.eclipse.ui.run/PHPBreakpointGroup"
+               menubarPath="org.eclipse.ui.run/phpBreakpointGroup"
                id="net.sourceforge.phpeclipse.debug.ui.ManageBreakpointActionDelegate">
          </action>
       </actionSet>
-   </extension>
+   </extension>   -->
    <extension
          point="org.eclipse.ui.contexts">
       <context
             id="net.sourceforge.phpdt.ui.DebugHover">
       </hover>
    </extension>
+   
+       <!-- Adapters for contextual launch -->
+       <extension point="org.eclipse.core.runtime.adapters">
+         <factory 
+            class="" 
+            adaptableType="net.sourceforge.phpdt.core.IJavaElement">
+            <adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
+         </factory>
+         <factory 
+            class="" 
+            adaptableType="org.eclipse.core.resources.IResource">
+            <adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
+         </factory>         
+    </extension>
+    
    <!-- Adapters for retargettable actions -->
        <extension point="org.eclipse.core.runtime.adapters">
          <factory 
             class="net.sourceforge.phpdt.internal.debug.ui.actions.RetargettableActionAdapterFactory" 
-            adaptableType="net.sourceforge.phpeclipse.PHPUnitEditor">
-            <adapter type="org.eclipse.debug.ui.actions.IRunToLineTarget"/>
+            adaptableType="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor">
+     <!--       <adapter type="org.eclipse.debug.ui.actions.IRunToLineTarget"/>  -->
             <adapter type="org.eclipse.debug.ui.actions.IToggleBreakpointsTarget"/>
          </factory>
     </extension>
     <extension
-         point="org.eclipse.ui.popupMenus">
-         <viewerContribution
-            targetID="#CompilationUnitRulerContext"
-            id="org.eclipse.jdt.debug.ui.CompilationUnitRulerPopupActions">
+         point="org.eclipse.ui.popupMenus">     
+      <viewerContribution
+            targetID="#PHPRulerContext"
+            id="net.sourceforge.phpdt.ui.PHPUnitEditorPopupActions">
+  <!--       <action
+               label="%JavaBreakpointProperties.label"
+               helpContextId="breakpoint_properties_action_context"
+               class="org.eclipse.jdt.internal.debug.ui.actions.JavaBreakpointPropertiesRulerActionDelegate"
+               menubarPath="debug"
+               id="org.eclipse.jdt.debug.ui.actions.JavaBreakpointPropertiesRulerActionDelegate">
+         </action>
+         <action
+               label="%EnableBreakpoint.label"
+               helpContextId="enable_disable_breakpoint_action_context"
+               class="org.eclipse.jdt.internal.debug.ui.actions.EnableDisableBreakpointRulerActionDelegate"
+               menubarPath="debug"
+               id="org.eclipse.jdt.debug.ui.actions.EnableDisableBreakpointRulerActionDelegate">
+         </action>  -->
          <action
                label="%AddBreakpoint.label"
                helpContextId="manage_breakpoint_action_context"
                class="net.sourceforge.phpdt.internal.debug.ui.actions.PHPManageBreakpointRulerActionDelegate"
                menubarPath="debug"
-               id="net.sourceforge.phpdt.internal.debug.ui.actions.ManageBreakpointRulerActionDelegate">
+               id="net.sourceforge.phpdt.internal.debug.ui.actions.PHPManageBreakpointRulerActionDelegate">
          </action>
       </viewerContribution>
-      </extension>
+    </extension>
 </plugin>