inital plugin from webtools project
[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.1"
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="%BreakpoingActionSet.label"
110             visible="false"
111             id="org.eclipse.debug.ui.breakpointActionSet">
112          <menu
113                label="%RunMenu.label"
114                path="additions"
115                id="org.eclipse.ui.run">
116             <separator
117                   name="breakpointGroup">
118             </separator>
119          </menu>
120          <action
121                label="%GlobalManageBreakpointAction.label"
122                class="net.sourceforge.phpdt.internal.debug.ui.actions.ManageBreakpointActionDelegate"
123                menubarPath="org.eclipse.ui.run/phpBreakpointGroup"
124                id="net.sourceforge.phpeclipse.debug.ui.ManageBreakpointActionDelegate">
125          </action>
126       </actionSet>
127    </extension>   -->
128    <extension
129          point="org.eclipse.ui.contexts">
130       <context
131             name="%Context.Debugging.name"
132             description="%Context.Debugging.description"
133             id="net.sourceforge.phpeclipse.debug.ui.debugging"
134             parentId="org.eclipse.debug.ui.debugging">
135       </context>
136    </extension>
137    <extension
138          point="org.eclipse.debug.ui.debugModelContextBindings">
139       <modelContextBinding
140             debugModelId="net.sourceforge.phpeclipse.debug.core"
141             contextId="net.sourceforge.phpeclipse.debug.ui.debugging">
142       </modelContextBinding>
143    </extension>
144    <extension
145          point="net.sourceforge.phpeclipse.phpEditorTextHovers">
146       <hover
147             label="%DebugHover.label"
148             description="%DebugHover.description"
149             class="net.sourceforge.phpdt.internal.debug.ui.PHPDebugHover"
150             id="net.sourceforge.phpdt.ui.DebugHover">
151       </hover>
152    </extension>
153    
154         <!-- Adapters for contextual launch -->
155         <extension point="org.eclipse.core.runtime.adapters">
156          <factory 
157             class="" 
158             adaptableType="net.sourceforge.phpdt.core.IJavaElement">
159             <adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
160          </factory>
161          <factory 
162             class="" 
163             adaptableType="org.eclipse.core.resources.IResource">
164             <adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
165          </factory>         
166     </extension>
167     
168    <!-- Adapters for retargettable actions -->
169         <extension point="org.eclipse.core.runtime.adapters">
170          <factory 
171             class="net.sourceforge.phpdt.internal.debug.ui.actions.RetargettableActionAdapterFactory" 
172             adaptableType="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor">
173      <!--       <adapter type="org.eclipse.debug.ui.actions.IRunToLineTarget"/>  -->
174             <adapter type="org.eclipse.debug.ui.actions.IToggleBreakpointsTarget"/>
175          </factory>
176     </extension>
177     <extension
178          point="org.eclipse.ui.popupMenus">     
179       <viewerContribution
180             targetID="#PHPRulerContext"
181             id="net.sourceforge.phpdt.ui.PHPUnitEditorPopupActions">
182   <!--       <action
183                label="%JavaBreakpointProperties.label"
184                helpContextId="breakpoint_properties_action_context"
185                class="org.eclipse.jdt.internal.debug.ui.actions.JavaBreakpointPropertiesRulerActionDelegate"
186                menubarPath="debug"
187                id="org.eclipse.jdt.debug.ui.actions.JavaBreakpointPropertiesRulerActionDelegate">
188          </action>
189          <action
190                label="%EnableBreakpoint.label"
191                helpContextId="enable_disable_breakpoint_action_context"
192                class="org.eclipse.jdt.internal.debug.ui.actions.EnableDisableBreakpointRulerActionDelegate"
193                menubarPath="debug"
194                id="org.eclipse.jdt.debug.ui.actions.EnableDisableBreakpointRulerActionDelegate">
195          </action>  -->
196          <action
197                label="%AddBreakpoint.label"
198                helpContextId="manage_breakpoint_action_context"
199                class="net.sourceforge.phpdt.internal.debug.ui.actions.PHPManageBreakpointRulerActionDelegate"
200                menubarPath="debug"
201                id="net.sourceforge.phpdt.internal.debug.ui.actions.PHPManageBreakpointRulerActionDelegate">
202          </action>
203       </viewerContribution>
204     </extension>
205 </plugin>