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