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