940c2511cce4d49e8b1600194cc9d946c0ac6be3
[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       
1176       <keyBinding
1177             string="Ctrl+Shift+C"
1178             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1179             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1180             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1181       </keyBinding>
1182       <keyBinding
1183             string="Ctrl+/"
1184             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1185             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1186             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1187       </keyBinding>
1188       <keyBinding
1189             string="Ctrl+7"
1190             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1191             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1192             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1193       </keyBinding>
1194       <keyBinding
1195             platform="carbon"
1196             string="Ctrl+Shift+C"
1197             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1198             command=""
1199             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1200       </keyBinding>
1201       <keyBinding
1202             platform="carbon"
1203             string="Command+Shift+C"
1204             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1205             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1206             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1207       </keyBinding>
1208       <keyBinding
1209             platform="carbon"
1210             string="Ctrl+/"
1211             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1212             command=""
1213             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1214       </keyBinding>
1215       <keyBinding
1216             platform="carbon"
1217             string="Command+/"
1218             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1219             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1220             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1221       </keyBinding>
1222       <keyBinding
1223             platform="carbon"
1224             string="Ctrl+7"
1225             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1226             command=""
1227             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1228       </keyBinding>
1229       <keyBinding
1230             platform="carbon"
1231             string="Command+7"
1232             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1233             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1234             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1235       </keyBinding>
1236       <keyBinding
1237             platform="gtk"
1238             string="Ctrl+Shift+C"
1239             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1240             command=""
1241             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1242       </keyBinding>
1243       <keyBinding
1244             platform="gtk"
1245             string="Esc Ctrl+C"
1246             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1247             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1248             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1249       </keyBinding>
1250       <command
1251             name="%ActionDefinition.addBlockComment.name"
1252             description="%ActionDefinition.addBlockComment.description"
1253             category="net.sourceforge.phpeclipse.ui.category.source"
1254             id="net.sourceforge.phpeclipse.phpeditor.add.block.comment">
1255       </command>
1256       <keyBinding
1257             string="Ctrl+Shift+/"
1258             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1259             command="net.sourceforge.phpeclipse.phpeditor.add.block.comment"
1260             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1261       </keyBinding>
1262       <keyBinding
1263             platform="carbon"
1264             string="Ctrl+Shift+/"
1265             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1266             command=""
1267             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1268       </keyBinding>
1269       <keyBinding
1270             platform="carbon"
1271             string="Command+Shift+/"
1272             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1273             command="net.sourceforge.phpeclipse.phpeditor.add.block.comment"
1274             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1275       </keyBinding>
1276       <command
1277             name="%ActionDefinition.removeBlockComment.name"
1278             description="%ActionDefinition.removeBlockComment.description"
1279             category="net.sourceforge.phpeclipse.ui.category.source"
1280             id="net.sourceforge.phpeclipse.phpeditor.remove.block.comment">
1281       </command>
1282       <keyBinding
1283             string="Ctrl+Shift+\"
1284             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1285             command="net.sourceforge.phpeclipse.phpeditor.remove.block.comment"
1286             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1287       </keyBinding>
1288       <keyBinding
1289             platform="carbon"
1290             string="Ctrl+Shift+\"
1291             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1292             command=""
1293             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1294       </keyBinding>
1295       <keyBinding
1296             platform="carbon"
1297             string="Command+Shift+\"
1298             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1299             command="net.sourceforge.phpeclipse.phpeditor.remove.block.comment"
1300             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1301       </keyBinding>
1302       <command
1303             name="%ActionDefinition.indent.name"
1304             description="%ActionDefinition.indent.description"
1305             category="net.sourceforge.phpeclipse.ui.category.source"
1306             id="net.sourceforge.phpeclipse.phpeditor.indent">
1307       </command>
1308       <keyBinding
1309             string="Ctrl+I"
1310             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1311             command="net.sourceforge.phpeclipse.phpeditor.indent"
1312             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1313       </keyBinding>
1314        
1315       <command
1316             name="%ActionDefinition.format.name"
1317             description="%ActionDefinition.format.description"
1318             category="net.sourceforge.phpeclipse.ui.category.source"
1319             id="net.sourceforge.phpeclipse.phpeditor.format">
1320       </command>
1321       <keyBinding
1322             string="Ctrl+Shift+F"
1323             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1324             command="net.sourceforge.phpeclipse.phpeditor.format"
1325             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1326       </keyBinding>
1327       <keyBinding
1328             platform="carbon"
1329             string="Ctrl+Shift+F"
1330             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1331             command=""
1332             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1333       </keyBinding>
1334       <keyBinding
1335             platform="carbon"
1336             string="Command+Shift+F"
1337             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1338             command="net.sourceforge.phpeclipse.phpeditor.format"
1339             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1340       </keyBinding>
1341       <keyBinding
1342             platform="gtk"
1343             string="Ctrl+Shift+F"
1344             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1345             command=""
1346             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1347       </keyBinding>
1348       <keyBinding
1349             platform="gtk"
1350             string="Esc Ctrl+F"
1351             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1352             command="net.sourceforge.phpeclipse.phpeditor.format"
1353             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1354       </keyBinding>
1355       
1356       <!-- navigate -->
1357       <command
1358             name="%ActionDefinition.gotoMatchingBracket.name"
1359             description="%ActionDefinition.gotoMatchingBracket.description"
1360             category="org.eclipse.ui.category.navigate"
1361             id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
1362       </command>
1363       <keyBinding
1364             string="Ctrl+Shift+P"
1365             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1366             command="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket"
1367             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1368       </keyBinding>
1369       <keyBinding
1370             platform="carbon"
1371             string="Ctrl+Shift+P"
1372             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1373             command=""
1374             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1375       </keyBinding>
1376       <keyBinding
1377             platform="carbon"
1378             string="Command+Shift+P"
1379             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1380             command="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket"
1381             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1382       </keyBinding>
1383    </extension>
1384    <extension
1385          id="net.sourceforge.phpeclipse.JavaDocumentSetupParticipant"
1386          name="%javaDocumentSetupParticipant"
1387          point="org.eclipse.core.filebuffers.documentSetup"> 
1388       <participant
1389             extensions="php,php3,php4,php5,module,inc,phtml,html,htm,xhtml"
1390             class="net.sourceforge.phpeclipse.phpeditor.JavaDocumentSetupParticipant">
1391       </participant>
1392    <!--   <participant
1393             extensions="html,xml"
1394             class="net.sourceforge.phpeclipse.phpeditor.HTMLDocumentSetupParticipant">
1395       </participant>
1396       <participant
1397             extensions="tpl"
1398             class="net.sourceforge.phpeclipse.phpeditor.SmartyDocumentSetupParticipant">
1399       </participant> -->
1400    </extension>
1401    <extension
1402          id="net.sourceforge.phpeclipse.JavaDocumentFactory"
1403          name="%javaDocumentFactory"
1404          point="org.eclipse.core.filebuffers.documentCreation">
1405       <factory
1406             extensions="php"
1407             class="net.sourceforge.phpeclipse.phpeditor.JavaDocumentFactory">
1408       </factory>
1409    </extension>
1410    
1411    <extension
1412          point="org.eclipse.ui.preferencePages">
1413       <page
1414             name="PHP"
1415             category="net.sourceforge.phpeclipse.ui.preferencePage"
1416             class="net.sourceforge.phpeclipse.PHPEclipseBasePreferencePage"
1417             id="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage">
1418       </page>
1419       <page
1420             name="Code Templates"
1421             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1422             class="net.sourceforge.phpdt.internal.ui.preferences.CodeTemplatePreferencePage"
1423             id="net.sourceforge.phpeclipse.preference.CodeTemplatePreferencePage">
1424       </page>
1425   <!--    <page
1426             name="Members Sort Order"
1427             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1428             class="net.sourceforge.phpdt.internal.ui.preferences.MembersOrderPreferencePage"
1429             id="net.sourceforge.phpeclipse.preference.MembersOrderPreferencePage">
1430       </page> -->
1431       <page
1432             name="PHP External Parser Command"
1433             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1434             class="net.sourceforge.phpeclipse.preferences.PHPEclipseParserPreferencePage"
1435             id="net.sourceforge.phpeclipse.preferences.PHPEclipseParserPreferencePage">
1436       </page>
1437 <!--    <page
1438             name="Editor2"
1439             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1440             class="net.sourceforge.phpeclipse.PHPSyntaxEditorPreferencePage"
1441             id="net.sourceforge.phpeclipse.preference.PHPSyntaxEditorPreferencePage">
1442       </page> 
1443       <page
1444             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1445             name="PHP Project Defaults"
1446             class="net.sourceforge.phpeclipse.preferences.PHPMiscProjectPreferences"
1447             id="net.sourceforge.phpeclipse.preferences.PHPMiscProjectPreferences">
1448       </page> 
1449       <page
1450             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1451             name="PHP Browser Preview"
1452             class="net.sourceforge.phpeclipse.preferences.PHPPreviewProjectPreferences"
1453             id="net.sourceforge.phpeclipse.preferences.PHPPreviewProjectPreferences">
1454       </page> -->
1455       <page
1456             name="%compilerOptionsPrefName" 
1457             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1458             class="net.sourceforge.phpdt.internal.ui.preferences.CompilerPreferencePage"
1459             id="net.sourceforge.phpeclipse.preference.CompilerPreferencePage">
1460       </page>
1461       <page
1462             name="%todoTaskPrefName" 
1463             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1464             class="net.sourceforge.phpdt.internal.ui.preferences.TodoTaskPreferencePage"
1465             id="net.sourceforge.phpeclipse.preference.TodoTaskPreferencePage">
1466       </page>
1467       <page
1468             name="Formatter"
1469             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1470             class="net.sourceforge.phpdt.internal.ui.preferences.CodeFormatterPreferencePage"
1471             id="net.sourceforge.phpeclipse.preference.CodeFormatterPreferencePage">
1472       </page>
1473       <page name="Editor"
1474             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1475             class="net.sourceforge.phpdt.internal.ui.preferences.JavaEditorPreferencePage"
1476             id="net.sourceforge.phpdt.internal.ui.preferences.JavaEditorPreferencePage">
1477       </page>
1478       <page name="%codeAssistPageName"
1479             category="net.sourceforge.phpdt.internal.ui.preferences.JavaEditorPreferencePage"
1480             class="net.sourceforge.phpdt.internal.ui.preferences.CodeAssistPreferencePage"
1481             id="net.sourceforge.phpdt.internal.ui.preferences.CodeAssistPreferencePage">
1482       </page>
1483             <page
1484             name="%templatePageName"
1485             category="net.sourceforge.phpdt.internal.ui.preferences.JavaEditorPreferencePage"
1486             class="net.sourceforge.phpdt.internal.ui.preferences.JavaTemplatePreferencePage"
1487             id="net.sourceforge.phpeclipse.preference.TemplatePreferencePage">
1488       </page>
1489   <!--      <page
1490             name="%templatePageName"
1491             category="net.sourceforge.phpdt.internal.ui.preferences.JavaEditorPreferencePage"
1492             class="net.sourceforge.phpdt.internal.ui.preferences.TemplatePreferencePage"
1493             id="net.sourceforge.phpeclipse.preference.TemplatePreferencePage">
1494       </page>
1495       <page
1496             name="Language Settings"
1497             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1498             class="net.sourceforge.phpeclipse.PHPLanguagePreferencePage"
1499             id="net.sourceforge.phpeclipse.preference.PHPLanguagePreferencePage">
1500       </page> -->
1501       <page 
1502             name="%spellingPrefName"
1503             category="net.sourceforge.phpdt.internal.ui.preferences.JavaEditorPreferencePage"
1504             class="net.sourceforge.phpdt.internal.ui.preferences.SpellingPreferencePage"
1505             id = "net.sourceforge.phpdt.internal.ui.preferences.SpellingPreferencePage">
1506       </page> 
1507    </extension>
1508    <extension
1509          point="org.eclipse.ui.editors.documentProviders">
1510       <provider
1511             extensions="%phpFileExtension"
1512             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1513             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1514       </provider>
1515    </extension>
1516    <extension
1517          point="org.eclipse.ui.editors.documentProviders">
1518       <provider
1519             extensions="%php3FileExtension"
1520             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1521             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1522       </provider>
1523    </extension>
1524    <extension
1525          point="org.eclipse.ui.editors.documentProviders">
1526       <provider
1527             extensions="%php4FileExtension"
1528             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1529             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1530       </provider>
1531    </extension>
1532    <extension
1533          point="org.eclipse.ui.editors.documentProviders">
1534       <provider
1535             extensions="%php5FileExtension"
1536             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1537             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1538       </provider>
1539    </extension>
1540    <extension
1541          point="org.eclipse.ui.editors.documentProviders">
1542       <provider
1543             extensions="%moduleFileExtension"
1544             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1545             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1546       </provider>
1547    </extension>
1548    <extension
1549          point="org.eclipse.ui.editors.documentProviders">
1550       <provider
1551             extensions="%incFileExtension"
1552             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1553             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1554       </provider>
1555    </extension>
1556    <extension
1557          point="org.eclipse.ui.editors.documentProviders">
1558       <provider
1559             extensions="%phtmlFileExtension"
1560             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1561             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1562       </provider>
1563    </extension>
1564   <extension
1565          point="org.eclipse.ui.editors.documentProviders">
1566       <provider
1567             extensions="%htmlFileExtension"
1568             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1569             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1570       </provider>
1571    </extension>
1572    <extension
1573          point="org.eclipse.ui.editors.documentProviders">
1574       <provider
1575             extensions="%htmFileExtension"
1576             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1577             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1578       </provider>
1579    </extension>
1580    <extension
1581          point="org.eclipse.ui.editors.documentProviders">
1582       <provider
1583             extensions="xhtml"
1584             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1585             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1586       </provider>
1587    </extension>
1588  <!--  <extension
1589          point="org.eclipse.ui.editors.documentProviders">
1590       <provider
1591             extensions="%tplFileExtension"
1592             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1593             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1594       </provider>
1595    </extension> -->
1596    <extension
1597          point="org.eclipse.ui.views">
1598       <category
1599             name="%viewCategoryName"
1600             id="net.sourceforge.phpeclipse.views.category">
1601       </category>
1602       <view
1603             name="%phpConsoleView"
1604             icon="icons/obj16/php.gif"
1605             category="net.sourceforge.phpeclipse.views.category"
1606             class="net.sourceforge.phpeclipse.views.PHPConsole"
1607             id="net.sourceforge.phpeclipse.views.phpconsoleview">
1608       </view>  
1609    </extension>
1610
1611 <!-- external tools -->
1612
1613 <!-- extension point definitions -->
1614         <extension-point id="configurationDuplicationMaps" name="%ExtPoint.configurationDuplicationMaps"/>
1615         <extension-point id="argumentVariables" name="%ExtPoint.argumentVariables"/>
1616         <extension-point id="directoryVariables" name="%ExtPoint.directoryVariables"/>
1617         <extension-point id="fileVariables" name="%ExtPoint.fileVariables"/>
1618         <extension-point id="refreshVariables" name="%ExtPoint.refreshVariables"/>
1619         
1620 <!-- Extensions -->
1621         <extension point="org.eclipse.ui.actionSets">
1622                 <actionSet
1623                         id="net.sourceforge.phpdt.externaltools.ExternalToolsSet"
1624                         label="%ActionSet.externalTools"
1625                         visible="true">
1626                         <menu id="org.eclipse.ui.run" 
1627                                 label="%Menu.run" 
1628                                 path="additions"> 
1629                                 <separator name="ExternalToolsGroup"/> 
1630                         </menu> 
1631         <!--            <action
1632                                 id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateMenu"
1633                                 label="%Action.externalTools"
1634                                 menubarPath="org.eclipse.ui.run/ExternalToolsGroup"
1635                                 disabledIcon="icons/externaltools/full/dtool16/external_tools.gif"
1636                                 icon="icons/externaltools/full/etool16/external_tools.gif"
1637                                 hoverIcon="icons/externaltools/full/ctool16/external_tools.gif"
1638                                 pulldown="true"
1639                                 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
1640                         </action> 
1641                         <action
1642                                 id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateToolbar"
1643                                 label="%Action.externalTools"
1644                                 toolbarPath="Normal/additions"
1645                                 disabledIcon="icons/externaltools/full/dtool16/external_tools.gif"
1646                                 icon="icons/externaltools/full/etool16/external_tools.gif"
1647                                 hoverIcon="icons/externaltools/full/ctool16/external_tools.gif"
1648                                 tooltip="%Action.externalToolsTip"
1649                                 pulldown="true"
1650                                 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
1651                         </action> -->
1652                 </actionSet>
1653         </extension>
1654
1655     <!-- Launch Configuration Extensions -->
1656     <extension point="org.eclipse.debug.core.launchConfigurationTypes">
1657         <launchConfigurationType
1658                 id = "net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
1659                 name = "%Program.externalTools"
1660                 delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
1661                 modes = "run"
1662                 category = "org.eclipse.ui.externaltools">
1663         </launchConfigurationType>
1664         <launchConfigurationType
1665                 id = "net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
1666                 name = "%Program.externalTools"
1667                 delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
1668                 modes = "run"
1669                 category = "org.eclipse.ui.externaltools.builder">
1670         </launchConfigurationType>
1671     </extension>
1672     
1673     <extension point = "net.sourceforge.phpeclipse.configurationDuplicationMaps">
1674         <configurationMap
1675                 sourceType="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
1676                 builderType="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType">
1677         </configurationMap>
1678     </extension>
1679     
1680     <extension point = "org.eclipse.debug.ui.launchConfigurationTabGroups">
1681                 <launchConfigurationTabGroup
1682                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program"
1683                         type ="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
1684                         class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramTabGroup">
1685                 </launchConfigurationTabGroup>
1686                 <launchConfigurationTabGroup
1687                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program.builder"
1688                         type ="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
1689                         class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramBuilderTabGroup">
1690                 </launchConfigurationTabGroup>
1691         </extension>
1692         
1693         <extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
1694                 <launchConfigurationTypeImage
1695                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program"
1696                         configTypeID="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
1697                         icon="icons/externaltools/full/obj16/external_tools.gif">
1698                 </launchConfigurationTypeImage> 
1699                 <launchConfigurationTypeImage
1700                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program.builder"
1701                         configTypeID="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
1702                         icon="icons/externaltools/full/obj16/external_tools.gif">
1703                 </launchConfigurationTypeImage> 
1704         </extension>
1705
1706         <!-- Variable Extensions -->
1707         <extension point="net.sourceforge.phpeclipse.fileVariables">
1708                 <variable
1709                         tag="workspace_loc"
1710                         description="Expands to the workspace root's absolute file system path."
1711                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
1712                 </variable>
1713                 <variable
1714                         tag="resource_loc"
1715                         description="Expands to the resource's absolute file system path."
1716                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
1717                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1718                 </variable>
1719         </extension>
1720         
1721         <extension point="net.sourceforge.phpeclipse.argumentVariables">
1722                 <variable
1723                         tag="workspace_loc"
1724                         description="Expands to the workspace root's absolute file system path."
1725                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
1726                 </variable>
1727                 <variable
1728                         tag="file_loc"
1729                         description="Expands to the full file name"
1730                         expanderClass="net.sourceforge.phpdt.externaltools.variable.FileExpander">
1731                 </variable>
1732                 <variable
1733                         tag="file_url"
1734                         description="Expands to an URL with the localhost preference settings"
1735                         expanderClass="net.sourceforge.phpdt.externaltools.variable.UrlExpander">
1736                 </variable>
1737                 <variable
1738                         tag="localhost_url"
1739                         description="Expands to the localhost preference settings."
1740                         expanderClass="net.sourceforge.phpdt.externaltools.variable.LocalhostExpander">
1741                 </variable>
1742                 <variable
1743                         tag="project_loc"
1744                         description="Expands to the selected resource's project absolute file system path."
1745                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
1746                 </variable>
1747                 <variable
1748                         tag="project_path"
1749                         description="Expands to the full path, relative to the workspace root, of the selected project"
1750                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectExpander">
1751                 </variable>
1752                 <variable
1753                         tag="project_name"
1754                         description="Expands to the name of the selected project"
1755                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectNameExpander">
1756                 </variable>
1757                 <variable
1758                         tag="resource_loc"
1759                         description="Expands to the resource's absolute file system path."
1760                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
1761                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1762                 </variable>
1763                 <variable
1764                         tag="container_loc"
1765                         description="Expands to the selected resource's containing folder absolute file system path."
1766                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
1767                 </variable>
1768                 <variable
1769                         tag="build_type"
1770                         description="Expands to the type of build"
1771                         expanderClass="net.sourceforge.phpdt.externaltools.variable.BuildTypeExpander">
1772                 </variable>
1773         </extension>
1774
1775         <extension point="net.sourceforge.phpeclipse.directoryVariables">
1776                 <variable
1777                         tag="workspace_loc"
1778                         description="Expands to the workspace root's absolute file system path."
1779                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
1780                 </variable>
1781                 <variable
1782                         tag="project_loc"
1783                         description="Expands to the selected resource's project absolute file system path."
1784                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
1785                 </variable>
1786                 <variable
1787                         tag="container_loc"
1788                         description="Expands to the selected resource's containing folder absolute file system path."
1789                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
1790                 </variable>
1791                 <variable
1792                         tag="resource_loc"
1793                         description="Expands to a resource's absolute file system path."
1794                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFolderResourceComponent"
1795                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1796                 </variable>
1797         </extension>
1798
1799         <extension point="net.sourceforge.phpeclipse.refreshVariables">
1800                 <variable
1801                         tag="workspace"
1802                         description="Expands to the workspace root."
1803                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
1804                 </variable>
1805                 <variable
1806                         tag="project"
1807                         description="Expands to the project of the selected resource."
1808                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
1809                 </variable>
1810                 <variable
1811                         tag="container"
1812                         description="Expands to the folder containing the selected resource."
1813                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
1814                 </variable>
1815                 <variable
1816                         tag="resource"
1817                         description="Expands to a resource."
1818                         componentClass="net.sourceforge.phpdt.externaltools.variable.ResourceComponent"
1819                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1820                 </variable>
1821                 <variable
1822                         tag="working_set"
1823                         description="Expands to the group of resources in a working set."
1824                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkingSetExpander">
1825                 </variable>
1826         </extension>
1827                 <extension
1828                 point= "net.sourceforge.phpeclipse.foldingStructureProviders">
1829                 <provider
1830                         id="net.sourceforge.phpdt.ui.text.defaultFoldingProvider"
1831                         name= "%defaultFoldingStructureProviderName"
1832                         class="net.sourceforge.phpdt.internal.ui.text.folding.DefaultJavaFoldingStructureProvider"
1833                         preferencesClass="net.sourceforge.phpdt.internal.ui.text.folding.DefaultJavaFoldingPreferenceBlock">
1834                 </provider>
1835         </extension>
1836         
1837 <!-- =========================================================================== -->
1838 <!-- Templates                                                                   -->
1839 <!-- =========================================================================== -->
1840    <extension
1841          point="org.eclipse.ui.editors.templates">
1842       <contextType
1843             name="%templates.php.contextType.name"
1844             class="net.sourceforge.phpdt.internal.corext.template.php.JavaContextType"
1845             id="java">
1846       </contextType>
1847       <contextType
1848             name="%templates.phpdoc.contextType.name"
1849             class="net.sourceforge.phpdt.internal.corext.template.php.JavaDocContextType"
1850             id="javadoc">
1851       </contextType>
1852       <contextType
1853             name="%templates.html.contextType.name"
1854             class="net.sourceforge.phpdt.internal.corext.template.php.HTMLContextType"
1855             id="javadoc">
1856       </contextType>
1857       <include
1858                 file="templates/default-templates.xml"
1859                 translations="templates/default-templates.properties">
1860       </include>
1861       <include
1862                 file="templates/default-codetemplates.xml"
1863                 translations="templates/default-templates.properties">
1864       </include>
1865    </extension>
1866 </plugin>