Added Smarty templates from Ralf Eggert
[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.0"
7    provider-name="%providerName"
8    class="net.sourceforge.phpeclipse.PHPeclipsePlugin">
9
10    <runtime>
11       <library name="phpeclipse.jar">
12          <export name="*"/>
13       </library>
14    </runtime>
15    <requires>
16       <import plugin="org.eclipse.core.runtime.compatibility"/>
17       <import plugin="org.eclipse.ui"/>
18       <import plugin="org.eclipse.ui.console"/>
19       <import plugin="org.eclipse.core.resources"/>
20       <import plugin="org.eclipse.search"/> 
21       <import plugin="org.eclipse.debug.core"/>
22       <import plugin="org.eclipse.debug.ui"/>
23       <import plugin="org.eclipse.compare"/>
24       <import plugin="org.eclipse.core.filebuffers"/>
25       <import plugin="org.eclipse.jface.text"/>
26       <import plugin="org.eclipse.ui.workbench.texteditor"/>
27       <import plugin="org.eclipse.ui.ide"/>
28       <import plugin="org.eclipse.ui.views"/>
29       <import plugin="org.eclipse.ui.editors"/>
30       <import plugin="org.eclipse.ui.externaltools"/>
31       <import plugin="org.eclipse.help"/>
32       <import plugin="org.eclipse.swt"/>
33       <import plugin="org.eclipse.search"/>
34       <import plugin="org.apache.xerces"/>
35       <import plugin="org.eclipse.update.ui"/>
36       <import plugin="net.sourceforge.phpeclipse.quantum.sql"/> 
37    </requires>
38
39    <extension
40          id="phpnature"
41          name="%naturePHP.name"
42          point="org.eclipse.core.resources.natures">
43       <runtime>
44          <run
45           class="net.sourceforge.phpdt.internal.core.JavaProject">
46          </run>
47       </runtime>
48    </extension>
49    
50    <extension
51          id="parserbuilder"
52          name="PHP Builder"
53          point="org.eclipse.core.resources.builders">
54       <builder>
55          <run  
56            class="net.sourceforge.phpdt.internal.core.builder.PHPBuilder">
57          </run>
58       </builder>
59    </extension>
60    <!-- =================================================================================== -->
61 <!-- Extension: Java Markers                                                             -->
62 <!-- =================================================================================== -->
63
64 <!-- Java problems -->
65
66 <extension id="problem" point="org.eclipse.core.resources.markers" name="%phpProblemName">
67         <super type="org.eclipse.core.resources.problemmarker"/>
68         <super type="org.eclipse.core.resources.textmarker"/>
69         <persistent value="true"/>
70         <attribute name="id"/>
71         <attribute name="flags"/>
72         <attribute name="arguments"/>
73 </extension>   
74
75 <!-- Java transient problems -->
76
77 <extension id="transient_problem" point="org.eclipse.core.resources.markers" name="%transientPHPProblemName">
78         <super type="org.eclipse.core.resources.textmarker"/>
79         <persistent value="false"/>
80         <attribute name="id"/>
81         <attribute name="flags"/>
82         <attribute name="arguments"/>
83 </extension>
84
85 <!-- Java tasks -->
86
87 <extension id="task" name="%phpTaskName" point="org.eclipse.core.resources.markers">
88     <super type="org.eclipse.core.resources.taskmarker"/> 
89     <persistent value="true"/>
90 </extension>
91
92    <extension-point name="%phpEditorTextHoversName" id="phpEditorTextHovers" schema="schema/phpEditorTextHovers.exsd"/> 
93
94    <extension
95          point="org.eclipse.team.core.fileTypes">
96       <fileTypes
97             type="text"
98             extension="php">
99       </fileTypes>
100       <fileTypes
101             type="text"
102             extension="php3">
103       </fileTypes>
104       <fileTypes
105             type="text"
106             extension="php4">
107       </fileTypes>
108       <fileTypes
109             type="text"
110             extension="inc">
111       </fileTypes>
112       <fileTypes
113             type="text"
114             extension="phtml">
115       </fileTypes>
116       <fileTypes
117             type="text"
118             extension="html">
119       </fileTypes>
120       <fileTypes
121             type="text"
122             extension="htm">
123       </fileTypes>
124       <fileTypes
125             type="text"
126             extension="xml">
127       </fileTypes>
128       <fileTypes
129             type="text"
130             extension="tpl">
131       </fileTypes>
132    </extension>
133    
134    <extension
135       point="net.sourceforge.phpeclipse.phpEditorTextHovers">
136    <hover
137          class="net.sourceforge.phpdt.internal.ui.text.java.hover.BestMatchHover"
138          id="net.sourceforge.phpdt.ui.BestMatchHover"
139          label="%sequentialHover"
140          description="%sequentialHoverDescription">
141    </hover>
142 </extension>
143
144 <extension
145       point="net.sourceforge.phpeclipse.phpEditorTextHovers">
146    <hover
147          class="net.sourceforge.phpdt.internal.ui.text.java.hover.JavaSourceHover"
148          id="net.sourceforge.phpdt.ui.JavaSourceHover"
149          label="%sourceHover"
150          description="%sourceHoverDescription">
151    </hover>
152 </extension>
153    <extension
154       point="net.sourceforge.phpeclipse.phpEditorTextHovers">
155    <hover
156          class="net.sourceforge.phpdt.internal.ui.text.java.hover.AnnotationHover"
157          id="net.sourceforge.phpdt.ui.AnnotationHover"
158          label="%annotationHover" 
159          description="%annotationHoverDescription">
160    </hover>
161    </extension>
162
163    <extension
164          point="org.eclipse.ui.perspectives">
165       <perspective
166             name="%perspectivePHP.name"
167             icon="icons/obj16/php.gif"
168             class="net.sourceforge.phpeclipse.PHPPerspectiveFactory"
169             id="net.sourceforge.phpeclipse.PHPPerspective">
170       </perspective>
171    </extension>
172    <extension
173          point="org.eclipse.ui.newWizards">
174       <category
175             name="%newWizardCategory.name"
176             id="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP">
177       </category>
178       <wizard
179             name="%newWizardPHPProject.name"
180             icon="icons/obj16/php.gif"
181             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
182             class="net.sourceforge.phpeclipse.wizards.NewProjectCreationWizard"
183             project="true"
184             id="net.sourceforge.phpeclipse.wizards.NewWizardProjectCreation">
185          <description>
186             Create a new PHP project.
187          </description>
188       </wizard>
189 <!--    <wizard
190                 id="net.sourceforge.phpdt.internal.ui.wizards.NewClassCreationWizard"
191                 name="%NewPHPClass.label"
192                 class="net.sourceforge.phpdt.internal.ui.wizards.NewClassCreationWizard"
193                 category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
194                 icon="icons/ctool16/newclass_wiz.gif">
195                 <description>%NewPHPClass.description</description>
196         </wizard>      
197       -->
198 <!--
199 <this wizard replaces it as it works - maybe not as pretty but still>
200
201       <wizard
202             name="%newWizardPHPProject.name"
203             icon="icons/obj16/php.gif"
204             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
205             class="net.sourceforge.phpeclipse.wizards.TempnewPHPProject"
206             project="true"
207             id="net.sourceforge.phpeclipse.wizards.NewWizardProjectCreation">
208          <description>
209             Create a new PHP project.
210          </description>
211       </wizard> -->
212       <wizard
213             name="%newWizardPHPFile.name"
214             icon="icons/obj16/phpedit.gif"
215             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
216             class="net.sourceforge.phpeclipse.wizards.PHPFileWizard"
217             id="net.sourceforge.phpeclipse.wizards.PHPFileWizard">
218          <description>
219             Create a basic PHP file.
220          </description>
221       </wizard>
222    </extension>
223    <extension point="org.eclipse.ui.exportWizards">
224      <wizard name="%ExportWizards.Obfuscator" 
225              icon="icons/ctool16/exportdir_wiz.gif" 
226              class="net.sourceforge.phpeclipse.obfuscator.export.ObfuscatorExportWizard" 
227              id="net.sourceforge.phpeclipse.obfuscator.export.ObfuscatorExportWizard">
228      <description>%ExportWizards.ObfuscatorDescription</description> 
229      <selection class="org.eclipse.core.resources.IResource" /> 
230      </wizard>
231   </extension>
232    <extension
233          point="org.eclipse.ui.ide.projectNatureImages">
234       <image
235             icon="icons/obj16/php.gif"
236             natureId="net.sourceforge.phpeclipse.phpnature"
237             id="net.sourceforge.phpeclipse.ProjectNatureImagePHP">
238       </image>
239    </extension>
240    <extension
241          point="org.eclipse.ui.propertyPages">
242 <!--      <page
243             objectClass="org.eclipse.core.resources.IProject"
244             name="%propertyPagePHPProject.name"
245             class="net.sourceforge.phpeclipse.preferences.PHPProjectPropertyPage"
246             id="net.sourceforge.phpeclipse.preferences.PHPProjectPropertyPage">
247          <filter
248                name="nature"
249                value="net.sourceforge.phpeclipse.phpnature">
250          </filter>
251       </page> -->
252       <page
253             objectClass="org.eclipse.core.resources.IProject"
254             name="PHP Project Settings"
255             class="net.sourceforge.phpeclipse.preferences.PHPMiscProjectPreferences"
256             id="net.sourceforge.phpeclipse.preferences.project.PHPMiscProjectPreferences">
257          <filter
258                name="nature"
259                value="net.sourceforge.phpeclipse.phpnature">
260          </filter>
261       </page>
262       <page
263             objectClass="org.eclipse.core.resources.IFile"
264             name="PHP File Settings"
265             class="net.sourceforge.phpeclipse.preferences.PHPPreviewProjectPreferences"
266             id="net.sourceforge.phpeclipse.preferences.PHPPreviewProjectPreferences">
267       </page>
268    </extension>
269 <!--   <extension
270          point="org.eclipse.ui.views">
271       <view
272             name="%viewPHPResources.name"
273             icon="icons/obj16/php.gif"
274             class="net.sourceforge.phpeclipse.resourcesview.PHPResourcesView"
275             id="net.sourceforge.phpeclipse.resourcesview.ViewPHPResources">
276       </view>
277    </extension> -->
278    <extension
279          point="org.eclipse.ui.editors">
280       <editor
281             name="%phpEditorName"
282             default="true"
283             icon="icons/obj16/phpedit.gif"
284             extensions="php"
285             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
286             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
287             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
288             id="net.sourceforge.phpeclipse.PHPUnitEditor">
289       </editor>
290       <editor
291             name="%phpEditorName"
292             default="true"
293             icon="icons/obj16/phpedit.gif"
294             extensions="php3"
295             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
296             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
297             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
298             id="net.sourceforge.phpeclipse.PHPUnitEditor">
299       </editor>
300       <editor
301             name="%phpEditorName"
302             default="true"
303             icon="icons/obj16/phpedit.gif"
304             extensions="php4"
305             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
306             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
307             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
308             id="net.sourceforge.phpeclipse.PHPUnitEditor">
309       </editor>
310       <editor
311             name="%phpEditorName"
312             default="true"
313             icon="icons/obj16/phpedit.gif"
314             extensions="inc"
315             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
316             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
317             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
318             id="net.sourceforge.phpeclipse.PHPUnitEditor">
319       </editor>
320       <editor
321             name="%phpEditorName"
322             default="true"
323             icon="icons/obj16/phpedit.gif"
324             extensions="phtml"
325             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
326             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
327             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
328             id="net.sourceforge.phpeclipse.PHPUnitEditor">
329       </editor>
330       <editor
331             name="%phpEditorName"
332             default="true"
333             icon="icons/obj16/htmledit.gif"
334             extensions="htm" 
335             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
336             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
337             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
338             id="net.sourceforge.phpeclipse.PHPUnitEditor">
339       </editor>
340       <editor
341             name="%phpEditorName"
342             default="true"
343             icon="icons/obj16/htmledit.gif"
344             extensions="html"
345             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
346             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
347             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
348             id="net.sourceforge.phpeclipse.PHPUnitEditor">
349       </editor>
350       <editor
351             name="%phpEditorName"
352             default="true"
353             icon="icons/obj16/xmledit.gif"
354             extensions="xml"
355             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
356             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
357             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
358             id="net.sourceforge.phpeclipse.PHPUnitEditor">
359       </editor>
360       <editor
361             name="%phpEditorName"
362             default="true"
363             icon="icons/obj16/htmledit.gif"
364             extensions="tpl"
365             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
366             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
367             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
368             id="net.sourceforge.phpeclipse.PHPUnitEditor">
369       </editor>
370    </extension>
371       <extension
372          point="org.eclipse.ui.fontDefinitions">
373       <fontDefinition
374             label="%phpEditorFontDefiniton.label"
375             defaultsTo="org.eclipse.jface.textfont"
376             id="net.sourceforge.phpdt.ui.editors.textfont">
377          <description>
378             %phpEditorFontDefintion.description
379          </description>
380       </fontDefinition>
381    </extension>
382    <extension
383          point="org.eclipse.ui.editors.annotationTypes">
384       <type
385          name="net.sourceforge.phpdt.ui.error"
386          super="org.eclipse.ui.workbench.texteditor.error"
387          markerType="net.sourceforge.phpeclipse.problem"
388          markerSeverity="2">
389       </type>
390       <type
391          name="net.sourceforge.phpdt.ui.warning"
392          super="org.eclipse.ui.workbench.texteditor.warning"
393          markerType="net.sourceforge.phpeclipse.problem"
394          markerSeverity="1">
395       </type>
396       <type
397          name="net.sourceforge.phpdt.ui.info"
398          super="org.eclipse.ui.workbench.texteditor.info"
399          markerType="net.sourceforge.phpeclipse.problem"
400          markerSeverity="0">
401       </type>
402       <type
403          name="net.sourceforge.phpdt.ui.occurrences">
404       </type>
405    </extension>
406    <extension
407          point="org.eclipse.ui.editors.markerAnnotationSpecification">
408       <specification
409             annotationType="net.sourceforge.phpdt.ui.error"
410             annotationImageProvider="net.sourceforge.phpeclipse.phpeditor.JavaAnnotationImageProvider">
411       </specification>
412       <specification
413             annotationType="net.sourceforge.phpdt.ui.warning"
414             annotationImageProvider="net.sourceforge.phpeclipse.phpeditor.JavaAnnotationImageProvider">
415       </specification>
416       <specification
417             annotationType="net.sourceforge.phpdt.ui.info"
418             annotationImageProvider="net.sourceforge.phpeclipse.phpeditor.JavaAnnotationImageProvider">
419       </specification>
420       <specification
421             annotationType="org.eclipse.debug.core.breakpoint"
422             icon="icons/full/obj16/brkp_obj.gif"
423             annotationImageProvider="net.sourceforge.phpeclipse.phpeditor.BreakpointImageProvider">
424       </specification>
425           <specification
426             annotationType="net.sourceforge.phpdt.ui.occurrences"
427             label="%OccurrenceAnnotation.label"
428             icon="icons/full/obj16/searchm_obj.gif"
429             textPreferenceKey="occurrenceIndication"
430             textPreferenceValue="false"
431             highlightPreferenceKey="occurrenceHighlighting"
432             highlightPreferenceValue="true"
433             overviewRulerPreferenceKey="occurrenceIndicationInOverviewRuler"
434             overviewRulerPreferenceValue="true"
435             verticalRulerPreferenceKey="occurrenceIndicationInVerticalRuler"
436             verticalRulerPreferenceValue="false"
437             colorPreferenceKey="occurrenceIndicationColor"
438             colorPreferenceValue="180,207,205"
439             presentationLayer="3"
440             showInNextPrevDropdownToolbarActionKey="showOccurrenceInNextPrevDropdownToolbarAction"
441             showInNextPrevDropdownToolbarAction="true"
442             isGoToNextNavigationTargetKey="isOccurrenceGoToNextNavigationTarget"
443                 isGoToNextNavigationTarget="false"
444             isGoToPreviousNavigationTargetKey="isOccurrenceGoToPreviousNavigationTarget"
445                 isGoToPreviousNavigationTarget="false">
446           </specification>
447     </extension>
448    <extension
449          point="org.eclipse.ui.actionSets">
450       <actionSet
451             label="PHP/Apache"
452             visible="true"
453             id="net.sourceforge.phpeclipse.PHPActionSet">
454          <menu
455                label="PHP/Apache"
456                id="net.sourceforge.phpeclipse.PHPMenu">
457             <separator
458                   name="phpeclipse">
459             </separator>
460          </menu>
461          <action
462                label="Restart Apache"
463                icon="icons/obj16/apache_restart.gif"
464                tooltip="Restart Apache"
465                class="net.sourceforge.phpeclipse.actions.PHPRestartApacheAction"
466                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
467                toolbarPath="Normal"
468                id="net.sourceforge.phpeclipse.actions.PHPRestartApacheAction">
469          </action>
470          <action
471                label="Stop Apache"
472                icon="icons/obj16/apache_stop.gif"
473                tooltip="Stop Apache"
474                class="net.sourceforge.phpeclipse.actions.PHPStopApacheAction"
475                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
476                toolbarPath="Normal"
477                id="net.sourceforge.phpeclipse.actions.PHPStopApacheAction">
478          </action>
479          <action
480                label="Start Apache"
481                icon="icons/obj16/apache.gif"
482                tooltip="Start Apache"
483                class="net.sourceforge.phpeclipse.actions.PHPStartApacheAction"
484                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
485                toolbarPath="Normal"
486                id="net.sourceforge.phpeclipse.actions.PHPStartApacheAction">
487          </action>
488          <action
489                label="Start MySQL"
490                icon="icons/obj16/sql.gif"
491                tooltip="Start MySQL"
492                class="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction"
493                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
494                toolbarPath="Normal"
495                id="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction">
496          </action>
497       </actionSet>
498       <actionSet
499             label="%CodingActionSet.label"
500             description="%CodingActionSet.description"
501             visible="false"
502             id="net.sourceforge.phpeclipse.ui.CodingActionSet">
503 <!-- =========================================================================== -->
504 <!-- Source Menu                                                                 -->
505 <!-- =========================================================================== -->
506          <menu
507                label="%SourceMenu.label"
508                path="edit"
509                id="net.sourceforge.phpeclipse.ui.source.menu">
510                 <separator 
511                       name="editGroup">
512                 </separator>
513             <separator
514                   name="convertGroup">
515             </separator>
516          </menu>
517          <action
518                definitionId="net.sourceforge.phpeclipse.phpeditor.format"
519                label="%FormatAction.label"
520                retarget="true"
521                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
522                id="net.sourceforge.phpeclipse.phpeditor.Format">
523          </action>
524          <action
525                label="%ShiftLeftAction.label"
526                retarget="true"
527                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
528                id="net.sourceforge.phpeclipse.phpeditor.ShiftLeft">
529          </action>
530          <action
531                label="%ShiftRightAction.label"
532                retarget="true"
533                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
534                id="net.sourceforge.phpeclipse.phpeditor.ShiftRight">
535          </action>
536          <action
537                definitionId="net.sourceforge.phpeclipse.remove.block.comment"
538                label="%RemoveBlockCommentAction.label"
539                retarget="true"
540                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
541                id="net.sourceforge.phpeclipse.ui.actions.RemoveBlockComment">
542          </action>
543          <action
544                definitionId="net.sourceforge.phpeclipse.add.block.comment"
545                label="%AddBlockCommentAction.label"
546                retarget="true"
547                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
548                id="net.sourceforge.phpeclipse.ui.actions.AddBlockComment">
549          </action> 
550          <action
551                definitionId="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
552                label="%ToggleCommentAction.label"
553                retarget="true"
554                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
555                id="net.sourceforge.phpeclipse.ui.actions.ToggleComment">
556          </action>
557          <action
558                definitionId="net.sourceforge.phpeclipse.phpeditor.uncomment"
559                label="%UncommentAction.label"
560                retarget="true"
561                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
562                id="net.sourceforge.phpeclipse.phpeditor.Uncomment">
563          </action>
564          <action
565                definitionId="net.sourceforge.phpeclipse.phpeditor.comment"
566                label="%CommentAction.label"
567                retarget="true"
568                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
569                id="net.sourceforge.phpeclipse.phpeditor.Comment">
570          </action>
571 <!-- convert group -->
572          <menu
573                label="%ConvertLineDelimitersActions.label"
574                path="net.sourceforge.phpeclipse.ui.source.menu/convertGroup"
575                id="convertSubMenu">
576             <separator
577                   name="group1">
578             </separator>
579          </menu>
580          <action
581                label="%ConvertLineDelimitersToMacAction.label"
582                retarget="true"
583                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/convertSubMenu/group1"
584                allowLabelUpdate="true"
585                id="net.sourceforge.phpeclipse.ui.actions.ConvertLineDelimitersToMac">
586          </action>
587          <action
588                label="%ConvertLineDelimitersToUNIXAction.label"
589                retarget="true"
590                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/convertSubMenu/group1"
591                allowLabelUpdate="true"
592                id="net.sourceforge.phpeclipse.ui.actions.ConvertLineDelimitersToUNIX">
593          </action>
594          <action
595                label="%ConvertLineDelimitersToWindowsAction.label"
596                retarget="true"
597                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/convertSubMenu/group1"
598                allowLabelUpdate="true"
599                id="net.sourceforge.phpeclipse.ui.actions.ConvertLineDelimitersToWindows">
600          </action>
601       </actionSet>
602    </extension>
603    <extension
604          point="org.eclipse.ui.actionSetPartAssociations">
605       <actionSetPartAssociation
606             targetID="net.sourceforge.phpeclipse.ui.CodingActionSet">
607          <part id="net.sourceforge.phpeclipse.PHPUnitEditor" />
608       </actionSetPartAssociation>
609    </extension>
610 <!-- =========================================================================== -->
611 <!-- PHP Editor Action Definition IDs -->
612 <!-- =========================================================================== -->
613 <!--   <extension
614          point="org.eclipse.ui.actionDefinitions">
615  
616       <actionDefinition
617             id="net.sourceforge.phpeclipse.phpeditor.ContentAssistProposal">
618       </actionDefinition>
619  
620       <actionDefinition
621             id="net.sourceforge.phpeclipse.phpeditor.Comment">
622       </actionDefinition>
623       <actionDefinition
624             id="net.sourceforge.phpeclipse.phpeditor.Uncomment">
625       </actionDefinition>
626       <actionDefinition
627             id="net.sourceforge.phpeclipse.phpeditor.Format">
628       </actionDefinition>
629       <actionDefinition
630             id="net.sourceforge.phpeclipse.ui.edit.text.php.show.outline">
631       </actionDefinition>
632       <actionDefinition
633             id="net.sourceforge.phpeclipse.ui.navigate.php.open.structure">
634       </actionDefinition>
635       <actionDefinition
636             id="net.sourceforge.phpeclipse.ui.edit.text.php.show.next.problem">
637       </actionDefinition>
638       <actionDefinition
639             id="net.sourceforge.phpeclipse.ui.edit.text.php.show.previous.problem">
640       </actionDefinition>
641    </extension> -->
642 <!--   <extension
643          point="org.eclipse.ui.acceleratorSets">
644       <acceleratorSet
645             scopeId="org.eclipse.ui.textEditorScope"
646             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
647          <accelerator
648                key="Ctrl+/"
649                id="net.sourceforge.phpdt.ui.actions.comment">
650          </accelerator>
651          <accelerator
652                key="Ctrl+\\"
653                id="net.sourceforge.phpdt.ui.actions.uncomment">
654          </accelerator>
655       </acceleratorSet>
656    </extension> -->
657    
658    <extension
659          point="org.eclipse.ui.popupMenus">
660        <objectContribution
661             objectClass="org.eclipse.core.resources.IProject"
662             id="net.sourceforge.phpeclipse.actions.PHPDocumentorAction">
663          <action
664                label="Run PHPDocumentor"
665                class="net.sourceforge.phpeclipse.actions.PHPDocumentorAction"
666                menubarPath="additions"
667                id="net.sourceforge.phpeclipse.actions.PHPDocumentorAction">
668          </action>
669       </objectContribution>
670       <objectContribution
671             objectClass="org.eclipse.core.resources.IFile"
672             nameFilter="*.php"
673             id="net.sourceforge.phpeclipse.actions.externalParserAction">
674          <action
675                label="Run External PHP Parser"
676                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
677                menubarPath="additions"
678                id="net.sourceforge.phpeclipse.actions.externalParserAction">
679          </action>
680       </objectContribution>
681       <objectContribution
682             objectClass="org.eclipse.core.resources.IFile"
683             nameFilter="*.php3"
684             id="net.sourceforge.phpeclipse.actions.externalParserAction">
685          <action
686                label="Run External PHP Parser"
687                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
688                menubarPath="additions"
689                id="net.sourceforge.phpeclipse.actions.externalParserAction">
690          </action>
691       </objectContribution>
692       <objectContribution
693             objectClass="org.eclipse.core.resources.IFile"
694             nameFilter="*.php4"
695             id="net.sourceforge.phpeclipse.actions.externalParserAction">
696          <action
697                label="Run External PHP Parser"
698                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
699                menubarPath="additions"
700                id="net.sourceforge.phpeclipse.actions.externalParserAction">
701          </action>
702       </objectContribution>
703       <objectContribution
704             objectClass="org.eclipse.core.resources.IFile"
705             nameFilter="*.inc"
706             id="net.sourceforge.phpeclipse.actions.externalParserAction">
707          <action
708                label="Run External PHP Parser"
709                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
710                menubarPath="additions"
711                id="net.sourceforge.phpeclipse.actions.externalParserAction">
712          </action>
713       </objectContribution>
714       <objectContribution
715             objectClass="org.eclipse.core.resources.IFile"
716             nameFilter="*.phtml"
717             id="net.sourceforge.phpeclipse.actions.externalParserAction">
718          <action
719                label="Run External PHP Parser"
720                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
721                menubarPath="additions"
722                id="net.sourceforge.phpeclipse.actions.externalParserAction">
723          </action>
724       </objectContribution>
725       <objectContribution
726             objectClass="org.eclipse.core.resources.IFile"
727             nameFilter="*.php"
728             id="net.sourceforge.phpeclipse.actions.popupShowAction">
729          <action
730                label="Open PHP Browser"
731                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
732                menubarPath="additions"
733                id="net.sourceforge.phpeclipse.actions.showAction">
734          </action>
735       </objectContribution>
736       <objectContribution
737             objectClass="org.eclipse.core.resources.IFile"
738             nameFilter="*.php3"
739             id="net.sourceforge.phpeclipse.actions.popupShowAction">
740          <action
741                label="Open PHP Browser"
742                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
743                menubarPath="additions"
744                id="net.sourceforge.phpeclipse.actions.showAction">
745          </action>
746       </objectContribution>
747       <objectContribution
748             objectClass="org.eclipse.core.resources.IFile"
749             nameFilter="*.php4"
750             id="net.sourceforge.phpeclipse.actions.popupShowAction">
751          <action
752                label="Open PHP Browser"
753                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
754                menubarPath="additions"
755                id="net.sourceforge.phpeclipse.actions.showAction">
756          </action>
757       </objectContribution>
758       <objectContribution
759             objectClass="org.eclipse.core.resources.IFile"
760             nameFilter="*.inc"
761             id="net.sourceforge.phpeclipse.actions.popupShowAction">
762          <action
763                label="Open PHP Browser"
764                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
765                menubarPath="additions"
766                id="net.sourceforge.phpeclipse.actions.showAction">
767          </action>
768       </objectContribution>
769       <objectContribution
770             objectClass="org.eclipse.core.resources.IFile"
771             nameFilter="*.phtml"
772             id="net.sourceforge.phpeclipse.actions.popupShowAction">
773          <action
774                label="Open PHP Browser"
775                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
776                menubarPath="additions"
777                id="net.sourceforge.phpeclipse.actions.showAction">
778          </action>
779       </objectContribution>
780       <objectContribution
781             objectClass="org.eclipse.core.resources.IFile"
782             nameFilter="*.html"
783             id="net.sourceforge.phpeclipse.actions.popupShowAction">
784          <action
785                label="Open PHP Browser"
786                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
787                menubarPath="additions"
788                id="net.sourceforge.phpeclipse.actions.showAction">
789          </action>
790       </objectContribution>
791             <objectContribution
792             objectClass="org.eclipse.core.resources.IFile"
793             nameFilter="*.htm"
794             id="net.sourceforge.phpeclipse.actions.popupShowAction">
795          <action
796                label="Open PHP Browser"
797                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
798                menubarPath="additions"
799                id="net.sourceforge.phpeclipse.actions.showAction">
800          </action>
801       </objectContribution>
802             <objectContribution
803             objectClass="org.eclipse.core.resources.IFile"
804             nameFilter="*.xml"
805             id="net.sourceforge.phpeclipse.actions.popupShowAction">
806          <action
807                label="Open PHP Browser"
808                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
809                menubarPath="additions"
810                id="net.sourceforge.phpeclipse.actions.showAction">
811          </action>
812       </objectContribution>
813   
814       <viewerContribution
815             targetID="#PHPEditorContext"
816             id="net.sourceforge.phpeclipse.actions.popupOpenDeclaration">
817          <action
818                label="Open PHP Declaration"
819                class="net.sourceforge.phpeclipse.actions.PHPOpenDeclarationEditorActon"
820                menubarPath="additions"
821                id="net.sourceforge.phpeclipse.actions.opendeclaration">
822          </action>
823       </viewerContribution>
824    
825       <viewerContribution
826             targetID="#PHPRulerContext"
827             id="net.sourceforge.phpdt.ui.PHPEditorPopupActions">
828          <action
829                label="%AddTask.label"
830                helpContextId="org.eclipse.ui.AddTask_action_context"
831                class="org.eclipse.ui.texteditor.TaskRulerAction"
832                menubarPath="add"
833                id="org.eclipse.ui.texteditor.TaskRulerAction">
834          </action>
835          <action
836                label="%AddBookmark.label"
837                helpContextId="org.eclipse.ui.bookmark_action_context"
838                class="org.eclipse.ui.texteditor.BookmarkRulerAction"
839                menubarPath="add"
840                id="org.eclipse.ui.texteditor.BookmarkRulerAction">
841          </action>
842       </viewerContribution>
843    </extension>
844    
845    <extension
846          point="org.eclipse.ui.editorActions">
847       <editorContribution
848             id="org.eclipse.ui.texteditor.ruler.actions"
849             targetID="net.sourceforge.phpeclipse.PHPUnitEditor">
850
851                 <action
852                         id="org.eclipse.ui.texteditor.BookmarkRulerAction"
853                         actionID="RulerDoubleClick"
854                         label="%Dummy.label"
855             helpContextId="org.eclipse.ui.bookmark_action_context"
856                         class="org.eclipse.ui.texteditor.BookmarkRulerAction">
857                 </action>
858                 <action
859             label="%Dummy.label"
860             class="net.sourceforge.phpeclipse.phpeditor.JavaSelectRulerAction"
861             actionID="RulerClick"
862             id="net.sourceforge.phpeclipse.phpeditor.JavaSelectRulerAction">
863         </action>
864       </editorContribution>
865    </extension>
866    <extension
867          point="org.eclipse.ui.popupMenus">
868       <viewerContribution
869             targetID="#CompilationUnitRulerContext"
870             id="net.sourceforge.phpeclipse.phpeditor.QuickFixRulerMenuAction">
871          <action
872                label="%Dummy.label"
873                helpContextId="org.eclipse.jdt.ui.quick_fix_action"
874                class="net.sourceforge.phpeclipse.phpeditor.JavaSelectRulerAction"
875                menubarPath="additions"
876                id="net.sourceforge.phpeclipse.phpeditor.JavaSelectRulerMenuAction">
877          </action>
878       </viewerContribution>
879    </extension>
880  <!-- =========================================================================== -->
881 <!-- JDT/UI command definitions                                                   -->
882 <!-- =========================================================================== -->
883    <extension
884          point="org.eclipse.ui.commands">
885       <category
886             name="%category.source.name"
887             description="%category.source.description"
888             id="net.sourceforge.phpeclipse.ui.category.source">
889       </category>
890       <command
891             name="%ActionDefinition.showJavadoc.name"
892             description="%ActionDefinition.showJavadoc.description"
893             category="org.eclipse.ui.category.edit"
894             id="net.sourceforge.phpeclipse.show.javadoc">
895       </command>
896       <keyBinding
897             string="F2"
898             scope="net.sourceforge.phpdt.ui.phpEditorScope"
899             command="net.sourceforge.phpeclipse.show.javadoc"
900             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
901       </keyBinding>
902       
903  <!-- source -->
904       <command
905             name="%ActionDefinition.comment.name"
906             description="%ActionDefinition.comment.description"
907             category="net.sourceforge.phpeclipse.ui.category.source"
908             id="net.sourceforge.phpeclipse.phpeditor.comment">
909       </command>
910       <command
911             name="%ActionDefinition.uncomment.name"
912             description="%ActionDefinition.uncomment.description"
913             category="net.sourceforge.phpeclipse.ui.category.source"
914             id="net.sourceforge.phpeclipse.phpeditor.uncomment">
915       </command>
916       <command
917             name="%ActionDefinition.toggleComment.name"
918             description="%ActionDefinition.toggleComment.description"
919             category="net.sourceforge.phpeclipse.ui.category.source"
920             id="net.sourceforge.phpeclipse.phpeditor.toggle.comment">
921       </command>
922       <keyBinding
923             string="Ctrl+Shift+C"
924             scope="net.sourceforge.phpdt.ui.phpEditorScope"
925             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
926             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
927       </keyBinding>
928       <keyBinding
929             platform="carbon"
930             string="Ctrl+Shift+C"
931             scope="net.sourceforge.phpdt.ui.phpEditorScope"
932             command=""
933             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
934       </keyBinding>
935       <keyBinding
936             platform="carbon"
937             string="Command+Shift+C"
938             scope="net.sourceforge.phpdt.ui.phpEditorScope"
939             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
940             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
941       </keyBinding>
942       <keyBinding
943             platform="gtk"
944             string="Ctrl+Shift+C"
945             scope="net.sourceforge.phpdt.ui.phpEditorScope"
946             command=""
947             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
948       </keyBinding>
949       <keyBinding
950             platform="gtk"
951             string="Esc Ctrl+C"
952             scope="net.sourceforge.phpdt.ui.phpEditorScope" 
953             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
954             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
955       </keyBinding>
956       <command
957             name="%ActionDefinition.addBlockComment.name"
958             description="%ActionDefinition.addBlockComment.description"
959             category="net.sourceforge.phpeclipse.ui.category.source"
960             id="net.sourceforge.phpeclipse.phpeditor.add.block.comment">
961       </command>
962       <keyBinding
963             string="Ctrl+Shift+/"
964             scope="net.sourceforge.phpdt.ui.phpEditorScope"
965             command="net.sourceforge.phpeclipse.phpeditor.add.block.comment"
966             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
967       </keyBinding>
968       <keyBinding
969             platform="carbon"
970             string="Ctrl+Shift+/"
971             scope="net.sourceforge.phpdt.ui.phpEditorScope"
972             command=""
973             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
974       </keyBinding>
975       <keyBinding
976             platform="carbon"
977             string="Command+Shift+/"
978             scope="net.sourceforge.phpdt.ui.phpEditorScope"
979             command="net.sourceforge.phpeclipse.phpeditor.add.block.comment"
980             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
981       </keyBinding>
982       <command
983             name="%ActionDefinition.removeBlockComment.name"
984             description="%ActionDefinition.removeBlockComment.description"
985             category="net.sourceforge.phpeclipse.ui.category.source"
986             id="net.sourceforge.phpeclipse.phpeditor.remove.block.comment">
987       </command>
988       <keyBinding
989             string="Ctrl+Shift+\"
990             scope="net.sourceforge.phpdt.ui.phpEditorScope"
991             command="net.sourceforge.phpeclipse.phpeditor.remove.block.comment"
992             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
993       </keyBinding>
994       <keyBinding
995             platform="carbon"
996             string="Ctrl+Shift+\"
997             scope="net.sourceforge.phpdt.ui.phpEditorScope"
998             command=""
999             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1000       </keyBinding>
1001       <keyBinding
1002             platform="carbon"
1003             string="Command+Shift+\"
1004             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1005             command="net.sourceforge.phpeclipse.phpeditor.remove.block.comment"
1006             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1007       </keyBinding>
1008       <command
1009             name="%ActionDefinition.indent.name"
1010             description="%ActionDefinition.indent.description"
1011             category="net.sourceforge.phpeclipse.ui.category.source"
1012             id="net.sourceforge.phpeclipse.phpeditor.indent">
1013       </command>
1014       <keyBinding
1015             string="Ctrl+I"
1016             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1017             command="net.sourceforge.phpeclipse.phpeditor.indent"
1018             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1019       </keyBinding>
1020        
1021       <command
1022             name="%ActionDefinition.format.name"
1023             description="%ActionDefinition.format.description"
1024             category="net.sourceforge.phpeclipse.ui.category.source"
1025             id="net.sourceforge.phpeclipse.phpeditor.format">
1026       </command>
1027       <keyBinding
1028             string="Ctrl+Shift+F"
1029             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1030             command="net.sourceforge.phpeclipse.phpeditor.format"
1031             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1032       </keyBinding>
1033       <keyBinding
1034             platform="carbon"
1035             string="Ctrl+Shift+F"
1036             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1037             command=""
1038             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1039       </keyBinding>
1040       <keyBinding
1041             platform="carbon"
1042             string="Command+Shift+F"
1043             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1044             command="net.sourceforge.phpeclipse.phpeditor.format"
1045             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1046       </keyBinding>
1047       <keyBinding
1048             platform="gtk"
1049             string="Ctrl+Shift+F"
1050             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1051             command=""
1052             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1053       </keyBinding>
1054       <keyBinding
1055             platform="gtk"
1056             string="Esc Ctrl+F"
1057             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1058             command="net.sourceforge.phpeclipse.phpeditor.format"
1059             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1060       </keyBinding>
1061    </extension>
1062    <extension
1063          point="org.eclipse.ui.preferencePages">
1064       <page
1065             name="PHP"
1066             class="net.sourceforge.phpeclipse.PHPEclipseBasePreferencePage"
1067             id="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage">
1068       </page>
1069       <page
1070             name="PHP Parser"
1071             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1072             class="net.sourceforge.phpeclipse.PHPEclipseParserPreferencePage"
1073             id="net.sourceforge.phpeclipse.preference.PHPEclipseParserPreferencePage">
1074       </page>
1075 <!--    <page
1076             name="Editor2"
1077             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1078             class="net.sourceforge.phpeclipse.PHPSyntaxEditorPreferencePage"
1079             id="net.sourceforge.phpeclipse.preference.PHPSyntaxEditorPreferencePage">
1080       </page>  -->
1081       <page
1082             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1083             name="PHP Project Defaults"
1084             class="net.sourceforge.phpeclipse.preferences.PHPMiscProjectPreferences"
1085             id="net.sourceforge.phpeclipse.preferences.PHPMiscProjectPreferences">
1086       </page>
1087       <page
1088             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1089             name="PHP Browser Preview"
1090             class="net.sourceforge.phpeclipse.preferences.PHPPreviewProjectPreferences"
1091             id="net.sourceforge.phpeclipse.preferences.PHPPreviewProjectPreferences">
1092       </page>
1093       <page
1094             name="Outline"
1095             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1096             class="net.sourceforge.phpeclipse.PHPOutlinePreferencePage"
1097             id="net.sourceforge.phpeclipse.preference.PHPOutlinePreferencePage">
1098       </page>
1099       <page
1100             name="Templates"
1101             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1102             class="net.sourceforge.phpdt.internal.ui.preferences.TemplatePreferencePage"
1103             id="net.sourceforge.phpeclipse.preference.TemplatePreferencePage">
1104       </page>
1105       <page
1106             name="Formatter"
1107             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1108             class="net.sourceforge.phpdt.internal.ui.preferences.CodeFormatterPreferencePage"
1109             id="net.sourceforge.phpeclipse.preference.CodeFormatterPreferencePage">
1110       </page>
1111    <!--    <page
1112             name="Editor"
1113             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1114             class="net.sourceforge.phpdt.internal.ui.preferences.PHPEditorPreferencePage"
1115             id="net.sourceforge.phpeclipse.preference.PHPEditorPreferencePage">
1116       </page> -->
1117       <page
1118             name="Editor 2"
1119             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1120             class="net.sourceforge.phpdt.internal.ui.preferences.JavaEditorPreferencePage"
1121             id="net.sourceforge.phpdt.internal.ui.preferences.JavaEditorPreferencePage">
1122       </page>
1123  <!--     <page
1124             name="Language Settings"
1125             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1126             class="net.sourceforge.phpeclipse.PHPLanguagePreferencePage"
1127             id="net.sourceforge.phpeclipse.preference.PHPLanguagePreferencePage">
1128       </page> -->
1129    </extension>
1130    <extension
1131          point="org.eclipse.ui.editors.documentProviders">
1132       <provider
1133             extensions="%phpFileExtension"
1134             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1135             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1136       </provider>
1137    </extension>
1138    <extension
1139          point="org.eclipse.ui.editors.documentProviders">
1140       <provider
1141             extensions="%php3FileExtension"
1142             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1143             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1144       </provider>
1145    </extension>
1146    <extension
1147          point="org.eclipse.ui.editors.documentProviders">
1148       <provider
1149             extensions="%php4FileExtension"
1150             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1151             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1152       </provider>
1153    </extension>
1154    <extension
1155          point="org.eclipse.ui.editors.documentProviders">
1156       <provider
1157             extensions="%incFileExtension"
1158             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1159             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1160       </provider>
1161    </extension>
1162    <extension
1163          point="org.eclipse.ui.editors.documentProviders">
1164       <provider
1165             extensions="%phtmlFileExtension"
1166             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1167             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1168       </provider>
1169    </extension>
1170    <extension
1171          point="org.eclipse.ui.editors.documentProviders">
1172       <provider
1173             extensions="%htmlFileExtension"
1174             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1175             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1176       </provider>
1177    </extension>
1178    <extension
1179          point="org.eclipse.ui.editors.documentProviders">
1180       <provider
1181             extensions="%htmFileExtension"
1182             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1183             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1184       </provider>
1185    </extension>
1186    <extension
1187          point="org.eclipse.ui.editors.documentProviders">
1188       <provider
1189             extensions="%xmlFileExtension"
1190             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1191             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1192       </provider>
1193    </extension>
1194    <extension
1195          point="org.eclipse.ui.editors.documentProviders">
1196       <provider
1197             extensions="%tplFileExtension"
1198             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1199             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1200       </provider>
1201    </extension>
1202    <extension
1203          point="org.eclipse.ui.views">
1204       <category
1205             name="%viewCategoryName"
1206             id="net.sourceforge.phpeclipse.views.category">
1207       </category>
1208       <view
1209             name="%phpConsoleView"
1210             icon="icons/obj16/php.gif"
1211             category="net.sourceforge.phpeclipse.views.category"
1212             class="net.sourceforge.phpeclipse.views.PHPConsole"
1213             id="net.sourceforge.phpeclipse.views.phpconsoleview">
1214       </view>  
1215       <view
1216             name="%phpBrowserView"
1217             icon="icons/obj16/php.gif"
1218             category="net.sourceforge.phpeclipse.views.category"
1219             class="net.sourceforge.phpeclipse.views.browser.BrowserView"
1220             id="net.sourceforge.phpeclipse.views.browser">
1221       </view>
1222    </extension>
1223
1224 <!-- =========================================================================== -->
1225 <!-- PHPDT/UI Editor Key Bindings -->
1226 <!-- =========================================================================== -->
1227    <extension
1228          point="org.eclipse.ui.acceleratorSets">
1229       <acceleratorSet
1230             scopeId="org.eclipse.ui.textEditorScope"
1231             configurationId="org.eclipse.ui.emacsAcceleratorConfiguration">
1232 <!-- edit -->
1233          <accelerator
1234                key="Ctrl+Shift+P"
1235                id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
1236          </accelerator>
1237          <accelerator
1238                key="Ctrl+1"
1239                id="org.eclipse.ui.edit.text.contentAssist.proposals">
1240          </accelerator>
1241 <!-- source -->
1242          <accelerator
1243                key="Ctrl+/"
1244                id="net.sourceforge.phpeclipse.phpeditor.comment">
1245          </accelerator>
1246          <accelerator
1247                key="Ctrl+\"
1248                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
1249          </accelerator> 
1250          <accelerator
1251                key="Ctrl+Shift+F"
1252                id="net.sourceforge.phpeclipse.phpeditor.format">
1253          </accelerator>
1254          <accelerator
1255                key="Ctrl+O"
1256                id="net.sourceforge.phpeclipse.ui.edit.text.php.show.outline">
1257          </accelerator>
1258          <accelerator
1259                key="Ctrl+F3"
1260                id="net.sourceforge.phpeclipse.ui.navigate.php.open.structure">
1261          </accelerator>
1262       </acceleratorSet>
1263       <acceleratorSet
1264             scopeId="org.eclipse.ui.textEditorScope"
1265             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
1266 <!-- edit -->
1267          <accelerator
1268                key="Ctrl+Shift+P"
1269                id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
1270          </accelerator>
1271          <accelerator
1272                key="Ctrl+Space"
1273                id="org.eclipse.ui.edit.text.contentAssist.proposals">
1274          </accelerator> 
1275 <!-- source -->
1276          <accelerator
1277                key="Ctrl+/"
1278                id="net.sourceforge.phpeclipse.phpeditor.comment">
1279          </accelerator>
1280          <accelerator
1281                key="Ctrl+\"
1282                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
1283          </accelerator>
1284          <accelerator
1285                key="Ctrl+Shift+F"
1286                id="net.sourceforge.phpeclipse.phpeditor.format">
1287          </accelerator>
1288          <accelerator
1289                key="Ctrl+F3"
1290                id="net.sourceforge.phpeclipse.ui.navigate.php.open.structure">
1291          </accelerator>
1292          <accelerator
1293                key="Ctrl+O"
1294                id="net.sourceforge.phpeclipse.ui.edit.text.php.show.outline">
1295          </accelerator>
1296       </acceleratorSet>
1297       <acceleratorSet
1298             scopeId="org.eclipse.ui.textEditorScope"
1299             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
1300 <!-- edit -->
1301          <accelerator
1302                platform="carbon"
1303                key="Command+Shift+P"
1304                id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
1305          </accelerator>
1306          <accelerator
1307                platform="carbon"
1308                key="Command+1"
1309                id="org.eclipse.ui.edit.text.contentAssist.proposals">
1310          </accelerator>
1311 <!-- source -->
1312          <accelerator
1313                platform="carbon"
1314                key="Command+/"
1315                id="net.sourceforge.phpeclipse.phpeditor.comment">
1316          </accelerator>
1317          <accelerator
1318                platform="carbon"
1319                key="Command+\"
1320                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
1321          </accelerator> 
1322       </acceleratorSet>
1323    </extension>
1324
1325 <!-- external tools -->
1326
1327 <!-- extension point definitions -->
1328         <extension-point id="configurationDuplicationMaps" name="%ExtPoint.configurationDuplicationMaps"/>
1329         <extension-point id="argumentVariables" name="%ExtPoint.argumentVariables"/>
1330         <extension-point id="directoryVariables" name="%ExtPoint.directoryVariables"/>
1331         <extension-point id="fileVariables" name="%ExtPoint.fileVariables"/>
1332         <extension-point id="refreshVariables" name="%ExtPoint.refreshVariables"/>
1333         
1334 <!-- Extensions -->
1335         <extension point="org.eclipse.ui.actionSets">
1336                 <actionSet
1337                         id="net.sourceforge.phpdt.externaltools.ExternalToolsSet"
1338                         label="%ActionSet.externalTools"
1339                         visible="true">
1340                         <menu id="org.eclipse.ui.run" 
1341                                 label="%Menu.run" 
1342                                 path="additions"> 
1343                                 <separator name="ExternalToolsGroup"/> 
1344                         </menu> 
1345         <!--            <action
1346                                 id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateMenu"
1347                                 label="%Action.externalTools"
1348                                 menubarPath="org.eclipse.ui.run/ExternalToolsGroup"
1349                                 disabledIcon="icons/externaltools/full/dtool16/external_tools.gif"
1350                                 icon="icons/externaltools/full/etool16/external_tools.gif"
1351                                 hoverIcon="icons/externaltools/full/ctool16/external_tools.gif"
1352                                 pulldown="true"
1353                                 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
1354                         </action> 
1355                         <action
1356                                 id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateToolbar"
1357                                 label="%Action.externalTools"
1358                                 toolbarPath="Normal/additions"
1359                                 disabledIcon="icons/externaltools/full/dtool16/external_tools.gif"
1360                                 icon="icons/externaltools/full/etool16/external_tools.gif"
1361                                 hoverIcon="icons/externaltools/full/ctool16/external_tools.gif"
1362                                 tooltip="%Action.externalToolsTip"
1363                                 pulldown="true"
1364                                 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
1365                         </action> -->
1366                 </actionSet>
1367         </extension>
1368
1369     <!-- Launch Configuration Extensions -->
1370     <extension point="org.eclipse.debug.core.launchConfigurationTypes">
1371         <launchConfigurationType
1372                 id = "net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
1373                 name = "%Program.externalTools"
1374                 delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
1375                 modes = "run"
1376                 category = "org.eclipse.ui.externaltools">
1377         </launchConfigurationType>
1378         <launchConfigurationType
1379                 id = "net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
1380                 name = "%Program.externalTools"
1381                 delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
1382                 modes = "run"
1383                 category = "org.eclipse.ui.externaltools.builder">
1384         </launchConfigurationType>
1385     </extension>
1386     
1387     <extension point = "net.sourceforge.phpeclipse.configurationDuplicationMaps">
1388         <configurationMap
1389                 sourceType="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
1390                 builderType="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType">
1391         </configurationMap>
1392     </extension>
1393     
1394     <extension point = "org.eclipse.debug.ui.launchConfigurationTabGroups">
1395                 <launchConfigurationTabGroup
1396                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program"
1397                         type ="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
1398                         class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramTabGroup">
1399                 </launchConfigurationTabGroup>
1400                 <launchConfigurationTabGroup
1401                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program.builder"
1402                         type ="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
1403                         class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramBuilderTabGroup">
1404                 </launchConfigurationTabGroup>
1405         </extension>
1406         
1407         <extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
1408                 <launchConfigurationTypeImage
1409                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program"
1410                         configTypeID="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
1411                         icon="icons/externaltools/full/obj16/external_tools.gif">
1412                 </launchConfigurationTypeImage> 
1413                 <launchConfigurationTypeImage
1414                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program.builder"
1415                         configTypeID="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
1416                         icon="icons/externaltools/full/obj16/external_tools.gif">
1417                 </launchConfigurationTypeImage> 
1418         </extension>
1419
1420         <!-- Variable Extensions -->
1421         <extension point="net.sourceforge.phpeclipse.fileVariables">
1422                 <variable
1423                         tag="workspace_loc"
1424                         description="Expands to the workspace root's absolute file system path."
1425                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
1426                 </variable>
1427                 <variable
1428                         tag="resource_loc"
1429                         description="Expands to the resource's absolute file system path."
1430                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
1431                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1432                 </variable>
1433         </extension>
1434         
1435         <extension point="net.sourceforge.phpeclipse.argumentVariables">
1436                 <variable
1437                         tag="workspace_loc"
1438                         description="Expands to the workspace root's absolute file system path."
1439                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
1440                 </variable>
1441                 <variable
1442                         tag="file_loc"
1443                         description="Expands to the full file name"
1444                         expanderClass="net.sourceforge.phpdt.externaltools.variable.FileExpander">
1445                 </variable>
1446                 <variable
1447                         tag="file_url"
1448                         description="Expands to an URL with the localhost preference settings"
1449                         expanderClass="net.sourceforge.phpdt.externaltools.variable.UrlExpander">
1450                 </variable>
1451                 <variable
1452                         tag="localhost_url"
1453                         description="Expands to the localhost preference settings."
1454                         expanderClass="net.sourceforge.phpdt.externaltools.variable.LocalhostExpander">
1455                 </variable>
1456                 <variable
1457                         tag="project_loc"
1458                         description="Expands to the selected resource's project absolute file system path."
1459                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
1460                 </variable>
1461                 <variable
1462                         tag="project_path"
1463                         description="Expands to the full path, relative to the workspace root, of the selected project"
1464                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectExpander">
1465                 </variable>
1466                 <variable
1467                         tag="project_name"
1468                         description="Expands to the name of the selected project"
1469                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectNameExpander">
1470                 </variable>
1471                 <variable
1472                         tag="resource_loc"
1473                         description="Expands to the resource's absolute file system path."
1474                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
1475                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1476                 </variable>
1477                 <variable
1478                         tag="container_loc"
1479                         description="Expands to the selected resource's containing folder absolute file system path."
1480                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
1481                 </variable>
1482                 <variable
1483                         tag="build_type"
1484                         description="Expands to the type of build"
1485                         expanderClass="net.sourceforge.phpdt.externaltools.variable.BuildTypeExpander">
1486                 </variable>
1487         </extension>
1488
1489         <extension point="net.sourceforge.phpeclipse.directoryVariables">
1490                 <variable
1491                         tag="workspace_loc"
1492                         description="Expands to the workspace root's absolute file system path."
1493                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
1494                 </variable>
1495                 <variable
1496                         tag="project_loc"
1497                         description="Expands to the selected resource's project absolute file system path."
1498                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
1499                 </variable>
1500                 <variable
1501                         tag="container_loc"
1502                         description="Expands to the selected resource's containing folder absolute file system path."
1503                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
1504                 </variable>
1505                 <variable
1506                         tag="resource_loc"
1507                         description="Expands to a resource's absolute file system path."
1508                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFolderResourceComponent"
1509                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1510                 </variable>
1511         </extension>
1512
1513         <extension point="net.sourceforge.phpeclipse.refreshVariables">
1514                 <variable
1515                         tag="workspace"
1516                         description="Expands to the workspace root."
1517                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
1518                 </variable>
1519                 <variable
1520                         tag="project"
1521                         description="Expands to the project of the selected resource."
1522                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
1523                 </variable>
1524                 <variable
1525                         tag="container"
1526                         description="Expands to the folder containing the selected resource."
1527                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
1528                 </variable>
1529                 <variable
1530                         tag="resource"
1531                         description="Expands to a resource."
1532                         componentClass="net.sourceforge.phpdt.externaltools.variable.ResourceComponent"
1533                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1534                 </variable>
1535                 <variable
1536                         tag="working_set"
1537                         description="Expands to the group of resources in a working set."
1538                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkingSetExpander">
1539                 </variable>
1540         </extension>
1541 </plugin>