Bugs item #1236682
[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.6"
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    <extension
56          point="org.eclipse.debug.core.sourceLocators">
57       <sourceLocator
58             name="PHPSourceLocator"
59             class="net.sourceforge.phpdt.internal.debug.ui.PHPSourceLocator"
60             id="net.sourceforge.phpdt.debug.ui.PHPSourceLocator">
61       </sourceLocator>
62    </extension>
63 <!-- Debug Model -->
64    <extension
65          point="org.eclipse.debug.ui.debugModelPresentations">
66       <debugModelPresentation
67             class="net.sourceforge.phpdt.internal.debug.ui.PHPDebugModelPresentation"
68             id="net.sourceforge.phpeclipse.debug.core">
69       </debugModelPresentation>
70    </extension>
71 <!-- Launcher extensions -->
72    <extension
73          point="org.eclipse.debug.ui.launchConfigurationTypeImages">
74       <launchConfigurationTypeImage
75             icon="icons/ctool16/run_php.gif"
76             configTypeID="net.sourceforge.phpdt.launching.LaunchConfigurationTypePHPApplication"
77             id="net.sourceforge.phpdt.debug.ui.LaunchConfigurationTypeImagePHPApplication">
78       </launchConfigurationTypeImage>
79    </extension>
80    <extension
81          point="org.eclipse.debug.ui.launchConfigurationTabGroups">
82       <launchConfigurationTabGroup
83             type="net.sourceforge.phpdt.launching.LaunchConfigurationTypePHPApplication"
84             class="net.sourceforge.phpdt.internal.debug.ui.launcher.PHPApplicationTabGroup"
85             id="net.sourceforge.phpdt.debug.ui.LaunchConfigurationTabGroupPHPApplication">
86       </launchConfigurationTabGroup>
87    </extension>
88    <extension
89          point="org.eclipse.debug.ui.launchShortcuts">
90       <shortcut
91             label="%LaunchShortcut.PHP.label"
92             icon="icons/ctool16/run_php.gif"
93             modes="run,debug"
94             class="net.sourceforge.phpdt.internal.debug.ui.launcher.PHPLaunchShortcut"
95             id="net.sourceforge.phpdt.debug.ui.applicationshortcut.php">
96       </shortcut>
97    </extension> 
98 <!-- Breakpoint Image -->
99    <extension
100          point="org.eclipse.ui.ide.markerImageProviders">
101       <imageprovider
102             markertype="net.sourceforge.phpeclipse.debug.core.phpLineBreakpointMarker"
103             icon="icons/obj16/brkp_obj.gif"
104             id="net.sourceforge.phpeclipse.debug.core.PHPLineBreakpointMarkerProvider">
105       </imageprovider>
106    </extension>
107 <!--   <extension
108          point="org.eclipse.ui.actionSets">
109          <actionSet
110             label="%BreakpoingActionSet.label"
111             visible="false"
112             id="org.eclipse.debug.ui.breakpointActionSet">
113          <menu
114                label="%RunMenu.label"
115                path="additions"
116                id="org.eclipse.ui.run">
117             <separator
118                   name="breakpointGroup">
119             </separator>
120          </menu>
121          <action
122                label="%GlobalManageBreakpointAction.label"
123                class="net.sourceforge.phpdt.internal.debug.ui.actions.ManageBreakpointActionDelegate"
124                menubarPath="org.eclipse.ui.run/phpBreakpointGroup"
125                id="net.sourceforge.phpeclipse.debug.ui.ManageBreakpointActionDelegate">
126          </action>
127       </actionSet>
128    </extension>   -->
129    <extension
130          point="org.eclipse.ui.contexts">
131       <context
132             name="%Context.Debugging.name"
133             description="%Context.Debugging.description"
134             id="net.sourceforge.phpeclipse.debug.ui.debugging"
135             parentId="org.eclipse.debug.ui.debugging">
136       </context>
137    </extension>
138    <extension
139          point="org.eclipse.debug.ui.debugModelContextBindings">
140       <modelContextBinding
141             debugModelId="net.sourceforge.phpeclipse.debug.core"
142             contextId="net.sourceforge.phpeclipse.debug.ui.debugging">
143       </modelContextBinding>
144    </extension>
145    <extension
146          point="net.sourceforge.phpeclipse.phpEditorTextHovers">
147       <hover
148             label="%DebugHover.label"
149             description="%DebugHover.description"
150             class="net.sourceforge.phpdt.internal.debug.ui.PHPDebugHover"
151             id="net.sourceforge.phpdt.ui.DebugHover">
152       </hover>
153    </extension>
154    
155         <!-- Adapters for contextual launch -->
156         <extension point="org.eclipse.core.runtime.adapters">
157          <factory 
158             class="" 
159             adaptableType="net.sourceforge.phpdt.core.IJavaElement">
160             <adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
161          </factory>
162          <factory 
163             class="" 
164             adaptableType="org.eclipse.core.resources.IResource">
165             <adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
166          </factory>         
167     </extension>
168     
169    <!-- Adapters for retargettable actions -->
170         <extension point="org.eclipse.core.runtime.adapters">
171          <factory 
172             class="net.sourceforge.phpdt.internal.debug.ui.actions.RetargettableActionAdapterFactory" 
173             adaptableType="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor">
174      <!--       <adapter type="org.eclipse.debug.ui.actions.IRunToLineTarget"/>  -->
175             <adapter type="org.eclipse.debug.ui.actions.IToggleBreakpointsTarget"/>
176          </factory>
177     </extension>
178     <extension
179          point="org.eclipse.ui.popupMenus">     
180       <viewerContribution
181             targetID="#PHPRulerContext"
182             id="net.sourceforge.phpdt.ui.PHPUnitEditorPopupActions">
183   <!--       <action
184                label="%JavaBreakpointProperties.label"
185                helpContextId="breakpoint_properties_action_context"
186                class="org.eclipse.jdt.internal.debug.ui.actions.JavaBreakpointPropertiesRulerActionDelegate"
187                menubarPath="debug"
188                id="org.eclipse.jdt.debug.ui.actions.JavaBreakpointPropertiesRulerActionDelegate">
189          </action>
190          <action
191                label="%EnableBreakpoint.label"
192                helpContextId="enable_disable_breakpoint_action_context"
193                class="org.eclipse.jdt.internal.debug.ui.actions.EnableDisableBreakpointRulerActionDelegate"
194                menubarPath="debug"
195                id="org.eclipse.jdt.debug.ui.actions.EnableDisableBreakpointRulerActionDelegate">
196          </action>  -->
197          <action
198                label="%AddBreakpoint.label"
199                helpContextId="manage_breakpoint_action_context"
200                class="net.sourceforge.phpdt.internal.debug.ui.actions.PHPManageBreakpointRulerActionDelegate"
201                menubarPath="debug"
202                id="net.sourceforge.phpdt.internal.debug.ui.actions.PHPManageBreakpointRulerActionDelegate">
203          </action>
204       </viewerContribution>
205     </extension>
206 </plugin>