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