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