Fixing some missing/wrong docblocks
[phpeclipse.git] / net.sourceforge.phpeclipse.xdebug.ui / plugin.xml
index 98fb90f..5ad53ff 100644 (file)
@@ -1,53 +1,73 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin
-   id="net.sourceforge.phpeclipse.xdebug.ui"
-   name="XDebug Ui Plugin"
-   version="1.0.0"
-   provider-name="phpeclipse.de">
-
-   <runtime>
-      <library name="xdebugui.jar">
-         <export name="*"/>
-      </library>
-   </runtime>
-   <requires>
-      <import plugin="org.eclipse.debug.core"/>
-      <import plugin="org.eclipse.debug.ui"/>
-      <import plugin="net.sourceforge.phpeclipse"/>
-      <import plugin="net.sourceforge.phpeclipse.xdebug.core"/>
-      <import plugin="org.eclipse.core.runtime"/>
-      <import plugin="org.eclipse.core.resources"/>
-      <import plugin="org.eclipse.ui.workbench.texteditor"/>
-      <import plugin="org.eclipse.ui"/>
-      <import plugin="org.eclipse.ui.editors"/>
-      <import plugin="org.eclipse.jface.text"/>
-      <import plugin="org.eclipse.ui.ide"/>
-   </requires>
-   <extension
-         point="org.eclipse.debug.ui.launchConfigurationTabGroups">
-      <launchConfigurationTabGroup
-            type="net.sourceforge.phpeclipse.xdebug.core.launchConfigurationType.pda"
-            description="Run or debug a Push Down Automata program"
-            class="net.sourceforge.phpeclipse.xdebug.ui.XDebugTabGroup"
-            id="net.sourceforge.phpeclipse.xdebug.ui.launchConfigurationTabGroup.pda">
-      </launchConfigurationTabGroup>
-   </extension>
-   <extension
-         point="org.eclipse.debug.ui.debugModelPresentations">
-      <debugModelPresentation
-            class="net.sourceforge.phpeclipse.xdebug.ui.XDebugModelPresentation"
-            id="net.sourceforge.phpeclipse.xdebug">
-      </debugModelPresentation>
-   </extension>   
-   <extension
-         point="org.eclipse.core.runtime.adapters">
-      <factory
-            class="net.sourceforge.phpeclipse.xdebug.ui.XDebugBreakpointAdapterFactory"
-            adaptableType="org.eclipse.ui.texteditor.ITextEditor">
-         <adapter
-               type="org.eclipse.debug.ui.actions.IToggleBreakpointsTarget">
-         </adapter>
-      </factory>
+<?eclipse version="3.2"?>
+<plugin>
+   <extension
+                point="org.eclipse.debug.ui.launchConfigurationTabGroups">
+         <launchConfigurationTabGroup
+                       class="net.sourceforge.phpeclipse.xdebug.ui.php.launching.PHPTabGroup"
+                       id="net.sourceforge.phpeclipse.xdebug.ui.php.launchTabGroup"
+                       type="net.sourceforge.phpeclipse.xdebug.php.launch"/>
+   </extension>
+   <extension
+                point="org.eclipse.debug.ui.debugModelPresentations">
+         <debugModelPresentation
+                       class="net.sourceforge.phpeclipse.xdebug.ui.php.launching.PHPDebugModelPresentation"
+                       id="net.sourceforge.phpeclipse.xdebug.php"/>
+   </extension>
+   <extension
+                point="org.eclipse.core.runtime.adapters">
+         <factory
+                       adaptableType="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
+                       class="net.sourceforge.phpeclipse.xdebug.ui.php.model.PHPBreakpointAdapterFactory">
+                <adapter type="org.eclipse.debug.ui.actions.IToggleBreakpointsTarget"/>
+         </factory>
+   </extension>
+   <extension
+                point="org.eclipse.ui.editorActions">
+         <editorContribution
+                       id="net.sourceforge.phpeclipse.PHPUnitEditor.BreakpointRulerActions"
+                       targetID="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor">
+                <action
+                          actionID="RulerDoubleClick"
+                          class="net.sourceforge.phpeclipse.xdebug.ui.actions.BreakpointRulerActionDelegate"
+                          id="net.sourceforge.phpeclipse.xdebug.ui.ManageBreakpointRulerActions"
+                          label="Test label"
+                          />
+         </editorContribution>
+   </extension>
+   <extension
+                point="org.eclipse.ui.contexts">
+         <context
+                       id=".sourceforge.phpeclipse.debug.ui.debugging"
+                       name="XDebug Context"
+                       parentId="org.eclipse.debug.ui.debugging"/>
+   </extension>
+   <extension
+                point="org.eclipse.ui.popupMenus">
+         <viewerContribution
+                       id="net.sourceforge.phpeclipse.xdebug.PHPUnitEditorPopupActions"
+                       targetID="#PHPRulerContext">
+                <action
+                          class="net.sourceforge.phpeclipse.xdebug.ui.actions.BreakpointRulerActionDelegate"
+                          helpContextId="manage_breakpoint_action_context"
+                          id="net.sourceforge.phpeclipse.xdebug.ui.action1"
+                          label="Toggle Breakpoint"
+                          menubarPath="debug"/>
+         </viewerContribution>
+   </extension>
+   <extension
+                point="org.eclipse.ui.preferencePages">
+         <page
+                       category="net.sourceforge.phpeclipse.ui.preferencePage"
+                       class="net.sourceforge.phpeclipse.xdebug.ui.preference.XDebugPreferencePage"
+                       id="net.sourceforge.phpeclipse.xdebug.ui.XDebugPreferencePages"
+                       name="XDebug"/>
+   </extension>
+   <extension
+                point="org.eclipse.debug.ui.launchConfigurationTypeImages">
+         <launchConfigurationTypeImage
+                       configTypeID="net.sourceforge.phpeclipse.xdebug.php.launch"
+                       icon="icons/obj16/xdebug.gif"
+                       id="net.sourceforge.phpeclipse.xdebug.ui.launchImage"/>
    </extension>
 </plugin>