3.x RC1 compatibility
[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.0"
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.core.runtime.compatibility"/>
17       <import plugin="org.eclipse.ui.ide"/>
18       <import plugin="org.eclipse.ui.views"/>
19       <import plugin="org.eclipse.jface.text"/>
20       <import plugin="org.eclipse.ui.workbench.texteditor"/>
21       <import plugin="org.eclipse.ui.editors"/>
22       <import plugin="org.eclipse.core.runtime"/>
23       <import plugin="org.eclipse.core.resources"/>
24       <import plugin="org.eclipse.ui"/>
25       <import plugin="org.eclipse.debug.core"/>
26       <import plugin="org.eclipse.debug.ui"/>
27       <import plugin="net.sourceforge.phpeclipse.debug.core"/>
28       <import plugin="net.sourceforge.phpeclipse.launching"/>
29       <import plugin="net.sourceforge.phpeclipse"/>
30    </requires>
31
32
33 <!-- Extensions -->
34    <extension
35          point="org.eclipse.ui.preferencePages">
36       <page
37             name="%PreferencePage.PHPInterpreter.name"
38             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
39             class="net.sourceforge.phpdt.internal.debug.ui.preferences.PHPInterpreterPreferencePage"
40             id="net.sourceforge.phpdt.debug.ui.preferences.PreferencePagePHPInterpreter">
41       </page>
42    </extension>
43    <extension
44          point="org.eclipse.ui.editorActions">
45       <editorContribution
46             targetID="net.sourceforge.phpeclipse.PHPUnitEditor"
47             id="net.sourceforge.phpdt.internal.debug.ui.actions.BreakpointRulerActions">
48          <action
49                label="%Dummy.label"
50                class="net.sourceforge.phpdt.internal.debug.ui.actions.PHPManageBreakpointRulerActionDelegate"
51                actionID="RulerDoubleClick"
52                id="net.sourceforge.phpdt.internal.debug.ui.actions.ManageBreakpointRulerAction">
53          </action>
54       </editorContribution>
55    </extension>
56    <extension
57          point="org.eclipse.debug.core.sourceLocators">
58       <sourceLocator
59             name="PHPSourceLocator"
60             class="net.sourceforge.phpdt.internal.debug.ui.PHPSourceLocator"
61             id="net.sourceforge.phpdt.debug.ui.PHPSourceLocator">
62       </sourceLocator>
63    </extension>
64 <!-- Debug Model -->
65    <extension
66          point="org.eclipse.debug.ui.debugModelPresentations">
67       <debugModelPresentation
68             class="net.sourceforge.phpdt.internal.debug.ui.PHPDebugModelPresentation"
69             id="net.sourceforge.phpeclipse.debug.core">
70       </debugModelPresentation>
71    </extension>
72 <!-- Launcher extensions -->
73    <extension
74          point="org.eclipse.debug.ui.launchConfigurationTypeImages">
75       <launchConfigurationTypeImage
76             icon="icons/ctool16/run_php.gif"
77             configTypeID="net.sourceforge.phpdt.launching.LaunchConfigurationTypePHPApplication"
78             id="net.sourceforge.phpdt.debug.ui.LaunchConfigurationTypeImagePHPApplication">
79       </launchConfigurationTypeImage>
80    </extension>
81    <extension
82          point="org.eclipse.debug.ui.launchConfigurationTabGroups">
83       <launchConfigurationTabGroup
84             type="net.sourceforge.phpdt.launching.LaunchConfigurationTypePHPApplication"
85             class="net.sourceforge.phpdt.internal.debug.ui.launcher.PHPApplicationTabGroup"
86             id="net.sourceforge.phpdt.debug.ui.LaunchConfigurationTabGroupPHPApplication">
87       </launchConfigurationTabGroup>
88    </extension>
89  <!--  <extension
90          point="org.eclipse.debug.ui.launchShortcuts">
91       <shortcut
92             label="%LaunchShortcut.PHP.label"
93             icon="icons/ctool16/run_php.gif"
94             modes="run"
95             class="net.sourceforge.phpdt.internal.debug.ui.launcher.PHPApplicationShortcut"
96             id="net.sourceforge.phpdt.debug.ui.applicationshortcut.php">
97       </shortcut>
98    </extension> -->
99 <!-- Breakpoint Image -->
100    <extension
101          point="org.eclipse.ui.ide.markerImageProviders">
102       <imageprovider
103             markertype="net.sourceforge.phpeclipse.debug.core.phpLineBreakpointMarker"
104             icon="icons/obj16/brkp_obj.gif"
105             id="net.sourceforge.phpeclipse.debug.core.PHPLineBreakpointMarkerProvider">
106       </imageprovider>
107    </extension>
108    <extension
109          point="org.eclipse.ui.actionSets">
110       <actionSet
111             label="%DebugActionSet.label"
112             id="net.sourceforge.phpeclipse.debug.ui.actionSet1">
113          <menu
114                label="%RunMenu.label"
115                path="additions"
116                id="org.eclipse.ui.run">
117             <groupMarker
118                   name="PHPBreakpointGroup">
119             </groupMarker>
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    <!-- Adapters for retargettable actions -->
155         <extension point="org.eclipse.core.runtime.adapters">
156          <factory 
157             class="net.sourceforge.phpdt.internal.debug.ui.actions.RetargettableActionAdapterFactory" 
158             adaptableType="net.sourceforge.phpeclipse.PHPUnitEditor">
159             <adapter type="org.eclipse.debug.ui.actions.IRunToLineTarget"/>
160             <adapter type="org.eclipse.debug.ui.actions.IToggleBreakpointsTarget"/>
161          </factory>
162     </extension>
163     <extension
164          point="org.eclipse.ui.popupMenus">
165          <viewerContribution
166             targetID="#CompilationUnitRulerContext"
167             id="org.eclipse.jdt.debug.ui.CompilationUnitRulerPopupActions">
168          <action
169                label="%AddBreakpoint.label"
170                helpContextId="manage_breakpoint_action_context"
171                class="net.sourceforge.phpdt.internal.debug.ui.actions.PHPManageBreakpointRulerActionDelegate"
172                menubarPath="debug"
173                id="net.sourceforge.phpdt.internal.debug.ui.actions.ManageBreakpointRulerActionDelegate">
174          </action>
175       </viewerContribution>
176       </extension>
177 </plugin>