fixed additional catches block bug
[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    <extension
143          point="org.eclipse.team.core.fileTypes">
144       <fileTypes
145             type="text"
146             extension="php">
147       </fileTypes>
148       <fileTypes
149             type="text"
150             extension="php3">
151       </fileTypes>
152       <fileTypes
153             type="text"
154             extension="php4">
155       </fileTypes>
156       <fileTypes
157             type="text"
158             extension="php5"> 
159       </fileTypes>
160       <fileTypes
161             type="text"
162             extension="module">
163       </fileTypes>
164       <fileTypes
165             type="text"
166             extension="inc">
167       </fileTypes>
168       <fileTypes
169             type="text"
170             extension="phtml">
171       </fileTypes>
172       <fileTypes
173             type="text"
174             extension="html">
175       </fileTypes>
176       <fileTypes
177             type="text"
178             extension="htm">
179       </fileTypes>
180       <fileTypes
181             type="text"
182             extension="xhtml">
183       </fileTypes> 
184   <!--    <fileTypes
185             type="text"
186             extension="tpl">
187       </fileTypes> -->
188    </extension>
189    
190    <extension
191       point="net.sourceforge.phpeclipse.phpEditorTextHovers">
192    <hover
193          class="net.sourceforge.phpdt.internal.ui.text.java.hover.BestMatchHover"
194          id="net.sourceforge.phpdt.ui.BestMatchHover"
195          label="%sequentialHover"
196          description="%sequentialHoverDescription">
197    </hover>
198 </extension>
199
200 <extension
201       point="net.sourceforge.phpeclipse.phpEditorTextHovers">
202    <hover
203          class="net.sourceforge.phpdt.internal.ui.text.java.hover.JavaSourceHover"
204          id="net.sourceforge.phpdt.ui.JavaSourceHover"
205          label="%sourceHover"
206          description="%sourceHoverDescription">
207    </hover>
208    <hover
209             label="%problemHover"
210             description="%problemHoverDescription"
211             class="net.sourceforge.phpdt.internal.ui.text.java.hover.ProblemHover"
212             id="net.sourceforge.phpdt.ui.ProblemHover">
213    </hover>
214    <hover
215          class="net.sourceforge.phpdt.internal.ui.text.java.hover.AnnotationHover"
216          id="net.sourceforge.phpdt.ui.AnnotationHover"
217          label="%annotationHover" 
218          description="%annotationHoverDescription">
219    </hover>
220    </extension>
221
222    <extension
223          point="org.eclipse.ui.perspectives">
224       <perspective
225             name="%perspectivePHP.name"
226             icon="icons/obj16/php.gif"
227             class="net.sourceforge.phpeclipse.PHPPerspectiveFactory"
228             id="net.sourceforge.phpeclipse.PHPPerspective">
229       </perspective>
230    </extension>
231    <extension
232          point="org.eclipse.ui.newWizards">
233       <category
234             name="%newWizardCategory.name"
235             id="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP">
236       </category>
237       <wizard
238             name="%newWizardPHPProject.name"
239             icon="icons/obj16/php.gif"
240             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
241             class="net.sourceforge.phpeclipse.wizards.NewProjectCreationWizard"
242             project="true"
243             id="net.sourceforge.phpeclipse.wizards.NewWizardProjectCreation">
244          <description>
245             Create a new PHP project.
246          </description>
247       </wizard>
248  <!--    <wizard
249                 id="net.sourceforge.phpdt.internal.ui.wizards.NewClassCreationWizard"
250                 name="%NewPHPClass.label"
251                 class="net.sourceforge.phpdt.internal.ui.wizards.NewClassCreationWizard"
252                 category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
253                 icon="icons/ctool16/newclass_wiz.gif">
254                 <description>%NewPHPClass.description</description>
255         </wizard>      -->
256 <!--
257 <this wizard replaces it as it works - maybe not as pretty but still>
258
259       <wizard
260             name="%newWizardPHPProject.name"
261             icon="icons/obj16/php.gif"
262             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
263             class="net.sourceforge.phpeclipse.wizards.TempnewPHPProject"
264             project="true"
265             id="net.sourceforge.phpeclipse.wizards.NewWizardProjectCreation">
266          <description>
267             Create a new PHP project.
268          </description>
269       </wizard> -->
270       <wizard
271             name="%newWizardPHPFile.name"
272             icon="icons/obj16/phpedit.gif"
273             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
274             class="net.sourceforge.phpeclipse.wizards.PHPFileWizard"
275             id="net.sourceforge.phpeclipse.wizards.PHPFileWizard">
276          <description>
277             Create a basic PHP file.
278          </description>
279       </wizard>
280       <wizard
281             name="%newWizardHTMLFile.name"
282             icon="icons/obj16/htmledit.gif"
283             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
284             class="net.sourceforge.phpeclipse.wizards.HTMLFileWizard"
285             id="net.sourceforge.phpeclipse.wizards.HTMLFileWizard">
286          <description>
287             Create a basic HTML file.
288          </description>
289       </wizard>
290    </extension>
291    <extension point="org.eclipse.ui.exportWizards">
292      <wizard name="%ExportWizards.Obfuscator" 
293              icon="icons/ctool16/exportdir_wiz.gif" 
294              class="net.sourceforge.phpeclipse.obfuscator.export.ObfuscatorExportWizard" 
295              id="net.sourceforge.phpeclipse.obfuscator.export.ObfuscatorExportWizard">
296      <description>%ExportWizards.ObfuscatorDescription</description> 
297      <selection class="org.eclipse.core.resources.IResource" /> 
298      </wizard>
299   </extension>
300    <extension
301          point="org.eclipse.ui.ide.projectNatureImages">
302       <image
303             icon="icons/obj16/php.gif"
304             natureId="net.sourceforge.phpeclipse.phpnature"
305             id="net.sourceforge.phpeclipse.ProjectNatureImagePHP">
306       </image>
307    </extension>
308    <extension
309          point="org.eclipse.ui.propertyPages">
310 <!--      <page
311             objectClass="org.eclipse.core.resources.IProject"
312             name="%propertyPagePHPProject.name"
313             class="net.sourceforge.phpeclipse.preferences.PHPProjectPropertyPage"
314             id="net.sourceforge.phpeclipse.preferences.PHPProjectPropertyPage">
315          <filter
316                name="nature"
317                value="net.sourceforge.phpeclipse.phpnature">
318          </filter>
319       </page> 
320       <page
321             objectClass="org.eclipse.core.resources.IProject"
322             name="PHP Project Settings"
323             class="net.sourceforge.phpeclipse.preferences.PHPMiscProjectPreferences"
324             id="net.sourceforge.phpeclipse.preferences.project.PHPMiscProjectPreferences">
325          <filter
326                name="nature"
327                value="net.sourceforge.phpeclipse.phpnature">
328          </filter>
329       </page> -->
330       <page
331             objectClass="org.eclipse.core.resources.IProject"
332             name="%todoPageName"
333             class="net.sourceforge.phpdt.internal.ui.preferences.TodoTaskPropertyPage"
334             id="net.sourceforge.phpdt.ui.propertyPages.TodoTaskPropertyPage">
335          <filter
336                name="nature"
337                value="net.sourceforge.phpeclipse.phpnature">
338          </filter>
339       </page>
340       <page
341             objectClass="net.sourceforge.phpdt.core.IJavaProject"
342             name="%todoPageName"
343             class="net.sourceforge.phpdt.internal.ui.preferences.TodoTaskPropertyPage"
344             id="net.sourceforge.phpdt.ui.propertyPages.TodoTaskPropertyPage">
345          <filter
346                name="nature"
347                value="net.sourceforge.phpeclipse.phpnature">
348          </filter>
349       </page>
350             <page
351             objectClass="org.eclipse.core.resources.IProject"
352             name="%compilerPageName"
353             class="net.sourceforge.phpdt.internal.ui.preferences.CompilerPropertyPage"
354             id="net.sourceforge.phpdt.ui.propertyPages.CompilerPropertyPage">
355          <filter
356                name="nature"
357                value="net.sourceforge.phpeclipse.phpnature">
358          </filter>
359       </page>
360       <page
361             objectClass="net.sourceforge.phpdt.core.IJavaProject"
362             name="%compilerPageName"
363             class="net.sourceforge.phpdt.internal.ui.preferences.CompilerPropertyPage"
364             id="net.sourceforge.phpdt.ui.propertyPages.CompilerPropertyPage">
365          <filter
366                name="nature"
367                value="net.sourceforge.phpeclipse.phpnature">
368          </filter>
369       </page>
370      <!--  <page
371             objectClass="org.eclipse.core.resources.IFile"
372             name="PHP File Settings"
373             class="net.sourceforge.phpeclipse.preferences.PHPPreviewProjectPreferences"
374             id="net.sourceforge.phpeclipse.preferences.PHPPreviewProjectPreferences">
375       </page> -->
376    </extension>
377 <!--   <extension
378          point="org.eclipse.ui.views">
379       <view
380             name="%viewPHPResources.name"
381             icon="icons/obj16/php.gif"
382             class="net.sourceforge.phpeclipse.resourcesview.PHPResourcesView"
383             id="net.sourceforge.phpeclipse.resourcesview.ViewPHPResources">
384       </view>
385    </extension> -->
386    <extension
387          point="org.eclipse.ui.editors">
388       <editor
389             name="%phpEditorName"
390             default="true"
391             icon="icons/obj16/phpedit.gif"
392             extensions="php,php3,php4,php5,phtml,inc,module"
393             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
394             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
395             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
396             id="net.sourceforge.phpeclipse.PHPUnitEditor">
397       </editor>
398  <!--     <editor
399             name="%phpEditorName"
400             default="true"
401             icon="icons/obj16/phpedit.gif"
402             extensions="php3"
403             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
404             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
405             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
406             id="net.sourceforge.phpeclipse.PHPUnitEditor">
407       </editor>
408       <editor
409             name="%phpEditorName"
410             default="true"
411             icon="icons/obj16/phpedit.gif"
412             extensions="php4"
413             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
414             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
415             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
416             id="net.sourceforge.phpeclipse.PHPUnitEditor">
417       </editor>
418       <editor
419             name="%phpEditorName"
420             default="true"
421             icon="icons/obj16/phpedit.gif"
422             extensions="module"
423             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
424             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
425             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
426             id="net.sourceforge.phpeclipse.PHPUnitEditor">
427       </editor>
428       <editor
429             name="%phpEditorName"
430             default="true"
431             icon="icons/obj16/phpedit.gif"
432             extensions="php5"
433             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
434             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
435             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
436             id="net.sourceforge.phpeclipse.PHPUnitEditor">
437       </editor>
438       <editor
439             name="%phpEditorName"
440             default="true"
441             icon="icons/obj16/phpedit.gif"
442             extensions="inc"
443             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
444             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
445             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
446             id="net.sourceforge.phpeclipse.PHPUnitEditor">
447       </editor>
448       <editor
449             name="%phpEditorName"
450             default="true"
451             icon="icons/obj16/phpedit.gif"
452             extensions="phtml"
453             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
454             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
455             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
456             id="net.sourceforge.phpeclipse.PHPUnitEditor">
457       </editor> -->
458       <editor
459             name="%phpEditorName"
460             default="true"
461             icon="icons/obj16/htmledit.gif"
462             extensions="htm,html,xhtml" 
463             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
464             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
465             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
466             id="net.sourceforge.phpeclipse.PHPUnitEditor">
467       </editor>
468   <!--    <editor
469             name="%phpEditorName"
470             default="true"
471             icon="icons/obj16/htmledit.gif"
472             extensions="html"
473             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
474             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
475             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
476             id="net.sourceforge.phpeclipse.PHPUnitEditor">
477       </editor>
478       <editor
479             name="%phpEditorName"
480             default="true"
481             icon="icons/obj16/htmledit.gif"
482             extensions="xhtml"
483             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
484             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
485             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
486             id="net.sourceforge.phpeclipse.PHPUnitEditor">
487       </editor> -->
488   <!--    <editor
489             name="%phpEditorName"
490             default="true"
491             icon="icons/obj16/htmledit.gif"
492             extensions="tpl"
493             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
494             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
495             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
496             id="net.sourceforge.phpeclipse.PHPUnitEditor">
497       </editor> -->
498    </extension>
499       <extension
500          point="org.eclipse.ui.fontDefinitions">
501       <fontDefinition
502             label="%phpEditorFontDefiniton.label"
503             defaultsTo="org.eclipse.jface.textfont"
504             id="net.sourceforge.phpdt.ui.editors.textfont">
505          <description>
506             %phpEditorFontDefintion.description
507          </description>
508       </fontDefinition>
509    </extension>
510    <extension
511          point="org.eclipse.ui.editors.annotationTypes">
512       <type
513          name="net.sourceforge.phpdt.ui.error"
514          super="org.eclipse.ui.workbench.texteditor.error"
515          markerType="net.sourceforge.phpeclipse.problem"
516          markerSeverity="2">
517       </type>
518       <type
519          name="net.sourceforge.phpdt.ui.warning"
520          super="org.eclipse.ui.workbench.texteditor.warning"
521          markerType="net.sourceforge.phpeclipse.problem"
522          markerSeverity="1">
523       </type>
524       <type
525          name="net.sourceforge.phpdt.ui.info"
526          super="org.eclipse.ui.workbench.texteditor.info"
527          markerType="net.sourceforge.phpeclipse.problem"
528          markerSeverity="0">
529       </type>
530       <type
531          name="net.sourceforge.phpdt.ui.occurrences">
532       </type>
533    </extension>
534    <extension
535          point="org.eclipse.ui.editors.markerAnnotationSpecification">
536       <specification
537             annotationType="net.sourceforge.phpdt.ui.error"
538             annotationImageProvider="net.sourceforge.phpeclipse.phpeditor.JavaAnnotationImageProvider">
539       </specification>
540       <specification
541             annotationType="net.sourceforge.phpdt.ui.warning"
542             annotationImageProvider="net.sourceforge.phpeclipse.phpeditor.JavaAnnotationImageProvider">
543       </specification>
544       <specification
545             annotationType="net.sourceforge.phpdt.ui.info"
546             annotationImageProvider="net.sourceforge.phpeclipse.phpeditor.JavaAnnotationImageProvider">
547       </specification>
548       <specification 
549             annotationType="org.eclipse.debug.core.breakpoint"
550             icon="icons/full/obj16/brkp_obj.gif"
551             annotationImageProvider="net.sourceforge.phpeclipse.phpeditor.BreakpointImageProvider">
552       </specification>
553           <specification
554             annotationType="net.sourceforge.phpdt.ui.occurrences"
555             label="%OccurrenceAnnotation.label"
556             icon="icons/full/obj16/searchm_obj.gif"
557             textPreferenceKey="occurrenceIndication"
558             textPreferenceValue="false"
559             highlightPreferenceKey="occurrenceHighlighting"
560             highlightPreferenceValue="true"
561             overviewRulerPreferenceKey="occurrenceIndicationInOverviewRuler"
562             overviewRulerPreferenceValue="true"
563             verticalRulerPreferenceKey="occurrenceIndicationInVerticalRuler"
564             verticalRulerPreferenceValue="false"
565             colorPreferenceKey="occurrenceIndicationColor"
566             colorPreferenceValue="180,207,205"
567             presentationLayer="3"
568             showInNextPrevDropdownToolbarActionKey="showOccurrenceInNextPrevDropdownToolbarAction"
569             showInNextPrevDropdownToolbarAction="true"
570             isGoToNextNavigationTargetKey="isOccurrenceGoToNextNavigationTarget"
571                 isGoToNextNavigationTarget="false"
572             isGoToPreviousNavigationTargetKey="isOccurrenceGoToPreviousNavigationTarget"
573                 isGoToPreviousNavigationTarget="false">
574           </specification>
575     </extension>
576    <extension
577          point="org.eclipse.ui.actionSets">
578       <actionSet
579             label="PHP/Apache"
580             visible="true"
581             id="net.sourceforge.phpeclipse.PHPActionSet">
582          <menu
583                label="PHP/Apache"
584                id="net.sourceforge.phpeclipse.PHPMenu">
585             <separator
586                   name="phpeclipse">
587             </separator>
588          </menu>
589          <action
590                label="Restart Apache"
591                icon="icons/obj16/apache_restart.gif"
592                tooltip="Restart Apache"
593                class="net.sourceforge.phpeclipse.actions.PHPRestartApacheAction"
594                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
595                toolbarPath="Normal"
596                id="net.sourceforge.phpeclipse.actions.PHPRestartApacheAction">
597          </action>
598          <action
599                label="Stop Apache"
600                icon="icons/obj16/apache_stop.gif"
601                tooltip="Stop Apache"
602                class="net.sourceforge.phpeclipse.actions.PHPStopApacheAction"
603                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
604                toolbarPath="Normal"
605                id="net.sourceforge.phpeclipse.actions.PHPStopApacheAction">
606          </action>
607          <action
608                label="Start Apache"
609                icon="icons/obj16/apache.gif"
610                tooltip="Start Apache"
611                class="net.sourceforge.phpeclipse.actions.PHPStartApacheAction"
612                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
613                toolbarPath="Normal"
614                id="net.sourceforge.phpeclipse.actions.PHPStartApacheAction">
615          </action>
616          <action
617                label="Start MySQL"
618                icon="icons/obj16/sql.gif"
619                tooltip="Start MySQL"
620                class="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction"
621                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
622                toolbarPath="Normal"
623                id="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction">
624          </action>
625       </actionSet>
626
627       <actionSet
628             label="%CodingActionSet.label"
629             description="%CodingActionSet.description"
630             visible="false"
631             id="net.sourceforge.phpeclipse.ui.CodingActionSet">   
632 <!-- =========================================================================== -->
633 <!-- Source Menu                                                                 -->
634 <!-- =========================================================================== -->
635          <menu
636                label="%SourceMenu.label"
637                path="edit"
638                id="net.sourceforge.phpeclipse.ui.source.menu">
639                 <separator 
640                       name="editGroup">
641                 </separator>
642             <separator
643                   name="convertGroup">
644             </separator>
645          </menu>
646          <action
647                definitionId="net.sourceforge.phpeclipse.phpeditor.format"
648                label="%FormatAction.label"
649                retarget="true"
650                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
651                id="net.sourceforge.phpeclipse.phpeditor.Format">
652          </action>
653          <action
654                label="%ShiftLeftAction.label"
655                retarget="true"
656                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
657                id="net.sourceforge.phpeclipse.phpeditor.ShiftLeft">
658          </action>
659          <action
660                label="%ShiftRightAction.label"
661                retarget="true"
662                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
663                id="net.sourceforge.phpeclipse.phpeditor.ShiftRight">
664          </action>
665          <action
666                definitionId="net.sourceforge.phpeclipse.remove.block.comment"
667                label="%RemoveBlockCommentAction.label"
668                retarget="true"
669                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
670                id="net.sourceforge.phpeclipse.ui.actions.RemoveBlockComment">
671          </action>
672          <action
673                definitionId="net.sourceforge.phpeclipse.add.block.comment"
674                label="%AddBlockCommentAction.label"
675                retarget="true"
676                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
677                id="net.sourceforge.phpeclipse.ui.actions.AddBlockComment">
678          </action> 
679          <action
680                definitionId="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
681                label="%ToggleCommentAction.label"
682                retarget="true"
683                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
684                id="net.sourceforge.phpeclipse.ui.actions.ToggleComment">
685          </action>
686          <action
687                definitionId="net.sourceforge.phpeclipse.phpeditor.uncomment"
688                label="%UncommentAction.label"
689                retarget="true"
690                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
691                id="net.sourceforge.phpeclipse.phpeditor.Uncomment">
692          </action>
693          <action
694                definitionId="net.sourceforge.phpeclipse.phpeditor.comment"
695                label="%CommentAction.label"
696                retarget="true"
697                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
698                id="net.sourceforge.phpeclipse.phpeditor.Comment">
699          </action>
700 <!-- convert group -->
701          <menu
702                label="%ConvertLineDelimitersActions.label"
703                path="net.sourceforge.phpeclipse.ui.source.menu/convertGroup"
704                id="convertSubMenu">
705             <separator
706                   name="group1">
707             </separator>
708          </menu>
709          <action
710                label="%ConvertLineDelimitersToMacAction.label"
711                retarget="true"
712                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/convertSubMenu/group1"
713                allowLabelUpdate="true"
714                id="net.sourceforge.phpeclipse.ui.actions.ConvertLineDelimitersToMac">
715          </action>
716          <action
717                label="%ConvertLineDelimitersToUNIXAction.label"
718                retarget="true"
719                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/convertSubMenu/group1"
720                allowLabelUpdate="true"
721                id="net.sourceforge.phpeclipse.ui.actions.ConvertLineDelimitersToUNIX">
722          </action>
723          <action
724                label="%ConvertLineDelimitersToWindowsAction.label"
725                retarget="true"
726                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/convertSubMenu/group1"
727                allowLabelUpdate="true"
728                id="net.sourceforge.phpeclipse.ui.actions.ConvertLineDelimitersToWindows">
729          </action>
730       </actionSet>
731    </extension>
732    <extension
733          point="org.eclipse.ui.actionSetPartAssociations">
734       <actionSetPartAssociation
735             targetID="net.sourceforge.phpeclipse.ui.CodingActionSet">
736          <part id="net.sourceforge.phpeclipse.PHPUnitEditor" />
737       </actionSetPartAssociation>
738    </extension>
739    
740 <!-- =========================================================================== -->
741 <!-- PHP Editor Action Definition IDs -->
742 <!-- =========================================================================== -->
743 <!--   <extension
744          point="org.eclipse.ui.actionDefinitions">
745  
746       <actionDefinition
747             id="net.sourceforge.phpeclipse.phpeditor.ContentAssistProposal">
748       </actionDefinition>
749  
750       <actionDefinition
751             id="net.sourceforge.phpeclipse.phpeditor.Comment">
752       </actionDefinition>
753       <actionDefinition
754             id="net.sourceforge.phpeclipse.phpeditor.Uncomment">
755       </actionDefinition>
756       <actionDefinition
757             id="net.sourceforge.phpeclipse.phpeditor.Format">
758       </actionDefinition>
759       <actionDefinition
760             id="net.sourceforge.phpeclipse.ui.edit.text.php.show.outline">
761       </actionDefinition>
762       <actionDefinition
763             id="net.sourceforge.phpeclipse.ui.navigate.php.open.structure">
764       </actionDefinition>
765       <actionDefinition
766             id="net.sourceforge.phpeclipse.ui.edit.text.php.show.next.problem">
767       </actionDefinition>
768       <actionDefinition
769             id="net.sourceforge.phpeclipse.ui.edit.text.php.show.previous.problem">
770       </actionDefinition>
771    </extension> -->
772 <!--   <extension
773          point="org.eclipse.ui.acceleratorSets">
774       <acceleratorSet
775             scopeId="org.eclipse.ui.textEditorScope"
776             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
777          <accelerator
778                key="Ctrl+/"
779                id="net.sourceforge.phpdt.ui.actions.comment">
780          </accelerator>
781          <accelerator
782                key="Ctrl+\\"
783                id="net.sourceforge.phpdt.ui.actions.uncomment">
784          </accelerator>
785       </acceleratorSet>
786    </extension> -->
787    
788    <extension
789          point="org.eclipse.ui.popupMenus">
790  <!--      <objectContribution
791             objectClass="org.eclipse.core.resources.IProject"
792             id="net.sourceforge.phpeclipse.actions.PHPDocumentorAction">
793          <action
794                label="Run PHPDocumentor"
795                class="net.sourceforge.phpeclipse.actions.PHPDocumentorAction"
796                menubarPath="additions"
797                id="net.sourceforge.phpeclipse.actions.PHPDocumentorAction">
798          </action>
799       </objectContribution> -->
800       <objectContribution
801             objectClass="org.eclipse.core.resources.IFile"
802             nameFilter="*.php"
803             id="net.sourceforge.phpeclipse.actions.externalParserAction">
804          <action
805                label="Run External PHP Parser"
806                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
807                menubarPath="additions"
808                id="net.sourceforge.phpeclipse.actions.externalParserAction">
809          </action>
810       </objectContribution>
811       <objectContribution
812             objectClass="org.eclipse.core.resources.IFile"
813             nameFilter="*.php3"
814             id="net.sourceforge.phpeclipse.actions.externalParserAction">
815          <action
816                label="Run External PHP Parser"
817                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
818                menubarPath="additions"
819                id="net.sourceforge.phpeclipse.actions.externalParserAction">
820          </action>
821       </objectContribution>
822       <objectContribution
823             objectClass="org.eclipse.core.resources.IFile"
824             nameFilter="*.php4"
825             id="net.sourceforge.phpeclipse.actions.externalParserAction">
826          <action
827                label="Run External PHP Parser"
828                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
829                menubarPath="additions"
830                id="net.sourceforge.phpeclipse.actions.externalParserAction">
831          </action>
832       </objectContribution>
833       <objectContribution
834             objectClass="org.eclipse.core.resources.IFile"
835             nameFilter="*.php5"
836             id="net.sourceforge.phpeclipse.actions.externalParserAction">
837          <action
838                label="Run External PHP Parser"
839                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
840                menubarPath="additions"
841                id="net.sourceforge.phpeclipse.actions.externalParserAction">
842          </action>
843       </objectContribution>
844       <objectContribution
845             objectClass="org.eclipse.core.resources.IFile"
846             nameFilter="*.module"
847             id="net.sourceforge.phpeclipse.actions.externalParserAction">
848          <action
849                label="Run External PHP Parser"
850                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
851                menubarPath="additions"
852                id="net.sourceforge.phpeclipse.actions.externalParserAction">
853          </action>
854       </objectContribution>
855       <objectContribution
856             objectClass="org.eclipse.core.resources.IFile"
857             nameFilter="*.inc"
858             id="net.sourceforge.phpeclipse.actions.externalParserAction">
859          <action
860                label="Run External PHP Parser"
861                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
862                menubarPath="additions"
863                id="net.sourceforge.phpeclipse.actions.externalParserAction">
864          </action>
865       </objectContribution>
866       <objectContribution
867             objectClass="org.eclipse.core.resources.IFile"
868             nameFilter="*.phtml"
869             id="net.sourceforge.phpeclipse.actions.externalParserAction">
870          <action
871                label="Run External PHP Parser"
872                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
873                menubarPath="additions"
874                id="net.sourceforge.phpeclipse.actions.externalParserAction">
875          </action>
876       </objectContribution>
877       <objectContribution
878             objectClass="org.eclipse.core.resources.IFile"
879             nameFilter="*.php"
880             id="net.sourceforge.phpeclipse.actions.popupShowAction">
881          <action
882                label="Open PHP Browser"
883                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
884                menubarPath="additions"
885                id="net.sourceforge.phpeclipse.actions.showAction">
886          </action>
887       </objectContribution>
888       <objectContribution
889             objectClass="org.eclipse.core.resources.IFile"
890             nameFilter="*.php3"
891             id="net.sourceforge.phpeclipse.actions.popupShowAction">
892          <action
893                label="Open PHP Browser"
894                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
895                menubarPath="additions"
896                id="net.sourceforge.phpeclipse.actions.showAction">
897          </action>
898       </objectContribution>
899       <objectContribution
900             objectClass="org.eclipse.core.resources.IFile"
901             nameFilter="*.php4"
902             id="net.sourceforge.phpeclipse.actions.popupShowAction">
903          <action
904                label="Open PHP Browser"
905                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
906                menubarPath="additions"
907                id="net.sourceforge.phpeclipse.actions.showAction">
908          </action>
909       </objectContribution>
910       <objectContribution
911             objectClass="org.eclipse.core.resources.IFile"
912             nameFilter="*.php5"
913             id="net.sourceforge.phpeclipse.actions.popupShowAction">
914          <action
915                label="Open PHP Browser"
916                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
917                menubarPath="additions"
918                id="net.sourceforge.phpeclipse.actions.showAction">
919          </action>
920       </objectContribution>
921       <objectContribution
922             objectClass="org.eclipse.core.resources.IFile"
923             nameFilter="*.module"
924             id="net.sourceforge.phpeclipse.actions.popupShowAction">
925          <action
926                label="Open PHP Browser"
927                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
928                menubarPath="additions"
929                id="net.sourceforge.phpeclipse.actions.showAction">
930          </action>
931       </objectContribution>
932       <objectContribution
933             objectClass="org.eclipse.core.resources.IFile"
934             nameFilter="*.inc"
935             id="net.sourceforge.phpeclipse.actions.popupShowAction">
936          <action
937                label="Open PHP Browser"
938                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
939                menubarPath="additions"
940                id="net.sourceforge.phpeclipse.actions.showAction">
941          </action>
942       </objectContribution>
943       <objectContribution
944             objectClass="org.eclipse.core.resources.IFile"
945             nameFilter="*.phtml"
946             id="net.sourceforge.phpeclipse.actions.popupShowAction">
947          <action
948                label="Open PHP Browser"
949                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
950                menubarPath="additions"
951                id="net.sourceforge.phpeclipse.actions.showAction">
952          </action>
953       </objectContribution>
954       <objectContribution
955             objectClass="org.eclipse.core.resources.IFile"
956             nameFilter="*.html"
957             id="net.sourceforge.phpeclipse.actions.popupShowAction">
958          <action
959                label="Open PHP Browser"
960                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
961                menubarPath="additions"
962                id="net.sourceforge.phpeclipse.actions.showAction">
963          </action>
964       </objectContribution>
965             <objectContribution
966             objectClass="org.eclipse.core.resources.IFile"
967             nameFilter="*.htm"
968             id="net.sourceforge.phpeclipse.actions.popupShowAction">
969          <action
970                label="Open PHP Browser"
971                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
972                menubarPath="additions"
973                id="net.sourceforge.phpeclipse.actions.showAction">
974          </action>
975       </objectContribution>
976       <objectContribution
977             objectClass="org.eclipse.core.resources.IFile"
978             nameFilter="*.xml"
979             id="net.sourceforge.phpeclipse.actions.popupShowAction">
980          <action
981                label="Open PHP Browser"
982                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
983                menubarPath="additions"
984                id="net.sourceforge.phpeclipse.actions.showAction">
985          </action>
986       </objectContribution>
987   
988       <viewerContribution
989             targetID="#PHPEditorContext"
990             id="net.sourceforge.phpeclipse.actions.popupOpenDeclaration">
991          <action
992                label="Open PHP Declaration"
993                class="net.sourceforge.phpeclipse.actions.PHPOpenDeclarationEditorAction"
994                menubarPath="additions"
995                id="net.sourceforge.phpeclipse.actions.opendeclaration">
996          </action>
997       </viewerContribution>
998       <viewerContribution
999             targetID="#PHPEditorContext"
1000             id="net.sourceforge.phpeclipse.actions.popupOpenAllIncludes">
1001          <action
1002                label="Open Included Files List"
1003                class="net.sourceforge.phpeclipse.actions.PHPOpenAllIncludesEditorAction"
1004                menubarPath="additions"
1005                id="net.sourceforge.phpeclipse.actions.openallincludes">
1006          </action>
1007       </viewerContribution>
1008       <viewerContribution
1009             targetID="#PHPEditorContext"
1010             id="net.sourceforge.phpeclipse.actions.popupOpenInclude">
1011          <action
1012                label="Open Include File"
1013                class="net.sourceforge.phpeclipse.actions.PHPOpenIncludeEditorAction"
1014                menubarPath="additions"
1015                id="net.sourceforge.phpeclipse.actions.openinclude">
1016          </action>
1017       </viewerContribution>
1018       <viewerContribution
1019             targetID="#PHPEditorContext"
1020             id="net.sourceforge.phpeclipse.actions.popupOpenSQLTable">
1021          <action
1022                label="Open Quantum SQL Table View"
1023                class="net.sourceforge.phpeclipse.actions.PHPOpenSQLTableEditorAction"
1024                menubarPath="additions"
1025                id="net.sourceforge.phpeclipse.actions.opensqltable">
1026          </action>
1027       </viewerContribution>
1028       <viewerContribution
1029             targetID="#PHPEditorContext"
1030             id="net.sourceforge.phpeclipse.actions.popupHTMLWizard">
1031          <action
1032                label="Insert HTML (dl,ul,ol,table)"
1033                class="net.sourceforge.phpeclipse.wizards.html.InsertHTMLElementAction"
1034                menubarPath="additions"
1035                id="net.sourceforge.phpdt.phphelp.actions.contexthelp">
1036          </action>
1037       </viewerContribution>
1038    
1039       <viewerContribution
1040             targetID="#PHPRulerContext"
1041             id="net.sourceforge.phpdt.ui.PHPEditorPopupActions">
1042          <action
1043                label="%AddTask.label"
1044                helpContextId="org.eclipse.ui.AddTask_action_context"
1045                class="org.eclipse.ui.texteditor.TaskRulerAction"
1046                menubarPath="add"
1047                id="org.eclipse.ui.texteditor.TaskRulerAction">
1048          </action>
1049          <action
1050                label="%AddBookmark.label"
1051                helpContextId="org.eclipse.ui.bookmark_action_context"
1052                class="org.eclipse.ui.texteditor.BookmarkRulerAction"
1053                menubarPath="add"
1054                id="org.eclipse.ui.texteditor.BookmarkRulerAction">
1055          </action>
1056       </viewerContribution>
1057    </extension>
1058    
1059    <extension
1060          point="org.eclipse.ui.editorActions">
1061       <editorContribution
1062             id="org.eclipse.ui.texteditor.ruler.actions"
1063             targetID="net.sourceforge.phpeclipse.PHPUnitEditor">
1064
1065                 <action
1066                         id="org.eclipse.ui.texteditor.BookmarkRulerAction"
1067                         actionID="RulerDoubleClick"
1068                         label="%Dummy.label"
1069             helpContextId="org.eclipse.ui.bookmark_action_context"
1070                         class="org.eclipse.ui.texteditor.BookmarkRulerAction">
1071                 </action>
1072                 <action
1073             label="%Dummy.label"
1074             class="net.sourceforge.phpeclipse.phpeditor.JavaSelectRulerAction"
1075             actionID="RulerClick"
1076             id="net.sourceforge.phpeclipse.phpeditor.JavaSelectRulerAction">
1077         </action>
1078       </editorContribution>
1079    </extension>
1080    <extension
1081          point="org.eclipse.ui.popupMenus">
1082       <viewerContribution 
1083             targetID="#CompilationUnitRulerContext"
1084             id="net.sourceforge.phpeclipse.phpeditor.QuickFixRulerMenuAction">
1085          <action
1086                label="%Dummy.label"
1087                helpContextId="org.eclipse.jdt.ui.quick_fix_action"
1088                class="net.sourceforge.phpeclipse.phpeditor.JavaSelectRulerAction"
1089                menubarPath="additions"
1090                id="net.sourceforge.phpeclipse.phpeditor.JavaSelectRulerMenuAction">
1091          </action>
1092       </viewerContribution>
1093    </extension>
1094    <extension
1095          point="org.eclipse.ui.popupMenus">
1096       <viewerContribution
1097             targetID="#CompilationUnitRulerContext"
1098             id="net.sourceforge.phpdt.ui.CompilationUnitEditorPopupActions">
1099          <action
1100                label="%AddTask.label"
1101                helpContextId="org.eclipse.ui.AddTask_action_context"
1102                tooltip="%AddTask.tooltip"
1103                class="org.eclipse.ui.texteditor.TaskRulerAction"
1104                menubarPath="add"
1105                id="org.eclipse.ui.texteditor.TaskRulerAction">
1106          </action>
1107          <action
1108                label="%AddBookmark.label"
1109                helpContextId="org.eclipse.ui.bookmark_action_context"
1110                tooltip="%AddBookmark.tooltip"
1111                class="org.eclipse.ui.texteditor.BookmarkRulerAction"
1112                menubarPath="add"
1113                id="org.eclipse.ui.texteditor.BookmarkRulerAction">
1114          </action>
1115          <menu
1116                         id="projection"
1117                         label="%Folding.label"
1118                         path="rest">
1119                  </menu>
1120          <action
1121                label="%Dummy.label"
1122                tooltip="%Dummy.label"
1123                class="net.sourceforge.phpdt.internal.ui.actions.FoldingExpandAllRulerAction"
1124                menubarPath="projection/additions"
1125                definitionId="org.eclipse.ui.edit.text.folding.expand_all"
1126                id="net.sourceforge.phpdt.ui.folding.expandAll">
1127          </action>
1128          <action
1129                label="%Dummy.label"
1130                tooltip="%Dummy.label"
1131                class="net.sourceforge.phpdt.internal.ui.actions.FoldingToggleRulerAction"
1132                menubarPath="projection/additions"
1133                definitionId="org.eclipse.ui.edit.text.folding.toggle"
1134                id="net.sourceforge.phpdt.ui.folding.toggle">
1135          </action>
1136       </viewerContribution>
1137    </extension>
1138  <!-- =========================================================================== -->
1139 <!-- PHPDT/UI command definitions                                                   -->
1140 <!-- =========================================================================== -->
1141    <extension point="org.eclipse.ui.contexts">
1142       <context name="%context.editingPHPSource.name" 
1143        description="%context.editingPHPSource.description" 
1144        parentId="org.eclipse.ui.textEditorScope" 
1145        id="net.sourceforge.phpdt.ui.phpEditorScope" /> 
1146    </extension>
1147    <extension
1148          point="org.eclipse.ui.commands">
1149       <category
1150             name="%category.source.name"
1151             description="%category.source.description"
1152             id="net.sourceforge.phpeclipse.ui.category.source">
1153       </category>
1154       
1155  <!-- source -->
1156       <command
1157             name="%ActionDefinition.comment.name"
1158             description="%ActionDefinition.comment.description"
1159             category="net.sourceforge.phpeclipse.ui.category.source"
1160             id="net.sourceforge.phpeclipse.phpeditor.comment">
1161       </command>
1162       <command
1163             name="%ActionDefinition.uncomment.name"
1164             description="%ActionDefinition.uncomment.description"
1165             category="net.sourceforge.phpeclipse.ui.category.source"
1166             id="net.sourceforge.phpeclipse.phpeditor.uncomment">
1167       </command>
1168       <command 
1169             name="%ActionDefinition.toggleComment.name"
1170             description="%ActionDefinition.toggleComment.description"
1171             category="net.sourceforge.phpeclipse.ui.category.source"
1172             id="net.sourceforge.phpeclipse.phpeditor.toggle.comment">
1173       </command>
1174       
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="php,php3,php4,php5,phtml,inc,module,html,htm,xhtml"
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>