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