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