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