Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: dcd6c6c79c14fb632302f2e430233715dfa06f0d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
   <extension-point id="launchConfigurationTabs" name="Launch Configuration Tabs" schema="schema/launchConfigurationTabs.exsd"/>
   <extension-point id="phpDebugModelPresentations" name="PHP Debug Model Presentations" schema="schema/phpDebugModelPresentations.exsd"/>
   <extension
         point="org.eclipse.debug.ui.debugModelPresentations">
      <debugModelPresentation
            class="org.eclipse.php.internal.debug.ui.presentation.PHPModelPresentationDelegate"
            id="org.eclipse.php.debug.core">
      </debugModelPresentation>
   </extension>
   <extension
         point="org.eclipse.ui.contexts">
      <context
            name="%debuggingPHP.name"
            description="%debuggingPHP.description"
            id="org.eclipse.php.debug.ui.debugging"
            parentId="org.eclipse.debug.ui.debugging">
      </context>
   </extension>
   <extension
         point="org.eclipse.debug.ui.debugModelContextBindings">
      <modelContextBinding
            debugModelId="org.eclipse.php.debug.core"
            contextId="org.eclipse.php.debug.ui.debugging">
      </modelContextBinding>
   </extension>
<!--   <extension
         point="org.eclipse.debug.ui.launchConfigurationTypeImages">
      <launchConfigurationTypeImage
            icon="icons/full/cview16/pda.gif"
            configTypeID="org.eclipse.php.debug.core.launchConfigurationType.php"
            id="org.eclipse.php.debug.ui.launchConfigurationTypeImage">
      </launchConfigurationTypeImage>
   </extension> -->
   <extension
         point="org.eclipse.debug.ui.launchConfigurationTabGroups">
      <launchConfigurationTabGroup
            type="org.eclipse.php.debug.core.launching.PHPExeLaunchConfigurationType"
            description="%runPHPExecutable.description"
            class="org.eclipse.php.internal.debug.ui.launching.PHPExeLaunchConfigurationTabGroup"
            id="org.eclipse.php.deubg.ui.launching.launchConfigurationTabGroup.phpexe">
      </launchConfigurationTabGroup>
    </extension>
    <extension point="org.eclipse.php.debug.ui.launchConfigurationTabs">
       <launchConfigurationTab
          class="org.eclipse.php.internal.debug.ui.launching.PHPExecutableLaunchTab"
          id="org.eclipse.php.debug.ui.launching.exeLaunchConfigurationTab"
          launchConfigurationTabGroupId="org.eclipse.php.deubg.ui.launching.launchConfigurationTabGroup.phpexe"/>
 	</extension>
	<!--======================================================================================-->
	<!-- for breakpoint                                                                       -->
	<!--======================================================================================-->
	<extension point="org.eclipse.wst.sse.ui.breakpoint">
		<breakpointContribution id="org.eclipse.php.debug.ui.providers">
			<provider
				contentTypes="org.eclipse.php.core.phpsource"
				class="org.eclipse.php.internal.debug.ui.breakpoint.provider.PHPBreakpointProvider:*php"
				id="org.eclipse.php.internal.debug.ui.breakpoint.provider.PHPBreakpointProvider" />
		</breakpointContribution>
	</extension> 

	
	<extension
         point="org.eclipse.ui.popupMenus">           
      <viewerContribution
            id="php.editor.menuActions"
            sibling_order="org.eclipse.pde.internal.core.text.plugin.PluginElementNode@16bf146"
            targetID="org.eclipse.php.core.phpsource.source.EditorContext">
         <action
               class="org.eclipse.debug.ui.actions.RunToLineActionDelegate"
               definitionId="org.eclipse.debug.ui.commands.RunToLine"
               id="php.editor.context.runToLineAction"
               label="%runToLine.label"
               menubarPath="additions"/>
         <action
               class="org.eclipse.php.internal.debug.ui.actions.PHPWatchAction"
               enablesFor="+"
               icon="icon/full/etool16/watch_exp.gif"
               id="org.eclipse.php.debug.ui.popup.WatchAction"
               label="%Watch.label"
               menubarPath="additions">
         </action>
         <visibility>
            <and>
             	<systemProperty
                	name="org.eclipse.php.debug.ui.activeDebugging"
                 	value="true"/>
              <objectClass name="org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode"/>
         	</and>
         </visibility>
      </viewerContribution>
      <objectContribution
            objectClass="org.eclipse.php.internal.debug.core.model.PHPConditionalBreakpoint"
            id="org.eclipse.php.debug.PHPBreakpointActions">
         <action
               label="%setCondition.label"
               class="org.eclipse.php.internal.debug.ui.actions.BreakpointSetConditionAction"
               menubarPath="emptyBreakpointGroup"
               enablesFor="1"
               id="org.eclipse.php.debug.ui.actions.BreakpointSetCondition">
         </action>
      </objectContribution>
   </extension>
      <extension
         	point="org.eclipse.core.runtime.adapters">
	      <factory
	            class="org.eclipse.php.internal.debug.ui.breakpoint.adapter.PHPEditorAdapterFactory"
	            adaptableType="org.eclipse.php.internal.ui.editor.PHPStructuredEditor">
				<adapter type="org.eclipse.debug.ui.actions.IRunToLineTarget"/>
	      </factory>
	      
	      <!-- Adapters for contextual launch -->
	      <factory
	            class=""
	            adaptableType="org.eclipse.php.internal.core.phpModel.phpElementData.PHPFileData">
	            <adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
         </factory>
         <factory
	            class=""
	            adaptableType="org.eclipse.core.resources.IResource">
	            <adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
         </factory>
         <factory
	            class=""
	            adaptableType="org.eclipse.ui.IStorageEditorInput">
	            <adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
         </factory>
         <factory
	            class=""
	            adaptableType="org.eclipse.ui.IURIEditorInput">
	            <adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
         </factory>
      </extension>
    <extension
       	point="org.eclipse.debug.ui.variableValueEditors">
    	<variableValueEditor
          modelId="org.eclipse.php.debug.core"
          class="org.eclipse.php.internal.debug.ui.actions.PHPVariableValueEditor"/>
 	</extension>
 	<extension
         point="org.eclipse.debug.ui.consoleColorProviders">
      <consoleColorProvider
            class="org.eclipse.php.internal.debug.ui.console.PHPConsoleColorProvider"
            processType="org.eclipse.php.debug.core.launching.PHPProcess"
            id="org.eclipse.php.debug.ui.consoleColorProvider">
      </consoleColorProvider>
   </extension>
   <extension
         point="org.eclipse.debug.ui.consoleLineTrackers">
      <consoleLineTracker
            class="org.eclipse.php.internal.debug.ui.console.PHPLineTracker"
            processType="org.eclipse.php.debug.core.launching.PHPProcess"
            id="org.eclipse.php.debug.ui.console.PHPLineTracker">
      </consoleLineTracker>
   </extension>
   <extension
         point="org.eclipse.debug.core.watchExpressionDelegates">
         <watchExpressionDelegate
         	debugModel="org.eclipse.php.debug.core"
         	delegateClass="org.eclipse.php.internal.debug.ui.watch.PHPWatchExpressionDelegate"/>
   </extension>
   <extension
         point="org.eclipse.ui.views">
      <!--  Add ICON icon="icons/full/obj16/xxx.gif" -->
      <view
            class="org.eclipse.php.internal.debug.ui.views.PHPStackView"
            category="org.eclipse.php.ui.views"
            icon="platform:/plugin/org.eclipse.php.ui/icons/full/obj16/phpfile.gif"
            name="%parameterStack.name"
            id="org.eclipse.debug.ui.PHPStackView"/>
   </extension>
  
    <extension
          point="org.eclipse.ui.perspectiveExtensions">
       <perspectiveExtension targetID="org.eclipse.debug.ui.DebugPerspective">
          <view
                visible="false"
                relative="org.eclipse.debug.ui.VariableView"
                relationship="stack"
                id="org.eclipse.debug.ui.PHPStackView"/>
       </perspectiveExtension>
    </extension>  
    
    <extension
	     point="org.eclipse.debug.ui.contextViewBindings">
	   <contextViewBinding
	         contextId="org.eclipse.php.debug.ui.debugging"
	         viewId="org.eclipse.debug.ui.PHPStackView"/>
    </extension>
     
    <extension
         point="org.eclipse.ui.views">
      <view
            class="org.eclipse.php.internal.debug.ui.views.DebugOutputView"
            category="org.eclipse.php.ui.views"
            icon="platform:/plugin/org.eclipse.php.ui/icons/full/obj16/phpfile.gif"
            name="%debugOutput.name"
            id="org.eclipse.debug.ui.PHPDebugOutput"/>
   </extension>

<!--   <extension
	     point="org.eclipse.debug.ui.contextViewBindings">
	   <contextViewBinding
	         contextId="org.eclipse.debug.ui.debugging"
	         viewId="PHPDebugOutput"/>
    </extension> -->

    <extension point="org.eclipse.ui.perspectiveExtensions"> 
        <perspectiveExtension 
            targetID="org.eclipse.debug.ui.DebugPerspective"> 
            <view id="org.eclipse.debug.ui.PHPDebugOutput" 
                relative="org.eclipse.ui.console.ConsoleView" 
                relationship="stack" 
            />
            <showInPart id="org.eclipse.ui.views.ResourceNavigator"/> 
        </perspectiveExtension> 
    </extension>     
    
    <extension
         point="org.eclipse.ui.views">
      <view
            class="org.eclipse.php.internal.debug.ui.views.DebugBrowserView"
            category="org.eclipse.php.ui.views"
            icon="platform:/plugin/org.eclipse.php.ui/icons/full/obj16/phpfile.gif"
            name="%browserOutput.name"
            id="org.eclipse.debug.ui.PHPBrowserOutput"/>
   </extension>

    <extension point="org.eclipse.ui.perspectiveExtensions"> 
        <perspectiveExtension 
            targetID="org.eclipse.debug.ui.DebugPerspective"> 
            <view id="org.eclipse.debug.ui.PHPBrowserOutput" 
                relative="org.eclipse.ui.console.ConsoleView" 
                relationship="stack" 
            /> 
        </perspectiveExtension> 
    </extension> 
    
    <!-- =========================== -->
	<!-- PHP Editor Text Hovers      -->
	<!-- =========================== -->
	<extension point="org.eclipse.php.ui.phpEditorTextHovers">
	    <hover
           class="org.eclipse.php.internal.debug.ui.hovers.PHPDebugTextHover"
           description="%phpVariableHoverDescription"
           id="org.eclipse.php.debug.ui.hovers.PHPDebugTextHover"
           label="%phpVariableHoverLabel"
           priority="200">
    	</hover>
    </extension>
    
    <extension point="org.eclipse.ui.preferencePages">
<!--		<page
			category="org.eclipse.php.ui.preferences.PHPBasePreferencePage"
			class="org.eclipse.php.debug.ui.preferences.PhpDebugPreferencePage"
			id="org.eclipse.php.debug.ui.preferences.PhpDebugPreferencePage"
			name="%debugPreferencePageName">
			<keywordReference id="org.eclipse.php.debug.ui.debug" />
		</page> -->
		<page
			category="org.eclipse.php.ui.preferences.PHPBasePreferencePage"
			class="org.eclipse.php.internal.debug.ui.preferences.PHPDebugPropertyPreferencePage"
			id="org.eclipse.php.debug.ui.preferences.PhpDebugPreferencePage"
			name="%debugPreferencePageName">
			<keywordReference id="org.eclipse.php.debug.ui.debug" />
		</page>
      <page
            name="%installPHPPageName"
            category="org.eclipse.php.ui.preferences.PHPBasePreferencePage"
            class="org.eclipse.php.internal.debug.ui.preferences.phps.PHPsPreferencePage"
            id="org.eclipse.php.debug.ui.preferencesphps.PHPsPreferencePage">
         <keywordReference id="org.eclipse.php.debug.ui.debug"/>
      </page>
      <page
            category="org.eclipse.php.debug.ui.preferences.PhpDebugPreferencePage"
            class="org.eclipse.php.internal.debug.ui.preferences.PHPLaunchingPreferencePage"
            id="org.eclipse.php.debug.ui.page1"
            name="%launchingPreferencePageName"/>	
    </extension>
	<extension point="org.eclipse.ui.propertyPages">
		<page
        class="org.eclipse.php.internal.debug.ui.preferences.PHPDebugPropertyPreferencePage"
        id="org.eclipse.php.debug.ui.property.PhpDebugPreferencePage"
        name="%ProjectPage.name"
        objectClass="org.eclipse.core.resources.IProject">
     <filter
           name="nature"
           value="org.eclipse.php.core.PHPNature"/>
  </page>
  <page
        class="org.eclipse.php.internal.debug.ui.breakpoint.property.PHPBreakpointPropertyPage"
        id="org.eclipse.php.debug.ui.property.PHPConditionalBreakpointPropertyPage"
        name="%PHPConditionalBreakpointPage.name"
        objectClass="org.eclipse.php.internal.debug.core.model.PHPConditionalBreakpoint"/>
	</extension>	
	<extension
         point="org.eclipse.ui.perspectives">
      <perspective
            name="%DebugPerspective.name"
            icon="icon/full/obj16/debug_persp.gif" 
            class="org.eclipse.php.internal.debug.ui.PHPDebugPerspectiveFactory"
            id="org.eclipse.php.debug.ui.PHPDebugPerspective">
      </perspective>
   </extension>
   <extension
         point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension
            targetID="org.eclipse.php.debug.ui.PHPDebugPerspective">
	     <view
                visible="true"
                relative="org.eclipse.debug.ui.VariableView"
                relationship="stack"
                id="org.eclipse.debug.ui.PHPStackView">
         </view>       
         <actionSet
               id="org.eclipse.ui.NavigateActionSet">
         </actionSet>
		 <actionSet
               id="org.eclipse.debug.ui.breakpointActionSet">
         </actionSet>
		 <showInPart id="org.eclipse.ui.views.ResourceNavigator"/>
   <actionSet id="org.eclipse.php.debug.ui.actionSet"/>
      </perspectiveExtension>
   </extension>
   <extension
         point="org.eclipse.debug.ui.launchConfigurationTypeImages">
      <launchConfigurationTypeImage
            configTypeID="org.eclipse.php.debug.core.launching.PHPExeLaunchConfigurationType"
            icon="icon/full/obj16/php_exec.gif"
            id="org.eclipse.php.debug.core.launching.PHPExeLaunchConfigurationType"/>
   </extension>
   
   
      <extension
         point="org.eclipse.debug.ui.launchShortcuts">
      <shortcut
            label="%phpexeApplicationShortcut.label"
            modes="run, debug, profile"
            icon="icon/full/obj16/php_exec.gif"
            class="org.eclipse.php.internal.debug.ui.launching.PHPExeLaunchShortcut"
            id="org.eclipse.php.deubg.ui.phpexeShortcut">
		 
		 <contextualLaunch>
		 	<contextLabel mode="run" label="%phpexeApplicationShortcut.label"/>
		 	<enablement>
		 		<count value="1"/>
	 <!-- Pass a 'script' argument for the enablement test -->
     <test
           args="script"
           property="org.eclipse.php.debug.ui.launchablePHP"
           value="true"/>
		 	</enablement>
		 </contextualLaunch>
		 <contextualLaunch>
		 	<contextLabel mode="debug" label="%phpexeApplicationShortcut.label"/>
		 	<enablement>
		 		<count value="1"/>
	 <!-- Pass a 'script' argument for the enablement test -->
     <test
           args="script"
           property="org.eclipse.php.debug.ui.launchablePHP"
           value="true"/>
		 	</enablement>
		 </contextualLaunch>
		 
         <perspective
               id="org.eclipse.ui.resourcePerspective">
         </perspective>
         <perspective
         	   id="org.eclipse.php.perspective">
         </perspective>
         <perspective
               id="org.eclipse.debug.ui.DebugPerspective">
         </perspective>
         <configurationType
    		id="org.eclipse.php.debug.core.launching.PHPExeLaunchConfigurationType">
  		 </configurationType>
 
      </shortcut>
   </extension>
     <extension
         point="org.eclipse.ui.commands">
          <command
            categoryId="org.eclipse.debug.ui.category.run"
            description="Debug PHP Script"
            id="org.eclipse.php.deubg.ui.phpexeShortcut.debug"
            name="Debug PHP Script"/>
          <command
            categoryId="org.eclipse.debug.ui.category.run"
            description="Run PHP Script"
            id="org.eclipse.php.deubg.ui.phpexeShortcut.run"
            name="Run PHP Script"/>                                       
   </extension>
    <extension
         point="org.eclipse.ui.bindings">
      <key
            commandId="org.eclipse.php.deubg.ui.phpexeShortcut.run"
            contextId="org.eclipse.ui.globalScope"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="M3+M2+X H"/>
      <key
            commandId="org.eclipse.php.deubg.ui.phpexeShortcut.debug"
            contextId="org.eclipse.ui.globalScope"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="M3+M2+D H"/>             
    </extension>   
   
<!-- Editor -->
   <extension
         point="org.eclipse.ui.editors">
      <editor
            name="%sourceNotFoundEditorName"
           icon="platform:/plugin/org.eclipse.debug.ui/icons/full/obj16/stckframe_obj.gif" 
            class="org.eclipse.php.internal.debug.ui.sourcelookup.PHPSourceNotFoundEditor"
            id="org.eclipse.php.debug.SourceNotFoundEditor">
      </editor>
   </extension>
   <extension point="org.eclipse.core.expressions.propertyTesters">
      <propertyTester
            class="org.eclipse.php.internal.debug.ui.PropertyTesters.PHPLaunchPropertyTester"
            id="org.eclipse.php.debug.ui.launchPropertyTester"
            namespace="org.eclipse.php.debug.ui"
            properties="launchablePHP"
            type="java.lang.Object"/>
   
   </extension>
 
 <!-- <extension point="org.eclipse.core.expressions.propertyTesters">
   <propertyTester
      id="org.eclipse.wst.server.ui.propertyTester"
      namespace="org.eclipse.wst.server.ui"
      properties="isRunnable"
      type="org.eclipse.php.internal.core.phpModel.parser.PHPCodeDataFactory$PHPFileDataImp"
      class="org.eclipse.php.internal.debug.ui.PropertyTesters.RunnablePropertyTester">
   </propertyTester>
      <propertyTester
      id="org.eclipse.wst.server.ui.propertyTester"
      namespace="org.eclipse.wst.server.ui"
      properties="isRunnable"
      type="org.eclipse.core.internal.resources.Project"
      class="org.eclipse.php.internal.debug.ui.PropertyTesters.RunnablePropertyTester">
   </propertyTester>
      <propertyTester
      id="org.eclipse.wst.server.ui.propertyTester"
      namespace="org.eclipse.wst.server.ui"
      properties="isRunnable"
      type="org.eclipse.core.resources.IFolder"
      class="org.eclipse.php.internal.debug.ui.PropertyTesters.RunnablePropertyTester">
   </propertyTester>
 </extension> -->
 
 <extension
       point="org.eclipse.php.ui.phpPreferencePageBlocks">
    <block
          class="org.eclipse.php.internal.debug.ui.preferences.PHPDebugPreferencesWorkspaceAddon"
          id="org.eclipse.php.debug.ui.debugWorkspacePreferencesAddon"
          name="PHP Debug Preferences Workspace Addon"
          pageId="org.eclipse.php.debug.ui.preferences.PhpDebugPreferencePage"/>
    <block
          class="org.eclipse.php.internal.debug.ui.preferences.PHPDebugPreferencesAddon"
          id="org.eclipse.php.debug.ui.debugProjectPreferencesAddon"
          name="PHP Debug Preferences Addon"
          pageId="org.eclipse.php.debug.ui.property.PhpDebugPreferencePage"/>
 </extension>
 <extension
       point="org.eclipse.ui.themes">
    <themeElementCategory
          id="org.eclipse.php.debug.ui.themePHPDebug"
          label="PHP Debug"/>
 </extension>
 <extension
       point="org.eclipse.php.debug.ui.phpDebugModelPresentations">
    <phpDebugModelPresentation
          class="org.eclipse.php.internal.debug.ui.presentation.PHPModelPresentation"
          id="org.eclipse.php.debug.ui.presentation.phpModelPresentation"/>
 </extension>
 <extension
       point="org.eclipse.ui.actionSets">
    <actionSet
          id="org.eclipse.php.debug.ui.actionSet"
          label="%PHPDebugActionSet.name"
          visible="false">
          <menu
          		label="%RunMenu.label"
          		path="additions"
         		id="org.eclipse.ui.run">
            	<separator
                  	name="phpGroup">
            	</separator>
          </menu>
       <action
             class="org.eclipse.php.internal.debug.ui.actions.PHPWatchAction"
             disabledIcon="icon/full/dtool16/watch_exp.gif"
             enablesFor="+"
             helpContextId="watch_action_context"
             hoverIcon="icon/full/etool16/watch_exp.gif"
             icon="icon/full/etool16/watch_exp.gif"
             id="org.eclipse.php.debug.ui.WatchAction"
             label="%Watch.label"
             menubarPath="org.eclipse.ui.run/phpGroup"
             style="push">
          <enablement>
          		<and>
             		<systemProperty
                   		name="org.eclipse.php.debug.ui.activeDebugging"
                   		value="true"/>
               <objectClass name="org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode"/>
              	</and>
          </enablement>
       </action>
    </actionSet>
 </extension>
   
</plugin>

Back to the top