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