initial addition of PHPUnit main view.
[phpeclipse.git] / net.sourceforge.phpeclipse.debug.ui / plugin.xml
index afc5472..deb23ed 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
 <plugin
    id="net.sourceforge.phpeclipse.debug.ui"
    name="%Plugin.name"
       </library>
    </runtime>
    <requires>
+      <import plugin="org.eclipse.core.runtime.compatibility"/>
+      <import plugin="org.eclipse.ui.ide"/>
+      <import plugin="org.eclipse.ui.views"/>
+      <import plugin="org.eclipse.jface.text"/>
+      <import plugin="org.eclipse.ui.workbench.texteditor"/>
+      <import plugin="org.eclipse.ui.editors"/>
       <import plugin="org.eclipse.core.runtime"/>
       <import plugin="org.eclipse.core.resources"/>
       <import plugin="org.eclipse.ui"/>
       <import plugin="org.eclipse.debug.core"/>
       <import plugin="org.eclipse.debug.ui"/>
+      <import plugin="net.sourceforge.phpeclipse.debug.core"/>
       <import plugin="net.sourceforge.phpeclipse.launching"/>
-      <import plugin="org.junit"/>
       <import plugin="net.sourceforge.phpeclipse"/>
    </requires>
 
 
+<!-- Extensions -->
    <extension
          point="org.eclipse.ui.preferencePages">
       <page
             class="net.sourceforge.phpdt.internal.debug.ui.preferences.PHPInterpreterPreferencePage"
             id="net.sourceforge.phpdt.debug.ui.preferences.PreferencePagePHPInterpreter">
       </page>
-
    </extension>
    <extension
+         point="org.eclipse.ui.editorActions">
+      <editorContribution
+            targetID="net.sourceforge.phpeclipse.PHPUnitEditor"
+            id="net.sourceforge.phpdt.internal.debug.ui.actions.BreakpointRulerActions">
+         <action
+               label="%Dummy.label"
+               class="net.sourceforge.phpdt.internal.debug.ui.actions.PHPManageBreakpointRulerActionDelegate"
+               actionID="RulerDoubleClick"
+               id="net.sourceforge.phpdt.internal.debug.ui.actions.ManageBreakpointRulerAction">
+         </action>
+      </editorContribution>
+   </extension>
+   <extension
+         point="org.eclipse.debug.core.sourceLocators">
+      <sourceLocator
+            name="PHPSourceLocator"
+            class="net.sourceforge.phpdt.internal.debug.ui.PHPSourceLocator"
+            id="net.sourceforge.phpdt.debug.ui.PHPSourceLocator">
+      </sourceLocator>
+   </extension>
+<!-- Debug Model -->
+   <extension
+         point="org.eclipse.debug.ui.debugModelPresentations">
+      <debugModelPresentation
+            class="net.sourceforge.phpdt.internal.debug.ui.PHPDebugModelPresentation"
+            id="net.sourceforge.phpeclipse.debug.core">
+      </debugModelPresentation>
+   </extension>
+<!-- Launcher extensions -->
+   <extension
          point="org.eclipse.debug.ui.launchConfigurationTypeImages">
       <launchConfigurationTypeImage
             icon="icons/ctool16/run_php.gif"
             id="net.sourceforge.phpdt.debug.ui.applicationshortcut.php">
       </shortcut>
    </extension>
+<!-- Breakpoint Image -->
+   <extension
+         point="org.eclipse.ui.ide.markerImageProviders">
+      <imageprovider
+            markertype="net.sourceforge.phpeclipse.debug.core.phpLineBreakpointMarker"
+            icon="icons/obj16/brkp_obj.gif"
+            id="net.sourceforge.phpeclipse.debug.core.PHPLineBreakpointMarkerProvider">
+      </imageprovider>
+   </extension>
+   <extension
+         point="org.eclipse.ui.actionSets">
+      <actionSet
+            label="%DebugActionSet.label"
+            id="net.sourceforge.phpeclipse.debug.ui.actionSet1">
+         <menu
+               label="%RunMenu.label"
+               path="additions"
+               id="org.eclipse.ui.run">
+            <groupMarker
+                  name="PHPBreakpointGroup">
+            </groupMarker>
+         </menu>
+         <action
+               label="%GlobalManageBreakpointAction.label"
+               class="net.sourceforge.phpdt.internal.debug.ui.actions.ManageBreakpointActionDelegate"
+               menubarPath="org.eclipse.ui.run/PHPBreakpointGroup"
+               id="net.sourceforge.phpeclipse.debug.ui.ManageBreakpointActionDelegate">
+         </action>
+      </actionSet>
+   </extension>
+   <extension
+         point="org.eclipse.ui.contexts">
+      <context
+            name="%Context.Debugging.name"
+            description="%Context.Debugging.description"
+            id="net.sourceforge.phpeclipse.debug.ui.debugging"
+            parentId="org.eclipse.debug.ui.debugging">
+      </context>
+   </extension>
+   <extension
+         point="org.eclipse.debug.ui.debugModelContextBindings">
+      <modelContextBinding
+            debugModelId="net.sourceforge.phpeclipse.debug.core"
+            contextId="net.sourceforge.phpeclipse.debug.ui.debugging">
+      </modelContextBinding>
+   </extension>
+   <extension
+         point="net.sourceforge.phpeclipse.phpEditorTextHovers">
+      <hover
+            label="%DebugHover.label"
+            description="%DebugHover.description"
+            class="net.sourceforge.phpdt.internal.debug.ui.PHPDebugHover"
+            id="net.sourceforge.phpdt.ui.DebugHover">
+      </hover>
+   </extension>
 
 </plugin>