added new action for breakpoint
authorcperkonig <cperkonig>
Sun, 29 Feb 2004 18:37:19 +0000 (18:37 +0000)
committercperkonig <cperkonig>
Sun, 29 Feb 2004 18:37:19 +0000 (18:37 +0000)
net.sourceforge.phpeclipse.debug.ui/plugin.properties
net.sourceforge.phpeclipse.debug.ui/plugin.xml

index 0882208..d74728d 100644 (file)
@@ -4,4 +4,9 @@ Plugin.name=PHPEclipse Debug UI
 PreferencePage.PHPBase.name=PHP
 PreferencePage.PHPInterpreter.name=Installed Interpreters
 
-LaunchShortcut.PHP.label=PHP Application
\ No newline at end of file
+LaunchShortcut.PHP.label=PHP Application
+
+DebugActionSet.label=PHP Debug
+RunMenu.label=&Run
+
+GlobalManageBreakpointAction.label=Add/Remove Brea&kpoint (PHP)
\ No newline at end of file
index 95ee9dd..c32d3b7 100644 (file)
@@ -22,6 +22,7 @@
       <import plugin="net.sourceforge.phpeclipse"/>
    </requires>
 
+
 <!-- Extensions -->
    <extension
          point="org.eclipse.ui.preferencePages">
          </action>
       </editorContribution>
    </extension>
-   <extension point = "org.eclipse.debug.core.sourceLocators">
+   <extension
+         point="org.eclipse.debug.core.sourceLocators">
       <sourceLocator
-               id="net.sourceforge.phpdt.debug.ui.PHPSourceLocator"
-               class="net.sourceforge.phpdt.internal.debug.ui.PHPSourceLocator"
-               name="PHPSourceLocator"/>
+            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">
       </shortcut>
    </extension>
 <!-- Breakpoint Image -->
-   <extension point="org.eclipse.ui.markerImageProviders">
-      <imageprovider id="net.sourceforge.phpeclipse.debug.core.PHPLineBreakpointMarkerProvider"
+   <extension
+         point="org.eclipse.ui.markerImageProviders">
+      <imageprovider
             markertype="net.sourceforge.phpeclipse.debug.core.phpLineBreakpointMarker"
-               icon="icons/obj16/brkp_obj.gif">
+            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>
+
 </plugin>