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