1) Although dbg will be dropped from being supported or bundled with PHPeclipse,...
[phpeclipse.git] / net.sourceforge.phpeclipse.debug.ui / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.2"?>
3 <plugin>
4    <extension
5                  point="org.eclipse.ui.editors.markerAnnotationSpecification">
6           <specification
7                         annotationType="org.eclipse.debug.core.breakpoint"
8                         icon="icons/full/obj16/brkp_obj.gif"
9                         annotationImageProvider="net.sourceforge.phpdt.debug.ui.BreakpointImageProvider">
10           </specification>
11    </extension>
12
13    <extension
14          point="org.eclipse.ui.preferencePages">
15       <page
16             name="%PreferencePage.PHPInterpreter.name"
17             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
18             class="net.sourceforge.phpdt.internal.debug.ui.preferences.PHPInterpreterPreferencePage"
19             id="net.sourceforge.phpdt.debug.ui.preferences.PreferencePagePHPInterpreter">
20       </page>
21    </extension>
22    <extension
23          point="org.eclipse.ui.editorActions">
24       <editorContribution
25             targetID="net.sourceforge.phpeclipse.PHPUnitEditor"
26             id="net.sourceforge.phpdt.internal.debug.ui.actions.BreakpointRulerActions">
27          <action
28                label="%Dummy.label"
29                class="net.sourceforge.phpdt.internal.debug.ui.actions.PHPManageBreakpointRulerActionDelegate"
30                actionID="RulerDoubleClick"
31                id="net.sourceforge.phpdt.internal.debug.ui.actions.ManageBreakpointRulerAction">
32          </action>
33       </editorContribution>
34    </extension>
35 <!-- Debug Model -->
36    <extension
37          point="org.eclipse.debug.ui.debugModelPresentations">
38       <debugModelPresentation
39             class="net.sourceforge.phpdt.internal.debug.ui.PHPDebugModelPresentation"
40             id="net.sourceforge.phpeclipse.debug.core">
41       </debugModelPresentation>
42    </extension>
43 <!-- Launcher extensions -->
44    <extension
45          point="org.eclipse.debug.ui.launchConfigurationTypeImages">
46       <launchConfigurationTypeImage
47             icon="icons/ctool16/run_php.gif"
48             configTypeID="net.sourceforge.phpdt.launching.LaunchConfigurationTypePHPApplication"
49             id="net.sourceforge.phpdt.debug.ui.LaunchConfigurationTypeImagePHPApplication">
50       </launchConfigurationTypeImage>
51    </extension>
52    <extension
53          point="org.eclipse.debug.ui.launchConfigurationTabGroups">
54       <launchConfigurationTabGroup
55             type="net.sourceforge.phpdt.launching.LaunchConfigurationTypePHPApplication"
56             class="net.sourceforge.phpdt.internal.debug.ui.launcher.PHPApplicationTabGroup"
57             id="net.sourceforge.phpdt.debug.ui.LaunchConfigurationTabGroupPHPApplication">
58       </launchConfigurationTabGroup>
59    </extension>
60    <extension
61          point="org.eclipse.debug.ui.launchShortcuts">
62       <shortcut
63             label="%LaunchShortcut.PHP.label"
64             icon="icons/ctool16/run_php.gif"
65             modes="run,debug"
66             class="net.sourceforge.phpdt.internal.debug.ui.launcher.PHPLaunchShortcut"
67             id="net.sourceforge.phpdt.debug.ui.applicationshortcut.php">
68       </shortcut>
69    </extension> 
70 <!-- Breakpoint Image -->
71    <extension
72          point="org.eclipse.ui.ide.markerImageProviders">
73       <imageprovider
74             markertype="net.sourceforge.phpeclipse.debug.core.phpLineBreakpointMarker"
75             icon="icons/obj16/brkp_obj.gif"
76             id="net.sourceforge.phpeclipse.debug.core.PHPLineBreakpointMarkerProvider">
77       </imageprovider>
78    </extension>
79    <extension
80          point="org.eclipse.ui.contexts">
81       <context
82             name="%Context.Debugging.name"
83             description="%Context.Debugging.description"
84             id="net.sourceforge.phpeclipse.debug.ui.debugging"
85             parentId="org.eclipse.debug.ui.debugging">
86       </context>
87    </extension>
88    <extension
89          point="org.eclipse.debug.ui.debugModelContextBindings">
90       <modelContextBinding
91             debugModelId="net.sourceforge.phpeclipse.debug.core"
92             contextId="net.sourceforge.phpeclipse.debug.ui.debugging">
93       </modelContextBinding>
94    </extension>
95    <extension
96          point="net.sourceforge.phpeclipse.phpEditorTextHovers">
97       <hover
98             label="%DebugHover.label"
99             description="%DebugHover.description"
100             class="net.sourceforge.phpdt.internal.debug.ui.PHPDebugHover"
101             id="net.sourceforge.phpdt.ui.DebugHover">
102       </hover>
103    </extension>
104    
105         <!-- Adapters for contextual launch -->
106         <extension point="org.eclipse.core.runtime.adapters">
107          <factory 
108             class="" 
109             adaptableType="net.sourceforge.phpdt.core.IJavaElement">
110             <adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
111          </factory>
112          <factory 
113             class="" 
114             adaptableType="org.eclipse.core.resources.IResource">
115             <adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
116          </factory>         
117     </extension>
118     
119    <!-- Adapters for retargettable actions -->
120         <extension point="org.eclipse.core.runtime.adapters">
121          <factory 
122             class="net.sourceforge.phpdt.internal.debug.ui.actions.RetargettableActionAdapterFactory" 
123             adaptableType="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor">
124             <adapter type="org.eclipse.debug.ui.actions.IToggleBreakpointsTarget"/>
125          </factory>
126     </extension>
127     <extension
128          point="org.eclipse.ui.popupMenus">     
129       <viewerContribution
130             targetID="#PHPRulerContext"
131             id="net.sourceforge.phpdt.ui.PHPUnitEditorPopupActions">
132          <action
133                label="%AddBreakpoint.label"
134                helpContextId="manage_breakpoint_action_context"
135                class="net.sourceforge.phpdt.internal.debug.ui.actions.PHPManageBreakpointRulerActionDelegate"
136                menubarPath="debug"
137                id="net.sourceforge.phpdt.internal.debug.ui.actions.PHPManageBreakpointRulerActionDelegate">
138          </action>
139       </viewerContribution>
140     </extension>
141     <extension
142           point="org.eclipse.ui.popupMenus">
143        <objectContribution
144              adaptable="true"
145              id="net.sourceforge.phpeclipse.debug.ui.BreakpointProperties"
146              objectClass="org.eclipse.debug.core.model.IBreakpoint">
147           <menu
148                 id="net.sourceforge.phpeclipse.debug.ui.menu2"
149                 label="Breakpoint properties menu">
150              <separator name="net.sourceforge.phpeclipse.debug.ui.separator1"/>
151           </menu>
152           <action
153                 class="net.sourceforge.phpdt.internal.debug.ui.actions.PHPDebugBreakpointAction"
154                 id="net.sourceforge.phpeclipse.debug.ui.actions.PHPDebugBreakpointAction"
155                 label="Properties"/>
156        </objectContribution>
157     </extension>
158 </plugin>