fixed bug #1037094 (foreach)
[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.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.debug.core"/>
26       <import plugin="net.sourceforge.phpeclipse.launching"/>
27       <import plugin="net.sourceforge.phpeclipse"/>
28    </requires>
29
30
31 <!-- Extensions -->
32    <extension
33          point="org.eclipse.ui.preferencePages">
34       <page
35             name="%PreferencePage.PHPInterpreter.name"
36             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
37             class="net.sourceforge.phpdt.internal.debug.ui.preferences.PHPInterpreterPreferencePage"
38             id="net.sourceforge.phpdt.debug.ui.preferences.PreferencePagePHPInterpreter">
39       </page>
40    </extension>
41    <extension
42          point="org.eclipse.ui.editorActions">
43       <editorContribution
44             targetID="net.sourceforge.phpeclipse.PHPUnitEditor"
45             id="net.sourceforge.phpdt.internal.debug.ui.actions.BreakpointRulerActions">
46          <action
47                label="%Dummy.label"
48                class="net.sourceforge.phpdt.internal.debug.ui.actions.PHPManageBreakpointRulerActionDelegate"
49                actionID="RulerDoubleClick"
50                id="net.sourceforge.phpdt.internal.debug.ui.actions.ManageBreakpointRulerAction">
51          </action>
52       </editorContribution>
53    </extension>
54    <extension
55          point="org.eclipse.debug.core.sourceLocators">
56       <sourceLocator
57             name="PHPSourceLocator"
58             class="net.sourceforge.phpdt.internal.debug.ui.PHPSourceLocator"
59             id="net.sourceforge.phpdt.debug.ui.PHPSourceLocator">
60       </sourceLocator>
61    </extension>
62 <!-- Debug Model -->
63    <extension
64          point="org.eclipse.debug.ui.debugModelPresentations">
65       <debugModelPresentation
66             class="net.sourceforge.phpdt.internal.debug.ui.PHPDebugModelPresentation"
67             id="net.sourceforge.phpeclipse.debug.core">
68       </debugModelPresentation>
69    </extension>
70 <!-- Launcher extensions -->
71    <extension
72          point="org.eclipse.debug.ui.launchConfigurationTypeImages">
73       <launchConfigurationTypeImage
74             icon="icons/ctool16/run_php.gif"
75             configTypeID="net.sourceforge.phpdt.launching.LaunchConfigurationTypePHPApplication"
76             id="net.sourceforge.phpdt.debug.ui.LaunchConfigurationTypeImagePHPApplication">
77       </launchConfigurationTypeImage>
78    </extension>
79    <extension
80          point="org.eclipse.debug.ui.launchConfigurationTabGroups">
81       <launchConfigurationTabGroup
82             type="net.sourceforge.phpdt.launching.LaunchConfigurationTypePHPApplication"
83             class="net.sourceforge.phpdt.internal.debug.ui.launcher.PHPApplicationTabGroup"
84             id="net.sourceforge.phpdt.debug.ui.LaunchConfigurationTabGroupPHPApplication">
85       </launchConfigurationTabGroup>
86    </extension>
87    <extension
88          point="org.eclipse.debug.ui.launchShortcuts">
89       <shortcut
90             label="%LaunchShortcut.PHP.label"
91             icon="icons/ctool16/run_php.gif"
92             modes="run,debug"
93             class="net.sourceforge.phpdt.internal.debug.ui.launcher.PHPLaunchShortcut"
94             id="net.sourceforge.phpdt.debug.ui.applicationshortcut.php">
95       </shortcut>
96    </extension> 
97 <!-- Breakpoint Image -->
98    <extension
99          point="org.eclipse.ui.ide.markerImageProviders">
100       <imageprovider
101             markertype="net.sourceforge.phpeclipse.debug.core.phpLineBreakpointMarker"
102             icon="icons/obj16/brkp_obj.gif"
103             id="net.sourceforge.phpeclipse.debug.core.PHPLineBreakpointMarkerProvider">
104       </imageprovider>
105    </extension>
106    <extension
107          point="org.eclipse.ui.actionSets">
108       <actionSet
109             label="%DebugActionSet.label"
110             id="net.sourceforge.phpeclipse.debug.ui.actionSet1">
111          <menu
112                label="%RunMenu.label"
113                path="additions"
114                id="org.eclipse.ui.run">
115             <groupMarker
116                   name="PHPBreakpointGroup">
117             </groupMarker>
118          </menu>
119          <action
120                label="%GlobalManageBreakpointAction.label"
121                class="net.sourceforge.phpdt.internal.debug.ui.actions.ManageBreakpointActionDelegate"
122                menubarPath="org.eclipse.ui.run/PHPBreakpointGroup"
123                id="net.sourceforge.phpeclipse.debug.ui.ManageBreakpointActionDelegate">
124          </action>
125       </actionSet>
126    </extension>
127    <extension
128          point="org.eclipse.ui.contexts">
129       <context
130             name="%Context.Debugging.name"
131             description="%Context.Debugging.description"
132             id="net.sourceforge.phpeclipse.debug.ui.debugging"
133             parentId="org.eclipse.debug.ui.debugging">
134       </context>
135    </extension>
136    <extension
137          point="org.eclipse.debug.ui.debugModelContextBindings">
138       <modelContextBinding
139             debugModelId="net.sourceforge.phpeclipse.debug.core"
140             contextId="net.sourceforge.phpeclipse.debug.ui.debugging">
141       </modelContextBinding>
142    </extension>
143    <extension
144          point="net.sourceforge.phpeclipse.phpEditorTextHovers">
145       <hover
146             label="%DebugHover.label"
147             description="%DebugHover.description"
148             class="net.sourceforge.phpdt.internal.debug.ui.PHPDebugHover"
149             id="net.sourceforge.phpdt.ui.DebugHover">
150       </hover>
151    </extension>
152    <!-- Adapters for retargettable actions -->
153         <extension point="org.eclipse.core.runtime.adapters">
154          <factory 
155             class="net.sourceforge.phpdt.internal.debug.ui.actions.RetargettableActionAdapterFactory" 
156             adaptableType="net.sourceforge.phpeclipse.PHPUnitEditor">
157             <adapter type="org.eclipse.debug.ui.actions.IRunToLineTarget"/>
158             <adapter type="org.eclipse.debug.ui.actions.IToggleBreakpointsTarget"/>
159          </factory>
160     </extension>
161     <extension
162          point="org.eclipse.ui.popupMenus">
163          <viewerContribution
164             targetID="#CompilationUnitRulerContext"
165             id="org.eclipse.jdt.debug.ui.CompilationUnitRulerPopupActions">
166          <action
167                label="%AddBreakpoint.label"
168                helpContextId="manage_breakpoint_action_context"
169                class="net.sourceforge.phpdt.internal.debug.ui.actions.PHPManageBreakpointRulerActionDelegate"
170                menubarPath="debug"
171                id="net.sourceforge.phpdt.internal.debug.ui.actions.ManageBreakpointRulerActionDelegate">
172          </action>
173       </viewerContribution>
174       </extension>
175 </plugin>