759952d7ff0037ef64e99a4614f80e3a12dfebee
[phpeclipse.git] / net.sourceforge.phpeclipse.debug.ui / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.0"?>
3 <plugin
4    id="net.sourceforge.phpeclipse.debug.ui"
5    name="%Plugin.name"
6    version="1.1.9"
7    provider-name="phpeclipse.de"
8    class="net.sourceforge.phpdt.internal.debug.ui.PHPDebugUiPlugin">
9
10    <runtime>
11       <library name="debug.jar">
12          <export name="*"/>
13       </library>
14    </runtime>
15    <requires>
16       <import plugin="org.eclipse.ui.ide"/>
17       <import plugin="org.eclipse.jface.text"/>
18       <import plugin="org.eclipse.ui.workbench.texteditor"/>
19       <import plugin="org.eclipse.ui.editors"/>
20       <import plugin="org.eclipse.core.runtime"/>
21       <import plugin="org.eclipse.core.resources"/>
22       <import plugin="org.eclipse.ui"/>
23       <import plugin="org.eclipse.debug.core"/>
24       <import plugin="org.eclipse.debug.ui"/>
25       <import plugin="net.sourceforge.phpeclipse.webbrowser"/>
26       <import plugin="net.sourceforge.phpeclipse.debug.core"/>
27       <import plugin="net.sourceforge.phpeclipse.launching"/> 
28       <import plugin="net.sourceforge.phpeclipse"/>
29    </requires>
30
31
32 <!-- Extensions -->
33    <extension
34          point="org.eclipse.ui.preferencePages">
35       <page
36             name="%PreferencePage.PHPInterpreter.name"
37             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
38             class="net.sourceforge.phpdt.internal.debug.ui.preferences.PHPInterpreterPreferencePage"
39             id="net.sourceforge.phpdt.debug.ui.preferences.PreferencePagePHPInterpreter">
40       </page>
41    </extension>
42    <extension
43          point="org.eclipse.ui.editorActions">
44       <editorContribution
45             targetID="net.sourceforge.phpeclipse.PHPUnitEditor"
46             id="net.sourceforge.phpdt.internal.debug.ui.actions.BreakpointRulerActions">
47          <action
48                label="%Dummy.label"
49                class="net.sourceforge.phpdt.internal.debug.ui.actions.PHPManageBreakpointRulerActionDelegate"
50                actionID="RulerDoubleClick"
51                id="net.sourceforge.phpdt.internal.debug.ui.actions.ManageBreakpointRulerAction">
52          </action>
53       </editorContribution>
54    </extension>
55 <!-- Debug Model -->
56    <extension
57          point="org.eclipse.debug.ui.debugModelPresentations">
58       <debugModelPresentation
59             class="net.sourceforge.phpdt.internal.debug.ui.PHPDebugModelPresentation"
60             id="net.sourceforge.phpeclipse.debug.core">
61       </debugModelPresentation>
62    </extension>
63 <!-- Launcher extensions -->
64    <extension
65          point="org.eclipse.debug.ui.launchConfigurationTypeImages">
66       <launchConfigurationTypeImage
67             icon="icons/ctool16/run_php.gif"
68             configTypeID="net.sourceforge.phpdt.launching.LaunchConfigurationTypePHPApplication"
69             id="net.sourceforge.phpdt.debug.ui.LaunchConfigurationTypeImagePHPApplication">
70       </launchConfigurationTypeImage>
71    </extension>
72    <extension
73          point="org.eclipse.debug.ui.launchConfigurationTabGroups">
74       <launchConfigurationTabGroup
75             type="net.sourceforge.phpdt.launching.LaunchConfigurationTypePHPApplication"
76             class="net.sourceforge.phpdt.internal.debug.ui.launcher.PHPApplicationTabGroup"
77             id="net.sourceforge.phpdt.debug.ui.LaunchConfigurationTabGroupPHPApplication">
78       </launchConfigurationTabGroup>
79    </extension>
80    <extension
81          point="org.eclipse.debug.ui.launchShortcuts">
82       <shortcut
83             label="%LaunchShortcut.PHP.label"
84             icon="icons/ctool16/run_php.gif"
85             modes="run,debug"
86             class="net.sourceforge.phpdt.internal.debug.ui.launcher.PHPLaunchShortcut"
87             id="net.sourceforge.phpdt.debug.ui.applicationshortcut.php">
88       </shortcut>
89    </extension> 
90 <!-- Breakpoint Image -->
91    <extension
92          point="org.eclipse.ui.ide.markerImageProviders">
93       <imageprovider
94             markertype="net.sourceforge.phpeclipse.debug.core.phpLineBreakpointMarker"
95             icon="icons/obj16/brkp_obj.gif"
96             id="net.sourceforge.phpeclipse.debug.core.PHPLineBreakpointMarkerProvider">
97       </imageprovider>
98    </extension>
99 <!--   <extension
100          point="org.eclipse.ui.actionSets">
101          <actionSet
102             label="%BreakpoingActionSet.label"
103             visible="false"
104             id="org.eclipse.debug.ui.breakpointActionSet">
105          <menu
106                label="%RunMenu.label"
107                path="additions"
108                id="org.eclipse.ui.run">
109             <separator
110                   name="breakpointGroup">
111             </separator>
112          </menu>
113          <action
114                label="%GlobalManageBreakpointAction.label"
115                class="net.sourceforge.phpdt.internal.debug.ui.actions.ManageBreakpointActionDelegate"
116                menubarPath="org.eclipse.ui.run/phpBreakpointGroup"
117                id="net.sourceforge.phpeclipse.debug.ui.ManageBreakpointActionDelegate">
118          </action>
119       </actionSet>
120    </extension>   -->
121    <extension
122          point="org.eclipse.ui.contexts">
123       <context
124             name="%Context.Debugging.name"
125             description="%Context.Debugging.description"
126             id="net.sourceforge.phpeclipse.debug.ui.debugging"
127             parentId="org.eclipse.debug.ui.debugging">
128       </context>
129    </extension>
130    <extension
131          point="org.eclipse.debug.ui.debugModelContextBindings">
132       <modelContextBinding
133             debugModelId="net.sourceforge.phpeclipse.debug.core"
134             contextId="net.sourceforge.phpeclipse.debug.ui.debugging">
135       </modelContextBinding>
136    </extension>
137    <extension
138          point="net.sourceforge.phpeclipse.phpEditorTextHovers">
139       <hover
140             label="%DebugHover.label"
141             description="%DebugHover.description"
142             class="net.sourceforge.phpdt.internal.debug.ui.PHPDebugHover"
143             id="net.sourceforge.phpdt.ui.DebugHover">
144       </hover>
145    </extension>
146    
147         <!-- Adapters for contextual launch -->
148         <extension point="org.eclipse.core.runtime.adapters">
149          <factory 
150             class="" 
151             adaptableType="net.sourceforge.phpdt.core.IJavaElement">
152             <adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
153          </factory>
154          <factory 
155             class="" 
156             adaptableType="org.eclipse.core.resources.IResource">
157             <adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
158          </factory>         
159     </extension>
160     
161    <!-- Adapters for retargettable actions -->
162         <extension point="org.eclipse.core.runtime.adapters">
163          <factory 
164             class="net.sourceforge.phpdt.internal.debug.ui.actions.RetargettableActionAdapterFactory" 
165             adaptableType="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor">
166      <!--       <adapter type="org.eclipse.debug.ui.actions.IRunToLineTarget"/>  -->
167             <adapter type="org.eclipse.debug.ui.actions.IToggleBreakpointsTarget"/>
168          </factory>
169     </extension>
170     <extension
171          point="org.eclipse.ui.popupMenus">     
172       <viewerContribution
173             targetID="#PHPRulerContext"
174             id="net.sourceforge.phpdt.ui.PHPUnitEditorPopupActions">
175   <!--       <action
176                label="%JavaBreakpointProperties.label"
177                helpContextId="breakpoint_properties_action_context"
178                class="org.eclipse.jdt.internal.debug.ui.actions.JavaBreakpointPropertiesRulerActionDelegate"
179                menubarPath="debug"
180                id="org.eclipse.jdt.debug.ui.actions.JavaBreakpointPropertiesRulerActionDelegate">
181          </action>
182          <action
183                label="%EnableBreakpoint.label"
184                helpContextId="enable_disable_breakpoint_action_context"
185                class="org.eclipse.jdt.internal.debug.ui.actions.EnableDisableBreakpointRulerActionDelegate"
186                menubarPath="debug"
187                id="org.eclipse.jdt.debug.ui.actions.EnableDisableBreakpointRulerActionDelegate">
188          </action>  -->
189          <action
190                label="%AddBreakpoint.label"
191                helpContextId="manage_breakpoint_action_context"
192                class="net.sourceforge.phpdt.internal.debug.ui.actions.PHPManageBreakpointRulerActionDelegate"
193                menubarPath="debug"
194                id="net.sourceforge.phpdt.internal.debug.ui.actions.PHPManageBreakpointRulerActionDelegate">
195          </action>
196       </viewerContribution>
197     </extension>
198     <extension
199           point="org.eclipse.ui.popupMenus">
200        <objectContribution
201              adaptable="true"
202              id="net.sourceforge.phpeclipse.debug.ui.BreakpointProperties"
203              objectClass="org.eclipse.debug.core.model.IBreakpoint">
204           <menu
205                 id="net.sourceforge.phpeclipse.debug.ui.menu2"
206                 label="Breakpoint properties menu">
207              <separator name="net.sourceforge.phpeclipse.debug.ui.separator1"/>
208           </menu>
209           <action
210                 class="net.sourceforge.phpdt.internal.debug.ui.actions.PHPDebugBreakpointAction"
211                 id="net.sourceforge.phpeclipse.debug.ui.actions.PHPDebugBreakpointAction"
212                 label="Properties"/>
213        </objectContribution>
214     </extension>
215 </plugin>