inital plugin from webtools project
[phpeclipse.git] / net.sourceforge.phpeclipse / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.0"?>
3 <plugin
4    id="net.sourceforge.phpeclipse"
5    name="%pluginName"
6    version="1.1.1"
7    provider-name="%providerName"
8    class="net.sourceforge.phpeclipse.PHPeclipsePlugin">
9     
10    <runtime>
11       <library name="phpeclipse.jar">
12         <export name="*"/>
13       </library>
14    </runtime>
15    <requires>
16       <import plugin="org.eclipse.core.runtime.compatibility"/>
17       <import plugin="org.eclipse.ui"/>
18       <import plugin="org.eclipse.ui.console"/>
19       <import plugin="org.eclipse.core.resources"/>
20       <import plugin="org.eclipse.search"/> 
21       <import plugin="org.eclipse.debug.core"/>
22       <import plugin="org.eclipse.debug.ui"/>
23       <import plugin="org.eclipse.compare"/>
24       <import plugin="org.eclipse.core.filebuffers"/>
25       <import plugin="org.eclipse.jface.text"/>
26       <import plugin="org.eclipse.ui.workbench.texteditor"/>
27       <import plugin="org.eclipse.ui.ide"/>
28       <import plugin="org.eclipse.ui.views"/>
29       <import plugin="org.eclipse.ui.editors"/>
30       <import plugin="org.eclipse.ui.externaltools"/>
31       <import plugin="org.eclipse.help"/>
32       <import plugin="org.eclipse.swt"/>
33       <import plugin="org.eclipse.search"/>
34       <import plugin="org.eclipse.update.ui"/>
35       <import plugin="net.sourceforge.phpeclipse.quantum.sql"/> 
36       <import plugin="net.sourceforge.phpeclipse.webbrowser"/>
37       <import plugin="net.sourceforge.phpeclipse.core"/>
38       <import plugin="net.sourceforge.phpeclipse.ui"/>
39       <import plugin="net.sourceforge.phpeclipse.xml.core"/>
40       <import plugin="net.sourceforge.phpeclipse.xml.ui"/>
41    </requires>
42
43    <extension
44          id="phpnature"
45          name="%naturePHP.name"
46          point="org.eclipse.core.resources.natures">
47       <runtime>
48          <run
49           class="net.sourceforge.phpdt.internal.core.JavaProject">
50          </run>
51       </runtime>
52    </extension>
53    
54    <extension
55          id="parserbuilder"
56          name="PHP Builder"
57          point="org.eclipse.core.resources.builders">
58       <builder>
59          <run  
60            class="net.sourceforge.phpdt.internal.core.builder.PHPBuilder">
61          </run>
62       </builder>
63    </extension>
64    <!-- =================================================================================== -->
65 <!-- Extension: Java Markers                                                             -->
66 <!-- =================================================================================== -->
67
68 <!-- Java problems -->
69
70 <extension id="problem" point="org.eclipse.core.resources.markers" name="%phpProblemName">
71         <super type="org.eclipse.core.resources.problemmarker"/>
72         <super type="org.eclipse.core.resources.textmarker"/>
73         <persistent value="true"/>
74         <attribute name="id"/>
75         <attribute name="flags"/>
76         <attribute name="arguments"/>
77 </extension>   
78
79 <!-- Java transient problems -->
80
81 <extension id="transient_problem" point="org.eclipse.core.resources.markers" name="%transientPHPProblemName">
82         <super type="org.eclipse.core.resources.textmarker"/>
83         <persistent value="false"/>
84         <attribute name="id"/>
85         <attribute name="flags"/>
86         <attribute name="arguments"/>
87 </extension>
88
89 <!-- PHP tasks -->
90
91 <extension id="task" name="%phpTaskName" point="org.eclipse.core.resources.markers">
92     <super type="org.eclipse.core.resources.taskmarker"/> 
93     <persistent value="true"/>
94 </extension>
95
96    <extension-point id="phpEditorTextHovers" name="%phpEditorTextHoversName" schema="schema/phpEditorTextHovers.exsd"/> 
97    <extension-point id="foldingStructureProviders" name="%foldingStructureProvidersExtensionPoint" schema="schema/foldingStructureProviders.exsd"/>
98    
99   <extension
100         point="org.eclipse.ui.decorators">
101  <!--
102         <decorator
103                 label="%ProblemsLabelDecorator.label"
104                 state="false"
105                 lightweight="true"
106                 location="BOTTOM_LEFT"
107                 class="net.sourceforge.phpdt.ui.ProblemsLabelDecorator"
108                 id="net.sourceforge.phpdt.ui.problem.decorator">
109                 <description>
110                         %ProblemsLabelDecorator.description
111                 </description>
112                 <enablement>
113                         <or>
114                                 <objectClass
115                                         name="org.eclipse.core.resources.IResource">
116                                 </objectClass>         
117                                 <objectClass
118                                         name="net.sourceforge.phpdt.core.IJavaElement">
119                                 </objectClass>
120                         </or>                
121                 </enablement>
122         </decorator>
123         -->
124         <decorator
125                 label="%OverrideIndicatorLabelDecorator.label"
126                 lightweight="true"
127                 location="BOTTOM_RIGHT"         
128                 state="true"
129                 class="net.sourceforge.phpdt.ui.OverrideIndicatorLabelDecorator"
130                 id="net.sourceforge.phpdt.ui.override.decorator">
131                 <description>
132                         %OverrideIndicatorLabelDecorator.description
133                 </description>
134                 <enablement>
135                         <objectClass
136                                 name="net.sourceforge.phpdt.core.IMethod">
137                         </objectClass>
138                 </enablement>
139         </decorator>    
140 </extension>
141
142    
143    <extension
144          point="org.eclipse.team.core.fileTypes">
145       <fileTypes
146             type="text"
147             extension="php">
148       </fileTypes>
149       <fileTypes
150             type="text"
151             extension="php3">
152       </fileTypes>
153       <fileTypes
154             type="text"
155             extension="php4">
156       </fileTypes>
157       <fileTypes
158             type="text"
159             extension="php5"> 
160       </fileTypes>
161       <fileTypes
162             type="text"
163             extension="module">
164       </fileTypes>
165       <fileTypes
166             type="text"
167             extension="inc">
168       </fileTypes>
169       <fileTypes
170             type="text"
171             extension="phtml">
172       </fileTypes>
173       <fileTypes
174             type="text"
175             extension="html">
176       </fileTypes>
177       <fileTypes
178             type="text"
179             extension="htm">
180       </fileTypes>
181       <fileTypes
182             type="text"
183             extension="xhtml">
184       </fileTypes> 
185   <!--    <fileTypes
186             type="text"
187             extension="tpl">
188       </fileTypes> -->
189    </extension>
190    
191    <extension
192       point="net.sourceforge.phpeclipse.phpEditorTextHovers">
193    <hover
194          class="net.sourceforge.phpdt.internal.ui.text.java.hover.BestMatchHover"
195          id="net.sourceforge.phpdt.ui.BestMatchHover"
196          label="%sequentialHover"
197          description="%sequentialHoverDescription">
198    </hover>
199 </extension>
200
201 <extension
202       point="net.sourceforge.phpeclipse.phpEditorTextHovers">
203    <hover
204          class="net.sourceforge.phpdt.internal.ui.text.java.hover.JavaSourceHover"
205          id="net.sourceforge.phpdt.ui.JavaSourceHover"
206          label="%sourceHover"
207          description="%sourceHoverDescription">
208    </hover>
209    <hover
210             label="%problemHover"
211             description="%problemHoverDescription"
212             class="net.sourceforge.phpdt.internal.ui.text.java.hover.ProblemHover"
213             id="net.sourceforge.phpdt.ui.ProblemHover">
214    </hover>
215    <hover
216          class="net.sourceforge.phpdt.internal.ui.text.java.hover.AnnotationHover"
217          id="net.sourceforge.phpdt.ui.AnnotationHover"
218          label="%annotationHover" 
219          description="%annotationHoverDescription">
220    </hover>
221    </extension>
222
223    <extension
224          point="org.eclipse.ui.perspectives">
225       <perspective
226             name="%perspectivePHP.name"
227             icon="icons/obj16/php.gif"
228             class="net.sourceforge.phpeclipse.PHPPerspectiveFactory"
229             id="net.sourceforge.phpeclipse.PHPPerspective">
230       </perspective>
231    </extension>
232    <extension
233          point="org.eclipse.ui.newWizards">
234       <category
235             name="%newWizardCategory.name"
236             id="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP">
237       </category>
238       <wizard
239             name="%newWizardPHPProject.name"
240             icon="icons/obj16/php.gif"
241             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
242             class="net.sourceforge.phpeclipse.wizards.NewProjectCreationWizard"
243             project="true"
244             id="net.sourceforge.phpeclipse.wizards.NewWizardProjectCreation">
245          <description>
246             Create a new PHP project.
247          </description>
248       </wizard>
249  <!--    <wizard
250                 id="net.sourceforge.phpdt.internal.ui.wizards.NewClassCreationWizard"
251                 name="%NewPHPClass.label"
252                 class="net.sourceforge.phpdt.internal.ui.wizards.NewClassCreationWizard"
253                 category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
254                 icon="icons/ctool16/newclass_wiz.gif">
255                 <description>%NewPHPClass.description</description>
256         </wizard>      -->
257 <!--
258 <this wizard replaces it as it works - maybe not as pretty but still>
259
260       <wizard
261             name="%newWizardPHPProject.name"
262             icon="icons/obj16/php.gif"
263             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
264             class="net.sourceforge.phpeclipse.wizards.TempnewPHPProject"
265             project="true"
266             id="net.sourceforge.phpeclipse.wizards.NewWizardProjectCreation">
267          <description>
268             Create a new PHP project.
269          </description>
270       </wizard> -->
271       <wizard
272             name="%newWizardPHPFile.name"
273             icon="icons/obj16/phpedit.gif"
274             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
275             class="net.sourceforge.phpeclipse.wizards.PHPFileWizard"
276             id="net.sourceforge.phpeclipse.wizards.PHPFileWizard">
277          <description>
278             Create a basic PHP file.
279          </description>
280       </wizard>
281       <wizard
282             name="%newWizardHTMLFile.name"
283             icon="icons/obj16/htmledit.gif"
284             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
285             class="net.sourceforge.phpeclipse.wizards.HTMLFileWizard"
286             id="net.sourceforge.phpeclipse.wizards.HTMLFileWizard">
287          <description>
288             Create a basic HTML file.
289          </description>
290       </wizard>
291    </extension>
292    <extension point="org.eclipse.ui.exportWizards">
293      <wizard name="%ExportWizards.Obfuscator" 
294              icon="icons/ctool16/exportdir_wiz.gif" 
295              class="net.sourceforge.phpeclipse.obfuscator.export.ObfuscatorExportWizard" 
296              id="net.sourceforge.phpeclipse.obfuscator.export.ObfuscatorExportWizard">
297      <description>%ExportWizards.ObfuscatorDescription</description> 
298      <selection class="org.eclipse.core.resources.IResource" /> 
299      </wizard>
300   </extension>
301    <extension
302          point="org.eclipse.ui.ide.projectNatureImages">
303       <image
304             icon="icons/obj16/php.gif"
305             natureId="net.sourceforge.phpeclipse.phpnature"
306             id="net.sourceforge.phpeclipse.ProjectNatureImagePHP">
307       </image>
308    </extension>
309    <extension
310          point="org.eclipse.ui.propertyPages">
311 <!--      <page
312             objectClass="org.eclipse.core.resources.IProject"
313             name="%propertyPagePHPProject.name"
314             class="net.sourceforge.phpeclipse.preferences.PHPProjectPropertyPage"
315             id="net.sourceforge.phpeclipse.preferences.PHPProjectPropertyPage">
316          <filter
317                name="nature"
318                value="net.sourceforge.phpeclipse.phpnature">
319          </filter>
320       </page> 
321       <page
322             objectClass="org.eclipse.core.resources.IProject"
323             name="PHP Project Settings"
324             class="net.sourceforge.phpeclipse.preferences.PHPMiscProjectPreferences"
325             id="net.sourceforge.phpeclipse.preferences.project.PHPMiscProjectPreferences">
326          <filter
327                name="nature"
328                value="net.sourceforge.phpeclipse.phpnature">
329          </filter>
330       </page> -->
331       <page
332             objectClass="org.eclipse.core.resources.IProject"
333             name="%todoPageName"
334             class="net.sourceforge.phpdt.internal.ui.preferences.TodoTaskPropertyPage"
335             id="net.sourceforge.phpdt.ui.propertyPages.TodoTaskPropertyPage">
336          <filter
337                name="nature"
338                value="net.sourceforge.phpeclipse.phpnature">
339          </filter>
340       </page>
341       <page
342             objectClass="net.sourceforge.phpdt.core.IJavaProject"
343             name="%todoPageName"
344             class="net.sourceforge.phpdt.internal.ui.preferences.TodoTaskPropertyPage"
345             id="net.sourceforge.phpdt.ui.propertyPages.TodoTaskPropertyPage">
346          <filter
347                name="nature"
348                value="net.sourceforge.phpeclipse.phpnature">
349          </filter>
350       </page>
351             <page
352             objectClass="org.eclipse.core.resources.IProject"
353             name="%compilerPageName"
354             class="net.sourceforge.phpdt.internal.ui.preferences.CompilerPropertyPage"
355             id="net.sourceforge.phpdt.ui.propertyPages.CompilerPropertyPage">
356          <filter
357                name="nature"
358                value="net.sourceforge.phpeclipse.phpnature">
359          </filter>
360       </page>
361       <page
362             objectClass="net.sourceforge.phpdt.core.IJavaProject"
363             name="%compilerPageName"
364             class="net.sourceforge.phpdt.internal.ui.preferences.CompilerPropertyPage"
365             id="net.sourceforge.phpdt.ui.propertyPages.CompilerPropertyPage">
366          <filter
367                name="nature"
368                value="net.sourceforge.phpeclipse.phpnature">
369          </filter>
370       </page>
371      <!--  <page
372             objectClass="org.eclipse.core.resources.IFile"
373             name="PHP File Settings"
374             class="net.sourceforge.phpeclipse.preferences.PHPPreviewProjectPreferences"
375             id="net.sourceforge.phpeclipse.preferences.PHPPreviewProjectPreferences">
376       </page> -->
377    </extension>
378 <!--   <extension
379          point="org.eclipse.ui.views">
380       <view
381             name="%viewPHPResources.name"
382             icon="icons/obj16/php.gif"
383             class="net.sourceforge.phpeclipse.resourcesview.PHPResourcesView"
384             id="net.sourceforge.phpeclipse.resourcesview.ViewPHPResources">
385       </view>
386    </extension> -->
387    <extension
388          point="org.eclipse.ui.editors">
389       <editor
390             name="%phpEditorName"
391             default="true"
392             icon="icons/obj16/phpedit.gif"
393             extensions="php"
394             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
395             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
396             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
397             id="net.sourceforge.phpeclipse.PHPUnitEditor">
398       </editor>
399       <editor
400             name="%phpEditorName"
401             default="true"
402             icon="icons/obj16/phpedit.gif"
403             extensions="php3"
404             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
405             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
406             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
407             id="net.sourceforge.phpeclipse.PHPUnitEditor">
408       </editor>
409       <editor
410             name="%phpEditorName"
411             default="true"
412             icon="icons/obj16/phpedit.gif"
413             extensions="php4"
414             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
415             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
416             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
417             id="net.sourceforge.phpeclipse.PHPUnitEditor">
418       </editor>
419       <editor
420             name="%phpEditorName"
421             default="true"
422             icon="icons/obj16/phpedit.gif"
423             extensions="module"
424             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
425             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
426             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
427             id="net.sourceforge.phpeclipse.PHPUnitEditor">
428       </editor>
429       <editor
430             name="%phpEditorName"
431             default="true"
432             icon="icons/obj16/phpedit.gif"
433             extensions="php5"
434             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
435             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
436             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
437             id="net.sourceforge.phpeclipse.PHPUnitEditor">
438       </editor>
439       <editor
440             name="%phpEditorName"
441             default="true"
442             icon="icons/obj16/phpedit.gif"
443             extensions="inc"
444             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
445             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
446             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
447             id="net.sourceforge.phpeclipse.PHPUnitEditor">
448       </editor>
449       <editor
450             name="%phpEditorName"
451             default="true"
452             icon="icons/obj16/phpedit.gif"
453             extensions="phtml"
454             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
455             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
456             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
457             id="net.sourceforge.phpeclipse.PHPUnitEditor">
458       </editor>
459       <editor
460             name="%phpEditorName"
461             default="true"
462             icon="icons/obj16/htmledit.gif"
463             extensions="htm" 
464             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
465             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
466             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
467             id="net.sourceforge.phpeclipse.PHPUnitEditor">
468       </editor>
469       <editor
470             name="%phpEditorName"
471             default="true"
472             icon="icons/obj16/htmledit.gif"
473             extensions="html"
474             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
475             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
476             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
477             id="net.sourceforge.phpeclipse.PHPUnitEditor">
478       </editor>
479       <editor
480             name="%phpEditorName"
481             default="true"
482             icon="icons/obj16/htmledit.gif"
483             extensions="xhtml"
484             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
485             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
486             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
487             id="net.sourceforge.phpeclipse.PHPUnitEditor">
488       </editor>
489   <!--    <editor
490             name="%phpEditorName"
491             default="true"
492             icon="icons/obj16/htmledit.gif"
493             extensions="tpl"
494             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
495             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
496             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
497             id="net.sourceforge.phpeclipse.PHPUnitEditor">
498       </editor> -->
499    </extension>
500       <extension
501          point="org.eclipse.ui.fontDefinitions">
502       <fontDefinition
503             label="%phpEditorFontDefiniton.label"
504             defaultsTo="org.eclipse.jface.textfont"
505             id="net.sourceforge.phpdt.ui.editors.textfont">
506          <description>
507             %phpEditorFontDefintion.description
508          </description>
509       </fontDefinition>
510    </extension>
511    <extension
512          point="org.eclipse.ui.editors.annotationTypes">
513       <type
514          name="net.sourceforge.phpdt.ui.error"
515          super="org.eclipse.ui.workbench.texteditor.error"
516          markerType="net.sourceforge.phpeclipse.problem"
517          markerSeverity="2">
518       </type>
519       <type
520          name="net.sourceforge.phpdt.ui.warning"
521          super="org.eclipse.ui.workbench.texteditor.warning"
522          markerType="net.sourceforge.phpeclipse.problem"
523          markerSeverity="1">
524       </type>
525       <type
526          name="net.sourceforge.phpdt.ui.info"
527          super="org.eclipse.ui.workbench.texteditor.info"
528          markerType="net.sourceforge.phpeclipse.problem"
529          markerSeverity="0">
530       </type>
531       <type
532          name="net.sourceforge.phpdt.ui.occurrences">
533       </type>
534    </extension>
535    <extension
536          point="org.eclipse.ui.editors.markerAnnotationSpecification">
537       <specification
538             annotationType="net.sourceforge.phpdt.ui.error"
539             annotationImageProvider="net.sourceforge.phpeclipse.phpeditor.JavaAnnotationImageProvider">
540       </specification>
541       <specification
542             annotationType="net.sourceforge.phpdt.ui.warning"
543             annotationImageProvider="net.sourceforge.phpeclipse.phpeditor.JavaAnnotationImageProvider">
544       </specification>
545       <specification
546             annotationType="net.sourceforge.phpdt.ui.info"
547             annotationImageProvider="net.sourceforge.phpeclipse.phpeditor.JavaAnnotationImageProvider">
548       </specification>
549       <specification 
550             annotationType="org.eclipse.debug.core.breakpoint"
551             icon="icons/full/obj16/brkp_obj.gif"
552             annotationImageProvider="net.sourceforge.phpeclipse.phpeditor.BreakpointImageProvider">
553       </specification>
554           <specification
555             annotationType="net.sourceforge.phpdt.ui.occurrences"
556             label="%OccurrenceAnnotation.label"
557             icon="icons/full/obj16/searchm_obj.gif"
558             textPreferenceKey="occurrenceIndication"
559             textPreferenceValue="false"
560             highlightPreferenceKey="occurrenceHighlighting"
561             highlightPreferenceValue="true"
562             overviewRulerPreferenceKey="occurrenceIndicationInOverviewRuler"
563             overviewRulerPreferenceValue="true"
564             verticalRulerPreferenceKey="occurrenceIndicationInVerticalRuler"
565             verticalRulerPreferenceValue="false"
566             colorPreferenceKey="occurrenceIndicationColor"
567             colorPreferenceValue="180,207,205"
568             presentationLayer="3"
569             showInNextPrevDropdownToolbarActionKey="showOccurrenceInNextPrevDropdownToolbarAction"
570             showInNextPrevDropdownToolbarAction="true"
571             isGoToNextNavigationTargetKey="isOccurrenceGoToNextNavigationTarget"
572                 isGoToNextNavigationTarget="false"
573             isGoToPreviousNavigationTargetKey="isOccurrenceGoToPreviousNavigationTarget"
574                 isGoToPreviousNavigationTarget="false">
575           </specification>
576     </extension>
577    <extension
578          point="org.eclipse.ui.actionSets">
579       <actionSet
580             label="PHP/Apache"
581             visible="true"
582             id="net.sourceforge.phpeclipse.PHPActionSet">
583          <menu
584                label="PHP/Apache"
585                id="net.sourceforge.phpeclipse.PHPMenu">
586             <separator
587                   name="phpeclipse">
588             </separator>
589          </menu>
590          <action
591                label="Restart Apache"
592                icon="icons/obj16/apache_restart.gif"
593                tooltip="Restart Apache"
594                class="net.sourceforge.phpeclipse.actions.PHPRestartApacheAction"
595                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
596                toolbarPath="Normal"
597                id="net.sourceforge.phpeclipse.actions.PHPRestartApacheAction">
598          </action>
599          <action
600                label="Stop Apache"
601                icon="icons/obj16/apache_stop.gif"
602                tooltip="Stop Apache"
603                class="net.sourceforge.phpeclipse.actions.PHPStopApacheAction"
604                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
605                toolbarPath="Normal"
606                id="net.sourceforge.phpeclipse.actions.PHPStopApacheAction">
607          </action>
608          <action
609                label="Start Apache"
610                icon="icons/obj16/apache.gif"
611                tooltip="Start Apache"
612                class="net.sourceforge.phpeclipse.actions.PHPStartApacheAction"
613                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
614                toolbarPath="Normal"
615                id="net.sourceforge.phpeclipse.actions.PHPStartApacheAction">
616          </action>
617          <action
618                label="Start MySQL"
619                icon="icons/obj16/sql.gif"
620                tooltip="Start MySQL"
621                class="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction"
622                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
623                toolbarPath="Normal"
624                id="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction">
625          </action>
626       </actionSet>
627
628       <actionSet
629             label="%CodingActionSet.label"
630             description="%CodingActionSet.description"
631             visible="false"
632             id="net.sourceforge.phpeclipse.ui.CodingActionSet">   
633 <!-- =========================================================================== -->
634 <!-- Source Menu                                                                 -->
635 <!-- =========================================================================== -->
636          <menu
637                label="%SourceMenu.label"
638                path="edit"
639                id="net.sourceforge.phpeclipse.ui.source.menu">
640                 <separator 
641                       name="editGroup">
642                 </separator>
643             <separator
644                   name="convertGroup">
645             </separator>
646          </menu>
647          <action
648                definitionId="net.sourceforge.phpeclipse.phpeditor.format"
649                label="%FormatAction.label"
650                retarget="true"
651                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
652                id="net.sourceforge.phpeclipse.phpeditor.Format">
653          </action>
654          <action
655                label="%ShiftLeftAction.label"
656                retarget="true"
657                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
658                id="net.sourceforge.phpeclipse.phpeditor.ShiftLeft">
659          </action>
660          <action
661                label="%ShiftRightAction.label"
662                retarget="true"
663                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
664                id="net.sourceforge.phpeclipse.phpeditor.ShiftRight">
665          </action>
666          <action
667                definitionId="net.sourceforge.phpeclipse.remove.block.comment"
668                label="%RemoveBlockCommentAction.label"
669                retarget="true"
670                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
671                id="net.sourceforge.phpeclipse.ui.actions.RemoveBlockComment">
672          </action>
673          <action
674                definitionId="net.sourceforge.phpeclipse.add.block.comment"
675                label="%AddBlockCommentAction.label"
676                retarget="true"
677                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
678                id="net.sourceforge.phpeclipse.ui.actions.AddBlockComment">
679          </action> 
680          <action
681                definitionId="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
682                label="%ToggleCommentAction.label"
683                retarget="true"
684                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
685                id="net.sourceforge.phpeclipse.ui.actions.ToggleComment">
686          </action>
687          <action
688                definitionId="net.sourceforge.phpeclipse.phpeditor.uncomment"
689                label="%UncommentAction.label"
690                retarget="true"
691                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
692                id="net.sourceforge.phpeclipse.phpeditor.Uncomment">
693          </action>
694          <action
695                definitionId="net.sourceforge.phpeclipse.phpeditor.comment"
696                label="%CommentAction.label"
697                retarget="true"
698                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
699                id="net.sourceforge.phpeclipse.phpeditor.Comment">
700          </action>
701 <!-- convert group -->
702          <menu
703                label="%ConvertLineDelimitersActions.label"
704                path="net.sourceforge.phpeclipse.ui.source.menu/convertGroup"
705                id="convertSubMenu">
706             <separator
707                   name="group1">
708             </separator>
709          </menu>
710          <action
711                label="%ConvertLineDelimitersToMacAction.label"
712                retarget="true"
713                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/convertSubMenu/group1"
714                allowLabelUpdate="true"
715                id="net.sourceforge.phpeclipse.ui.actions.ConvertLineDelimitersToMac">
716          </action>
717          <action
718                label="%ConvertLineDelimitersToUNIXAction.label"
719                retarget="true"
720                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/convertSubMenu/group1"
721                allowLabelUpdate="true"
722                id="net.sourceforge.phpeclipse.ui.actions.ConvertLineDelimitersToUNIX">
723          </action>
724          <action
725                label="%ConvertLineDelimitersToWindowsAction.label"
726                retarget="true"
727                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/convertSubMenu/group1"
728                allowLabelUpdate="true"
729                id="net.sourceforge.phpeclipse.ui.actions.ConvertLineDelimitersToWindows">
730          </action>
731       </actionSet>
732    </extension>
733    <extension
734          point="org.eclipse.ui.actionSetPartAssociations">
735       <actionSetPartAssociation
736             targetID="net.sourceforge.phpeclipse.ui.CodingActionSet">
737          <part id="net.sourceforge.phpeclipse.PHPUnitEditor" />
738       </actionSetPartAssociation>
739    </extension>
740    
741 <!-- =========================================================================== -->
742 <!-- PHP Editor Action Definition IDs -->
743 <!-- =========================================================================== -->
744 <!--   <extension
745          point="org.eclipse.ui.actionDefinitions">
746  
747       <actionDefinition
748             id="net.sourceforge.phpeclipse.phpeditor.ContentAssistProposal">
749       </actionDefinition>
750  
751       <actionDefinition
752             id="net.sourceforge.phpeclipse.phpeditor.Comment">
753       </actionDefinition>
754       <actionDefinition
755             id="net.sourceforge.phpeclipse.phpeditor.Uncomment">
756       </actionDefinition>
757       <actionDefinition
758             id="net.sourceforge.phpeclipse.phpeditor.Format">
759       </actionDefinition>
760       <actionDefinition
761             id="net.sourceforge.phpeclipse.ui.edit.text.php.show.outline">
762       </actionDefinition>
763       <actionDefinition
764             id="net.sourceforge.phpeclipse.ui.navigate.php.open.structure">
765       </actionDefinition>
766       <actionDefinition
767             id="net.sourceforge.phpeclipse.ui.edit.text.php.show.next.problem">
768       </actionDefinition>
769       <actionDefinition
770             id="net.sourceforge.phpeclipse.ui.edit.text.php.show.previous.problem">
771       </actionDefinition>
772    </extension> -->
773 <!--   <extension
774          point="org.eclipse.ui.acceleratorSets">
775       <acceleratorSet
776             scopeId="org.eclipse.ui.textEditorScope"
777             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
778          <accelerator
779                key="Ctrl+/"
780                id="net.sourceforge.phpdt.ui.actions.comment">
781          </accelerator>
782          <accelerator
783                key="Ctrl+\\"
784                id="net.sourceforge.phpdt.ui.actions.uncomment">
785          </accelerator>
786       </acceleratorSet>
787    </extension> -->
788    
789    <extension
790          point="org.eclipse.ui.popupMenus">
791  <!--      <objectContribution
792             objectClass="org.eclipse.core.resources.IProject"
793             id="net.sourceforge.phpeclipse.actions.PHPDocumentorAction">
794          <action
795                label="Run PHPDocumentor"
796                class="net.sourceforge.phpeclipse.actions.PHPDocumentorAction"
797                menubarPath="additions"
798                id="net.sourceforge.phpeclipse.actions.PHPDocumentorAction">
799          </action>
800       </objectContribution> -->
801       <objectContribution
802             objectClass="org.eclipse.core.resources.IFile"
803             nameFilter="*.php"
804             id="net.sourceforge.phpeclipse.actions.externalParserAction">
805          <action
806                label="Run External PHP Parser"
807                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
808                menubarPath="additions"
809                id="net.sourceforge.phpeclipse.actions.externalParserAction">
810          </action>
811       </objectContribution>
812       <objectContribution
813             objectClass="org.eclipse.core.resources.IFile"
814             nameFilter="*.php3"
815             id="net.sourceforge.phpeclipse.actions.externalParserAction">
816          <action
817                label="Run External PHP Parser"
818                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
819                menubarPath="additions"
820                id="net.sourceforge.phpeclipse.actions.externalParserAction">
821          </action>
822       </objectContribution>
823       <objectContribution
824             objectClass="org.eclipse.core.resources.IFile"
825             nameFilter="*.php4"
826             id="net.sourceforge.phpeclipse.actions.externalParserAction">
827          <action
828                label="Run External PHP Parser"
829                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
830                menubarPath="additions"
831                id="net.sourceforge.phpeclipse.actions.externalParserAction">
832          </action>
833       </objectContribution>
834       <objectContribution
835             objectClass="org.eclipse.core.resources.IFile"
836             nameFilter="*.php5"
837             id="net.sourceforge.phpeclipse.actions.externalParserAction">
838          <action
839                label="Run External PHP Parser"
840                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
841                menubarPath="additions"
842                id="net.sourceforge.phpeclipse.actions.externalParserAction">
843          </action>
844       </objectContribution>
845       <objectContribution
846             objectClass="org.eclipse.core.resources.IFile"
847             nameFilter="*.module"
848             id="net.sourceforge.phpeclipse.actions.externalParserAction">
849          <action
850                label="Run External PHP Parser"
851                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
852                menubarPath="additions"
853                id="net.sourceforge.phpeclipse.actions.externalParserAction">
854          </action>
855       </objectContribution>
856       <objectContribution
857             objectClass="org.eclipse.core.resources.IFile"
858             nameFilter="*.inc"
859             id="net.sourceforge.phpeclipse.actions.externalParserAction">
860          <action
861                label="Run External PHP Parser"
862                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
863                menubarPath="additions"
864                id="net.sourceforge.phpeclipse.actions.externalParserAction">
865          </action>
866       </objectContribution>
867       <objectContribution
868             objectClass="org.eclipse.core.resources.IFile"
869             nameFilter="*.phtml"
870             id="net.sourceforge.phpeclipse.actions.externalParserAction">
871          <action
872                label="Run External PHP Parser"
873                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
874                menubarPath="additions"
875                id="net.sourceforge.phpeclipse.actions.externalParserAction">
876          </action>
877       </objectContribution>
878       <objectContribution
879             objectClass="org.eclipse.core.resources.IFile"
880             nameFilter="*.php"
881             id="net.sourceforge.phpeclipse.actions.popupShowAction">
882          <action
883                label="Open PHP Browser"
884                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
885                menubarPath="additions"
886                id="net.sourceforge.phpeclipse.actions.showAction">
887          </action>
888       </objectContribution>
889       <objectContribution
890             objectClass="org.eclipse.core.resources.IFile"
891             nameFilter="*.php3"
892             id="net.sourceforge.phpeclipse.actions.popupShowAction">
893          <action
894                label="Open PHP Browser"
895                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
896                menubarPath="additions"
897                id="net.sourceforge.phpeclipse.actions.showAction">
898          </action>
899       </objectContribution>
900       <objectContribution
901             objectClass="org.eclipse.core.resources.IFile"
902             nameFilter="*.php4"
903             id="net.sourceforge.phpeclipse.actions.popupShowAction">
904          <action
905                label="Open PHP Browser"
906                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
907                menubarPath="additions"
908                id="net.sourceforge.phpeclipse.actions.showAction">
909          </action>
910       </objectContribution>
911       <objectContribution
912             objectClass="org.eclipse.core.resources.IFile"
913             nameFilter="*.php5"
914             id="net.sourceforge.phpeclipse.actions.popupShowAction">
915          <action
916                label="Open PHP Browser"
917                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
918                menubarPath="additions"
919                id="net.sourceforge.phpeclipse.actions.showAction">
920          </action>
921       </objectContribution>
922       <objectContribution
923             objectClass="org.eclipse.core.resources.IFile"
924             nameFilter="*.module"
925             id="net.sourceforge.phpeclipse.actions.popupShowAction">
926          <action
927                label="Open PHP Browser"
928                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
929                menubarPath="additions"
930                id="net.sourceforge.phpeclipse.actions.showAction">
931          </action>
932       </objectContribution>
933       <objectContribution
934             objectClass="org.eclipse.core.resources.IFile"
935             nameFilter="*.inc"
936             id="net.sourceforge.phpeclipse.actions.popupShowAction">
937          <action
938                label="Open PHP Browser"
939                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
940                menubarPath="additions"
941                id="net.sourceforge.phpeclipse.actions.showAction">
942          </action>
943       </objectContribution>
944       <objectContribution
945             objectClass="org.eclipse.core.resources.IFile"
946             nameFilter="*.phtml"
947             id="net.sourceforge.phpeclipse.actions.popupShowAction">
948          <action
949                label="Open PHP Browser"
950                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
951                menubarPath="additions"
952                id="net.sourceforge.phpeclipse.actions.showAction">
953          </action>
954       </objectContribution>
955       <objectContribution
956             objectClass="org.eclipse.core.resources.IFile"
957             nameFilter="*.html"
958             id="net.sourceforge.phpeclipse.actions.popupShowAction">
959          <action
960                label="Open PHP Browser"
961                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
962                menubarPath="additions"
963                id="net.sourceforge.phpeclipse.actions.showAction">
964          </action>
965       </objectContribution>
966             <objectContribution
967             objectClass="org.eclipse.core.resources.IFile"
968             nameFilter="*.htm"
969             id="net.sourceforge.phpeclipse.actions.popupShowAction">
970          <action
971                label="Open PHP Browser"
972                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
973                menubarPath="additions"
974                id="net.sourceforge.phpeclipse.actions.showAction">
975          </action>
976       </objectContribution>
977       <objectContribution
978             objectClass="org.eclipse.core.resources.IFile"
979             nameFilter="*.xml"
980             id="net.sourceforge.phpeclipse.actions.popupShowAction">
981          <action
982                label="Open PHP Browser"
983                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
984                menubarPath="additions"
985                id="net.sourceforge.phpeclipse.actions.showAction">
986          </action>
987       </objectContribution>
988   
989       <viewerContribution
990             targetID="#PHPEditorContext"
991             id="net.sourceforge.phpeclipse.actions.popupOpenDeclaration">
992          <action
993                label="Open PHP Declaration"
994                class="net.sourceforge.phpeclipse.actions.PHPOpenDeclarationEditorAction"
995                menubarPath="additions"
996                id="net.sourceforge.phpeclipse.actions.opendeclaration">
997          </action>
998       </viewerContribution>
999       <viewerContribution
1000             targetID="#PHPEditorContext"
1001             id="net.sourceforge.phpeclipse.actions.popupOpenAllIncludes">
1002          <action
1003                label="Open Included Files List"
1004                class="net.sourceforge.phpeclipse.actions.PHPOpenAllIncludesEditorAction"
1005                menubarPath="additions"
1006                id="net.sourceforge.phpeclipse.actions.openallincludes">
1007          </action>
1008       </viewerContribution>
1009       <viewerContribution
1010             targetID="#PHPEditorContext"
1011             id="net.sourceforge.phpeclipse.actions.popupOpenInclude">
1012          <action
1013                label="Open Include File"
1014                class="net.sourceforge.phpeclipse.actions.PHPOpenIncludeEditorAction"
1015                menubarPath="additions"
1016                id="net.sourceforge.phpeclipse.actions.openinclude">
1017          </action>
1018       </viewerContribution>
1019       <viewerContribution
1020             targetID="#PHPEditorContext"
1021             id="net.sourceforge.phpeclipse.actions.popupOpenSQLTable">
1022          <action
1023                label="Open Quantum SQL Table View"
1024                class="net.sourceforge.phpeclipse.actions.PHPOpenSQLTableEditorAction"
1025                menubarPath="additions"
1026                id="net.sourceforge.phpeclipse.actions.opensqltable">
1027          </action>
1028       </viewerContribution>
1029       <viewerContribution
1030             targetID="#PHPEditorContext"
1031             id="net.sourceforge.phpeclipse.actions.popupHTMLWizard">
1032          <action
1033                label="Insert HTML (dl,ul,ol,table)"
1034                class="net.sourceforge.phpeclipse.wizards.html.InsertHTMLElementAction"
1035                menubarPath="additions"
1036                id="net.sourceforge.phpdt.phphelp.actions.contexthelp">
1037          </action>
1038       </viewerContribution>
1039    
1040       <viewerContribution
1041             targetID="#PHPRulerContext"
1042             id="net.sourceforge.phpdt.ui.PHPEditorPopupActions">
1043          <action
1044                label="%AddTask.label"
1045                helpContextId="org.eclipse.ui.AddTask_action_context"
1046                class="org.eclipse.ui.texteditor.TaskRulerAction"
1047                menubarPath="add"
1048                id="org.eclipse.ui.texteditor.TaskRulerAction">
1049          </action>
1050          <action
1051                label="%AddBookmark.label"
1052                helpContextId="org.eclipse.ui.bookmark_action_context"
1053                class="org.eclipse.ui.texteditor.BookmarkRulerAction"
1054                menubarPath="add"
1055                id="org.eclipse.ui.texteditor.BookmarkRulerAction">
1056          </action>
1057       </viewerContribution>
1058    </extension>
1059    
1060    <extension
1061          point="org.eclipse.ui.editorActions">
1062       <editorContribution
1063             id="org.eclipse.ui.texteditor.ruler.actions"
1064             targetID="net.sourceforge.phpeclipse.PHPUnitEditor">
1065
1066                 <action
1067                         id="org.eclipse.ui.texteditor.BookmarkRulerAction"
1068                         actionID="RulerDoubleClick"
1069                         label="%Dummy.label"
1070             helpContextId="org.eclipse.ui.bookmark_action_context"
1071                         class="org.eclipse.ui.texteditor.BookmarkRulerAction">
1072                 </action>
1073                 <action
1074             label="%Dummy.label"
1075             class="net.sourceforge.phpeclipse.phpeditor.JavaSelectRulerAction"
1076             actionID="RulerClick"
1077             id="net.sourceforge.phpeclipse.phpeditor.JavaSelectRulerAction">
1078         </action>
1079       </editorContribution>
1080    </extension>
1081    <extension
1082          point="org.eclipse.ui.popupMenus">
1083       <viewerContribution 
1084             targetID="#CompilationUnitRulerContext"
1085             id="net.sourceforge.phpeclipse.phpeditor.QuickFixRulerMenuAction">
1086          <action
1087                label="%Dummy.label"
1088                helpContextId="org.eclipse.jdt.ui.quick_fix_action"
1089                class="net.sourceforge.phpeclipse.phpeditor.JavaSelectRulerAction"
1090                menubarPath="additions"
1091                id="net.sourceforge.phpeclipse.phpeditor.JavaSelectRulerMenuAction">
1092          </action>
1093       </viewerContribution>
1094    </extension>
1095    <extension
1096          point="org.eclipse.ui.popupMenus">
1097       <viewerContribution
1098             targetID="#CompilationUnitRulerContext"
1099             id="net.sourceforge.phpdt.ui.CompilationUnitEditorPopupActions">
1100          <action
1101                label="%AddTask.label"
1102                helpContextId="org.eclipse.ui.AddTask_action_context"
1103                tooltip="%AddTask.tooltip"
1104                class="org.eclipse.ui.texteditor.TaskRulerAction"
1105                menubarPath="add"
1106                id="org.eclipse.ui.texteditor.TaskRulerAction">
1107          </action>
1108          <action
1109                label="%AddBookmark.label"
1110                helpContextId="org.eclipse.ui.bookmark_action_context"
1111                tooltip="%AddBookmark.tooltip"
1112                class="org.eclipse.ui.texteditor.BookmarkRulerAction"
1113                menubarPath="add"
1114                id="org.eclipse.ui.texteditor.BookmarkRulerAction">
1115          </action>
1116          <menu
1117                         id="projection"
1118                         label="%Folding.label"
1119                         path="rest">
1120                  </menu>
1121          <action
1122                label="%Dummy.label"
1123                tooltip="%Dummy.label"
1124                class="net.sourceforge.phpdt.internal.ui.actions.FoldingExpandAllRulerAction"
1125                menubarPath="projection/additions"
1126                definitionId="org.eclipse.ui.edit.text.folding.expand_all"
1127                id="net.sourceforge.phpdt.ui.folding.expandAll">
1128          </action>
1129          <action
1130                label="%Dummy.label"
1131                tooltip="%Dummy.label"
1132                class="net.sourceforge.phpdt.internal.ui.actions.FoldingToggleRulerAction"
1133                menubarPath="projection/additions"
1134                definitionId="org.eclipse.ui.edit.text.folding.toggle"
1135                id="net.sourceforge.phpdt.ui.folding.toggle">
1136          </action>
1137       </viewerContribution>
1138    </extension>
1139  <!-- =========================================================================== -->
1140 <!-- PHPDT/UI command definitions                                                   -->
1141 <!-- =========================================================================== -->
1142    <extension point="org.eclipse.ui.contexts">
1143       <context name="%context.editingPHPSource.name" 
1144        description="%context.editingPHPSource.description" 
1145        parentId="org.eclipse.ui.textEditorScope" 
1146        id="net.sourceforge.phpdt.ui.phpEditorScope" /> 
1147    </extension>
1148    <extension
1149          point="org.eclipse.ui.commands">
1150       <category
1151             name="%category.source.name"
1152             description="%category.source.description"
1153             id="net.sourceforge.phpeclipse.ui.category.source">
1154       </category>
1155       
1156  <!-- source -->
1157       <command
1158             name="%ActionDefinition.comment.name"
1159             description="%ActionDefinition.comment.description"
1160             category="net.sourceforge.phpeclipse.ui.category.source"
1161             id="net.sourceforge.phpeclipse.phpeditor.comment">
1162       </command>
1163       <command
1164             name="%ActionDefinition.uncomment.name"
1165             description="%ActionDefinition.uncomment.description"
1166             category="net.sourceforge.phpeclipse.ui.category.source"
1167             id="net.sourceforge.phpeclipse.phpeditor.uncomment">
1168       </command>
1169       <command 
1170             name="%ActionDefinition.toggleComment.name"
1171             description="%ActionDefinition.toggleComment.description"
1172             category="net.sourceforge.phpeclipse.ui.category.source"
1173             id="net.sourceforge.phpeclipse.phpeditor.toggle.comment">
1174       </command>
1175       <keyBinding
1176             string="Ctrl+Shift+C"
1177             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1178             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1179             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1180       </keyBinding>
1181       <keyBinding
1182             string="Ctrl+/"
1183             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1184             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1185             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1186       </keyBinding>
1187       <keyBinding
1188             string="Ctrl+7"
1189             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1190             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1191             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1192       </keyBinding>
1193       <keyBinding
1194             platform="carbon"
1195             string="Ctrl+Shift+C"
1196             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1197             command=""
1198             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1199       </keyBinding>
1200       <keyBinding
1201             platform="carbon"
1202             string="Command+Shift+C"
1203             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1204             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1205             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1206       </keyBinding>
1207       <keyBinding
1208             platform="carbon"
1209             string="Ctrl+/"
1210             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1211             command=""
1212             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1213       </keyBinding>
1214       <keyBinding
1215             platform="carbon"
1216             string="Command+/"
1217             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1218             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1219             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1220       </keyBinding>
1221       <keyBinding
1222             platform="carbon"
1223             string="Ctrl+7"
1224             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1225             command=""
1226             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1227       </keyBinding>
1228       <keyBinding
1229             platform="carbon"
1230             string="Command+7"
1231             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1232             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1233             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1234       </keyBinding>
1235       <keyBinding
1236             platform="gtk"
1237             string="Ctrl+Shift+C"
1238             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1239             command=""
1240             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1241       </keyBinding>
1242       <keyBinding
1243             platform="gtk"
1244             string="Esc Ctrl+C"
1245             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1246             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1247             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1248       </keyBinding>
1249       <command
1250             name="%ActionDefinition.addBlockComment.name"
1251             description="%ActionDefinition.addBlockComment.description"
1252             category="net.sourceforge.phpeclipse.ui.category.source"
1253             id="net.sourceforge.phpeclipse.phpeditor.add.block.comment">
1254       </command>
1255       <keyBinding
1256             string="Ctrl+Shift+/"
1257             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1258             command="net.sourceforge.phpeclipse.phpeditor.add.block.comment"
1259             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1260       </keyBinding>
1261       <keyBinding
1262             platform="carbon"
1263             string="Ctrl+Shift+/"
1264             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1265             command=""
1266             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1267       </keyBinding>
1268       <keyBinding
1269             platform="carbon"
1270             string="Command+Shift+/"
1271             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1272             command="net.sourceforge.phpeclipse.phpeditor.add.block.comment"
1273             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1274       </keyBinding>
1275       <command
1276             name="%ActionDefinition.removeBlockComment.name"
1277             description="%ActionDefinition.removeBlockComment.description"
1278             category="net.sourceforge.phpeclipse.ui.category.source"
1279             id="net.sourceforge.phpeclipse.phpeditor.remove.block.comment">
1280       </command>
1281       <keyBinding
1282             string="Ctrl+Shift+\"
1283             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1284             command="net.sourceforge.phpeclipse.phpeditor.remove.block.comment"
1285             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1286       </keyBinding>
1287       <keyBinding
1288             platform="carbon"
1289             string="Ctrl+Shift+\"
1290             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1291             command=""
1292             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1293       </keyBinding>
1294       <keyBinding
1295             platform="carbon"
1296             string="Command+Shift+\"
1297             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1298             command="net.sourceforge.phpeclipse.phpeditor.remove.block.comment"
1299             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1300       </keyBinding>
1301       <command
1302             name="%ActionDefinition.indent.name"
1303             description="%ActionDefinition.indent.description"
1304             category="net.sourceforge.phpeclipse.ui.category.source"
1305             id="net.sourceforge.phpeclipse.phpeditor.indent">
1306       </command>
1307       <keyBinding
1308             string="Ctrl+I"
1309             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1310             command="net.sourceforge.phpeclipse.phpeditor.indent"
1311             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1312       </keyBinding>
1313        
1314       <command
1315             name="%ActionDefinition.format.name"
1316             description="%ActionDefinition.format.description"
1317             category="net.sourceforge.phpeclipse.ui.category.source"
1318             id="net.sourceforge.phpeclipse.phpeditor.format">
1319       </command>
1320       <keyBinding
1321             string="Ctrl+Shift+F"
1322             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1323             command="net.sourceforge.phpeclipse.phpeditor.format"
1324             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1325       </keyBinding>
1326       <keyBinding
1327             platform="carbon"
1328             string="Ctrl+Shift+F"
1329             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1330             command=""
1331             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1332       </keyBinding>
1333       <keyBinding
1334             platform="carbon"
1335             string="Command+Shift+F"
1336             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1337             command="net.sourceforge.phpeclipse.phpeditor.format"
1338             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1339       </keyBinding>
1340       <keyBinding
1341             platform="gtk"
1342             string="Ctrl+Shift+F"
1343             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1344             command=""
1345             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1346       </keyBinding>
1347       <keyBinding
1348             platform="gtk"
1349             string="Esc Ctrl+F"
1350             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1351             command="net.sourceforge.phpeclipse.phpeditor.format"
1352             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1353       </keyBinding>
1354       
1355       <!-- navigate -->
1356       <command
1357             name="%ActionDefinition.gotoMatchingBracket.name"
1358             description="%ActionDefinition.gotoMatchingBracket.description"
1359             category="org.eclipse.ui.category.navigate"
1360             id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
1361       </command>
1362       <keyBinding
1363             string="Ctrl+Shift+P"
1364             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1365             command="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket"
1366             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1367       </keyBinding>
1368       <keyBinding
1369             platform="carbon"
1370             string="Ctrl+Shift+P"
1371             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1372             command=""
1373             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1374       </keyBinding>
1375       <keyBinding
1376             platform="carbon"
1377             string="Command+Shift+P"
1378             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1379             command="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket"
1380             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1381       </keyBinding>
1382    </extension>
1383    <extension
1384          id="net.sourceforge.phpeclipse.JavaDocumentSetupParticipant"
1385          name="%javaDocumentSetupParticipant"
1386          point="org.eclipse.core.filebuffers.documentSetup"> 
1387       <participant
1388             extensions="php,php3,php4,php5,module,inc,phtml,html,htm,xhtml"
1389             class="net.sourceforge.phpeclipse.phpeditor.JavaDocumentSetupParticipant">
1390       </participant>
1391    <!--   <participant
1392             extensions="html,xml"
1393             class="net.sourceforge.phpeclipse.phpeditor.HTMLDocumentSetupParticipant">
1394       </participant>
1395       <participant
1396             extensions="tpl"
1397             class="net.sourceforge.phpeclipse.phpeditor.SmartyDocumentSetupParticipant">
1398       </participant> -->
1399    </extension>
1400    <extension
1401          id="net.sourceforge.phpeclipse.JavaDocumentFactory"
1402          name="%javaDocumentFactory"
1403          point="org.eclipse.core.filebuffers.documentCreation">
1404       <factory
1405             extensions="php"
1406             class="net.sourceforge.phpeclipse.phpeditor.JavaDocumentFactory">
1407       </factory>
1408    </extension>
1409    
1410    <extension
1411          point="org.eclipse.ui.preferencePages">
1412       <page
1413             name="PHP"
1414             category="net.sourceforge.phpeclipse.ui.preferencePage"
1415             class="net.sourceforge.phpeclipse.PHPEclipseBasePreferencePage"
1416             id="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage">
1417       </page>
1418       <page
1419             name="Code Templates"
1420             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1421             class="net.sourceforge.phpdt.internal.ui.preferences.CodeTemplatePreferencePage"
1422             id="net.sourceforge.phpeclipse.preference.CodeTemplatePreferencePage">
1423       </page>
1424   <!--    <page
1425             name="Members Sort Order"
1426             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1427             class="net.sourceforge.phpdt.internal.ui.preferences.MembersOrderPreferencePage"
1428             id="net.sourceforge.phpeclipse.preference.MembersOrderPreferencePage">
1429       </page> -->
1430       <page
1431             name="PHP External Parser Command"
1432             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1433             class="net.sourceforge.phpeclipse.preferences.PHPEclipseParserPreferencePage"
1434             id="net.sourceforge.phpeclipse.preferences.PHPEclipseParserPreferencePage">
1435       </page>
1436 <!--    <page
1437             name="Editor2"
1438             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1439             class="net.sourceforge.phpeclipse.PHPSyntaxEditorPreferencePage"
1440             id="net.sourceforge.phpeclipse.preference.PHPSyntaxEditorPreferencePage">
1441       </page> 
1442       <page
1443             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1444             name="PHP Project Defaults"
1445             class="net.sourceforge.phpeclipse.preferences.PHPMiscProjectPreferences"
1446             id="net.sourceforge.phpeclipse.preferences.PHPMiscProjectPreferences">
1447       </page> 
1448       <page
1449             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1450             name="PHP Browser Preview"
1451             class="net.sourceforge.phpeclipse.preferences.PHPPreviewProjectPreferences"
1452             id="net.sourceforge.phpeclipse.preferences.PHPPreviewProjectPreferences">
1453       </page> -->
1454       <page
1455             name="%compilerOptionsPrefName" 
1456             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1457             class="net.sourceforge.phpdt.internal.ui.preferences.CompilerPreferencePage"
1458             id="net.sourceforge.phpeclipse.preference.CompilerPreferencePage">
1459       </page>
1460       <page
1461             name="%todoTaskPrefName" 
1462             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1463             class="net.sourceforge.phpdt.internal.ui.preferences.TodoTaskPreferencePage"
1464             id="net.sourceforge.phpeclipse.preference.TodoTaskPreferencePage">
1465       </page>
1466       <page
1467             name="Formatter"
1468             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1469             class="net.sourceforge.phpdt.internal.ui.preferences.CodeFormatterPreferencePage"
1470             id="net.sourceforge.phpeclipse.preference.CodeFormatterPreferencePage">
1471       </page>
1472       <page name="Editor"
1473             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1474             class="net.sourceforge.phpdt.internal.ui.preferences.JavaEditorPreferencePage"
1475             id="net.sourceforge.phpdt.internal.ui.preferences.JavaEditorPreferencePage">
1476       </page>
1477       <page name="%codeAssistPageName"
1478             category="net.sourceforge.phpdt.internal.ui.preferences.JavaEditorPreferencePage"
1479             class="net.sourceforge.phpdt.internal.ui.preferences.CodeAssistPreferencePage"
1480             id="net.sourceforge.phpdt.internal.ui.preferences.CodeAssistPreferencePage">
1481       </page>
1482             <page
1483             name="%templatePageName"
1484             category="net.sourceforge.phpdt.internal.ui.preferences.JavaEditorPreferencePage"
1485             class="net.sourceforge.phpdt.internal.ui.preferences.JavaTemplatePreferencePage"
1486             id="net.sourceforge.phpeclipse.preference.TemplatePreferencePage">
1487       </page>
1488   <!--      <page
1489             name="%templatePageName"
1490             category="net.sourceforge.phpdt.internal.ui.preferences.JavaEditorPreferencePage"
1491             class="net.sourceforge.phpdt.internal.ui.preferences.TemplatePreferencePage"
1492             id="net.sourceforge.phpeclipse.preference.TemplatePreferencePage">
1493       </page>
1494       <page
1495             name="Language Settings"
1496             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1497             class="net.sourceforge.phpeclipse.PHPLanguagePreferencePage"
1498             id="net.sourceforge.phpeclipse.preference.PHPLanguagePreferencePage">
1499       </page> -->
1500       <page 
1501             name="%spellingPrefName"
1502             category="net.sourceforge.phpdt.internal.ui.preferences.JavaEditorPreferencePage"
1503             class="net.sourceforge.phpdt.internal.ui.preferences.SpellingPreferencePage"
1504             id = "net.sourceforge.phpdt.internal.ui.preferences.SpellingPreferencePage">
1505       </page> 
1506    </extension>
1507    <extension
1508          point="org.eclipse.ui.editors.documentProviders">
1509       <provider
1510             extensions="%phpFileExtension"
1511             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1512             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1513       </provider>
1514    </extension>
1515    <extension
1516          point="org.eclipse.ui.editors.documentProviders">
1517       <provider
1518             extensions="%php3FileExtension"
1519             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1520             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1521       </provider>
1522    </extension>
1523    <extension
1524          point="org.eclipse.ui.editors.documentProviders">
1525       <provider
1526             extensions="%php4FileExtension"
1527             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1528             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1529       </provider>
1530    </extension>
1531    <extension
1532          point="org.eclipse.ui.editors.documentProviders">
1533       <provider
1534             extensions="%php5FileExtension"
1535             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1536             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1537       </provider>
1538    </extension>
1539    <extension
1540          point="org.eclipse.ui.editors.documentProviders">
1541       <provider
1542             extensions="%moduleFileExtension"
1543             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1544             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1545       </provider>
1546    </extension>
1547    <extension
1548          point="org.eclipse.ui.editors.documentProviders">
1549       <provider
1550             extensions="%incFileExtension"
1551             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1552             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1553       </provider>
1554    </extension>
1555    <extension
1556          point="org.eclipse.ui.editors.documentProviders">
1557       <provider
1558             extensions="%phtmlFileExtension"
1559             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1560             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1561       </provider>
1562    </extension>
1563   <extension
1564          point="org.eclipse.ui.editors.documentProviders">
1565       <provider
1566             extensions="%htmlFileExtension"
1567             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1568             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1569       </provider>
1570    </extension>
1571    <extension
1572          point="org.eclipse.ui.editors.documentProviders">
1573       <provider
1574             extensions="%htmFileExtension"
1575             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1576             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1577       </provider>
1578    </extension>
1579    <extension
1580          point="org.eclipse.ui.editors.documentProviders">
1581       <provider
1582             extensions="xhtml"
1583             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1584             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1585       </provider>
1586    </extension>
1587  <!--  <extension
1588          point="org.eclipse.ui.editors.documentProviders">
1589       <provider
1590             extensions="%tplFileExtension"
1591             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1592             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1593       </provider>
1594    </extension> -->
1595    <extension
1596          point="org.eclipse.ui.views">
1597       <category
1598             name="%viewCategoryName"
1599             id="net.sourceforge.phpeclipse.views.category">
1600       </category>
1601       <view
1602             name="%phpConsoleView"
1603             icon="icons/obj16/php.gif"
1604             category="net.sourceforge.phpeclipse.views.category"
1605             class="net.sourceforge.phpeclipse.views.PHPConsole"
1606             id="net.sourceforge.phpeclipse.views.phpconsoleview">
1607       </view>  
1608    </extension>
1609
1610 <!-- external tools -->
1611
1612 <!-- extension point definitions -->
1613         <extension-point id="configurationDuplicationMaps" name="%ExtPoint.configurationDuplicationMaps"/>
1614         <extension-point id="argumentVariables" name="%ExtPoint.argumentVariables"/>
1615         <extension-point id="directoryVariables" name="%ExtPoint.directoryVariables"/>
1616         <extension-point id="fileVariables" name="%ExtPoint.fileVariables"/>
1617         <extension-point id="refreshVariables" name="%ExtPoint.refreshVariables"/>
1618         
1619 <!-- Extensions -->
1620         <extension point="org.eclipse.ui.actionSets">
1621                 <actionSet
1622                         id="net.sourceforge.phpdt.externaltools.ExternalToolsSet"
1623                         label="%ActionSet.externalTools"
1624                         visible="true">
1625                         <menu id="org.eclipse.ui.run" 
1626                                 label="%Menu.run" 
1627                                 path="additions"> 
1628                                 <separator name="ExternalToolsGroup"/> 
1629                         </menu> 
1630         <!--            <action
1631                                 id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateMenu"
1632                                 label="%Action.externalTools"
1633                                 menubarPath="org.eclipse.ui.run/ExternalToolsGroup"
1634                                 disabledIcon="icons/externaltools/full/dtool16/external_tools.gif"
1635                                 icon="icons/externaltools/full/etool16/external_tools.gif"
1636                                 hoverIcon="icons/externaltools/full/ctool16/external_tools.gif"
1637                                 pulldown="true"
1638                                 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
1639                         </action> 
1640                         <action
1641                                 id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateToolbar"
1642                                 label="%Action.externalTools"
1643                                 toolbarPath="Normal/additions"
1644                                 disabledIcon="icons/externaltools/full/dtool16/external_tools.gif"
1645                                 icon="icons/externaltools/full/etool16/external_tools.gif"
1646                                 hoverIcon="icons/externaltools/full/ctool16/external_tools.gif"
1647                                 tooltip="%Action.externalToolsTip"
1648                                 pulldown="true"
1649                                 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
1650                         </action> -->
1651                 </actionSet>
1652         </extension>
1653
1654     <!-- Launch Configuration Extensions -->
1655     <extension point="org.eclipse.debug.core.launchConfigurationTypes">
1656         <launchConfigurationType
1657                 id = "net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
1658                 name = "%Program.externalTools"
1659                 delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
1660                 modes = "run"
1661                 category = "org.eclipse.ui.externaltools">
1662         </launchConfigurationType>
1663         <launchConfigurationType
1664                 id = "net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
1665                 name = "%Program.externalTools"
1666                 delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
1667                 modes = "run"
1668                 category = "org.eclipse.ui.externaltools.builder">
1669         </launchConfigurationType>
1670     </extension>
1671     
1672     <extension point = "net.sourceforge.phpeclipse.configurationDuplicationMaps">
1673         <configurationMap
1674                 sourceType="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
1675                 builderType="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType">
1676         </configurationMap>
1677     </extension>
1678     
1679     <extension point = "org.eclipse.debug.ui.launchConfigurationTabGroups">
1680                 <launchConfigurationTabGroup
1681                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program"
1682                         type ="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
1683                         class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramTabGroup">
1684                 </launchConfigurationTabGroup>
1685                 <launchConfigurationTabGroup
1686                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program.builder"
1687                         type ="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
1688                         class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramBuilderTabGroup">
1689                 </launchConfigurationTabGroup>
1690         </extension>
1691         
1692         <extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
1693                 <launchConfigurationTypeImage
1694                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program"
1695                         configTypeID="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
1696                         icon="icons/externaltools/full/obj16/external_tools.gif">
1697                 </launchConfigurationTypeImage> 
1698                 <launchConfigurationTypeImage
1699                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program.builder"
1700                         configTypeID="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
1701                         icon="icons/externaltools/full/obj16/external_tools.gif">
1702                 </launchConfigurationTypeImage> 
1703         </extension>
1704
1705         <!-- Variable Extensions -->
1706         <extension point="net.sourceforge.phpeclipse.fileVariables">
1707                 <variable
1708                         tag="workspace_loc"
1709                         description="Expands to the workspace root's absolute file system path."
1710                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
1711                 </variable>
1712                 <variable
1713                         tag="resource_loc"
1714                         description="Expands to the resource's absolute file system path."
1715                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
1716                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1717                 </variable>
1718         </extension>
1719         
1720         <extension point="net.sourceforge.phpeclipse.argumentVariables">
1721                 <variable
1722                         tag="workspace_loc"
1723                         description="Expands to the workspace root's absolute file system path."
1724                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
1725                 </variable>
1726                 <variable
1727                         tag="file_loc"
1728                         description="Expands to the full file name"
1729                         expanderClass="net.sourceforge.phpdt.externaltools.variable.FileExpander">
1730                 </variable>
1731                 <variable
1732                         tag="file_url"
1733                         description="Expands to an URL with the localhost preference settings"
1734                         expanderClass="net.sourceforge.phpdt.externaltools.variable.UrlExpander">
1735                 </variable>
1736                 <variable
1737                         tag="localhost_url"
1738                         description="Expands to the localhost preference settings."
1739                         expanderClass="net.sourceforge.phpdt.externaltools.variable.LocalhostExpander">
1740                 </variable>
1741                 <variable
1742                         tag="project_loc"
1743                         description="Expands to the selected resource's project absolute file system path."
1744                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
1745                 </variable>
1746                 <variable
1747                         tag="project_path"
1748                         description="Expands to the full path, relative to the workspace root, of the selected project"
1749                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectExpander">
1750                 </variable>
1751                 <variable
1752                         tag="project_name"
1753                         description="Expands to the name of the selected project"
1754                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectNameExpander">
1755                 </variable>
1756                 <variable
1757                         tag="resource_loc"
1758                         description="Expands to the resource's absolute file system path."
1759                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
1760                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1761                 </variable>
1762                 <variable
1763                         tag="container_loc"
1764                         description="Expands to the selected resource's containing folder absolute file system path."
1765                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
1766                 </variable>
1767                 <variable
1768                         tag="build_type"
1769                         description="Expands to the type of build"
1770                         expanderClass="net.sourceforge.phpdt.externaltools.variable.BuildTypeExpander">
1771                 </variable>
1772         </extension>
1773
1774         <extension point="net.sourceforge.phpeclipse.directoryVariables">
1775                 <variable
1776                         tag="workspace_loc"
1777                         description="Expands to the workspace root's absolute file system path."
1778                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
1779                 </variable>
1780                 <variable
1781                         tag="project_loc"
1782                         description="Expands to the selected resource's project absolute file system path."
1783                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
1784                 </variable>
1785                 <variable
1786                         tag="container_loc"
1787                         description="Expands to the selected resource's containing folder absolute file system path."
1788                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
1789                 </variable>
1790                 <variable
1791                         tag="resource_loc"
1792                         description="Expands to a resource's absolute file system path."
1793                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFolderResourceComponent"
1794                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1795                 </variable>
1796         </extension>
1797
1798         <extension point="net.sourceforge.phpeclipse.refreshVariables">
1799                 <variable
1800                         tag="workspace"
1801                         description="Expands to the workspace root."
1802                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
1803                 </variable>
1804                 <variable
1805                         tag="project"
1806                         description="Expands to the project of the selected resource."
1807                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
1808                 </variable>
1809                 <variable
1810                         tag="container"
1811                         description="Expands to the folder containing the selected resource."
1812                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
1813                 </variable>
1814                 <variable
1815                         tag="resource"
1816                         description="Expands to a resource."
1817                         componentClass="net.sourceforge.phpdt.externaltools.variable.ResourceComponent"
1818                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1819                 </variable>
1820                 <variable
1821                         tag="working_set"
1822                         description="Expands to the group of resources in a working set."
1823                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkingSetExpander">
1824                 </variable>
1825         </extension>
1826                 <extension
1827                 point= "net.sourceforge.phpeclipse.foldingStructureProviders">
1828                 <provider
1829                         id="net.sourceforge.phpdt.ui.text.defaultFoldingProvider"
1830                         name= "%defaultFoldingStructureProviderName"
1831                         class="net.sourceforge.phpdt.internal.ui.text.folding.DefaultJavaFoldingStructureProvider"
1832                         preferencesClass="net.sourceforge.phpdt.internal.ui.text.folding.DefaultJavaFoldingPreferenceBlock">
1833                 </provider>
1834         </extension>
1835         
1836 <!-- =========================================================================== -->
1837 <!-- Templates                                                                   -->
1838 <!-- =========================================================================== -->
1839    <extension
1840          point="org.eclipse.ui.editors.templates">
1841       <contextType
1842             name="%templates.php.contextType.name"
1843             class="net.sourceforge.phpdt.internal.corext.template.php.JavaContextType"
1844             id="java">
1845       </contextType>
1846       <contextType
1847             name="%templates.phpdoc.contextType.name"
1848             class="net.sourceforge.phpdt.internal.corext.template.php.JavaDocContextType"
1849             id="javadoc">
1850       </contextType>
1851       <contextType
1852             name="%templates.html.contextType.name"
1853             class="net.sourceforge.phpdt.internal.corext.template.php.HTMLContextType"
1854             id="javadoc">
1855       </contextType>
1856       <include
1857                 file="templates/default-templates.xml"
1858                 translations="templates/default-templates.properties">
1859       </include>
1860       <include
1861                 file="templates/default-codetemplates.xml"
1862                 translations="templates/default-templates.properties">
1863       </include>
1864    </extension>
1865 </plugin>