#757 - net.sourceforge.phpeclipse.xdebug.php.launching.PHPRemoteLaunchConfigurationDe...
[phpeclipse.git] / net.sourceforge.phpeclipse.xdebug.ui / plugin.xml
index 98fb90f..db39686 100644 (file)
@@ -1,53 +1,96 @@
 <?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>
+<plugin>
+   <extension
+         point="org.eclipse.debug.ui.launchConfigurationTypeImages">
+      <launchConfigurationTypeImage
+            configTypeID="net.sourceforge.phpeclipse.xdebug.php.launch"
+            icon="icons/xdebug.gif"
+            id="net.sourceforge.phpeclipse.xdebug.ui.php.launchConfigurationTypeImage"/>
+      <launchConfigurationTypeImage
+            configTypeID="net.sourceforge.phpeclipse.xdebug.php.remotelaunch"
+            icon="icons/xdebug.gif"
+            id="net.sourceforge.phpeclipse.xdebug.ui.php.remoteLaunchConfigurationTypeImage"/>
+   </extension>
    <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>
+            class="net.sourceforge.phpeclipse.xdebug.ui.php.launching.PHPTabGroup"
+            id="net.sourceforge.phpeclipse.xdebug.ui.php.launchTabGroup"
+            type="net.sourceforge.phpeclipse.xdebug.php.launch"/>
+      <launchConfigurationTabGroup
+            class="net.sourceforge.phpeclipse.xdebug.ui.php.launching.PHPRemoteTabGroup"
+            id="net.sourceforge.phpeclipse.xdebug.ui.php.remoteLaunchTabGroup"
+            type="net.sourceforge.phpeclipse.xdebug.php.remotelaunch"/>
    </extension>
    <extension
          point="org.eclipse.debug.ui.debugModelPresentations">
       <debugModelPresentation
-            class="net.sourceforge.phpeclipse.xdebug.ui.XDebugModelPresentation"
-            id="net.sourceforge.phpeclipse.xdebug">
-      </debugModelPresentation>
-   </extension>   
+            class="net.sourceforge.phpeclipse.xdebug.ui.php.launching.PHPDebugModelPresentation"
+            id="net.sourceforge.phpeclipse.xdebug.php"/>
+   </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>
+            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.PHPUnitEditor">
+         <action
+               actionID="RulerDoubleClick"
+               class="net.sourceforge.phpeclipse.xdebug.ui.actions.BreakpointRulerActionDelegate"
+                  id="net.sourceforge.phpeclipse.xdebug.ui.ManageBreakpointRulerActions"
+               label="Toggle Breakpoint"
+               />
+      </editorContribution>
+   </extension>
+   <extension
+         point="org.eclipse.ui.views">
+      <view
+            category="net.sourceforge.phpeclipse.xdebug.ui"
+            class="net.sourceforge.phpeclipse.xdebug.ui.views.logview.LogView"
+            icon="icons/eview16/error_log.gif"
+            id="net.sourceforge.phpeclipse.xdebug.ui.Logview"
+            name="PHP Debug Log"/>
+      <category
+            id="net.sourceforge.phpeclipse.xdebug.ui"
+            name="PHPeclipse Debug Core"/>
+   </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>
+   
+
+
 </plugin>