1eb9e641585520bf5232aead979226ee79bbf74b
[phpeclipse.git] / net.sourceforge.phpeclipse / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.0"?>
3 <plugin
4    id="net.sourceforge.phpeclipse"
5    name="%pluginName"
6    version="1.1.0"
7    provider-name="%providerName"
8    class="net.sourceforge.phpeclipse.PHPeclipsePlugin">
9
10    <runtime>
11       <library name="phpeclipse.jar">
12          <export name="*"/>
13       </library>
14    </runtime>
15    <requires>
16       <import plugin="org.eclipse.core.runtime.compatibility"/>
17       <import plugin="org.eclipse.ui"/>
18       <import plugin="org.eclipse.ui.console"/>
19       <import plugin="org.eclipse.core.resources"/>
20       <import plugin="org.eclipse.search"/> 
21       <import plugin="org.eclipse.debug.core"/>
22       <import plugin="org.eclipse.debug.ui"/>
23       <import plugin="org.eclipse.compare"/>
24       <import plugin="org.eclipse.core.filebuffers"/>
25       <import plugin="org.eclipse.jface.text"/>
26       <import plugin="org.eclipse.ui.workbench.texteditor"/>
27       <import plugin="org.eclipse.ui.ide"/>
28       <import plugin="org.eclipse.ui.views"/>
29       <import plugin="org.eclipse.ui.editors"/>
30       <import plugin="org.eclipse.ui.externaltools"/>
31       <import plugin="org.eclipse.help"/>
32       <import plugin="org.eclipse.swt"/>
33       <import plugin="org.eclipse.search"/>
34       <import plugin="org.apache.xerces"/>
35       <import plugin="org.eclipse.update.ui"/>
36       <import plugin="net.sourceforge.phpeclipse.quantum.sql"/> 
37    </requires>
38
39    <extension
40          id="phpnature"
41          name="%naturePHP.name"
42          point="org.eclipse.core.resources.natures">
43       <runtime>
44          <run
45           class="net.sourceforge.phpdt.internal.core.JavaProject">
46          </run>
47       </runtime>
48    </extension>
49    
50    <extension
51          id="parserbuilder"
52          name="PHP Builder"
53          point="org.eclipse.core.resources.builders">
54       <builder>
55          <run  
56            class="net.sourceforge.phpdt.internal.core.builder.PHPBuilder">
57          </run>
58       </builder>
59    </extension>
60    <!-- =================================================================================== -->
61 <!-- Extension: Java Markers                                                             -->
62 <!-- =================================================================================== -->
63
64 <!-- Java problems -->
65
66 <extension id="problem" point="org.eclipse.core.resources.markers" name="%phpProblemName">
67         <super type="org.eclipse.core.resources.problemmarker"/>
68         <super type="org.eclipse.core.resources.textmarker"/>
69         <persistent value="true"/>
70         <attribute name="id"/>
71         <attribute name="flags"/>
72         <attribute name="arguments"/>
73 </extension>   
74
75 <!-- Java transient problems -->
76
77 <extension id="transient_problem" point="org.eclipse.core.resources.markers" name="%transientPHPProblemName">
78         <super type="org.eclipse.core.resources.textmarker"/>
79         <persistent value="false"/>
80         <attribute name="id"/>
81         <attribute name="flags"/>
82         <attribute name="arguments"/>
83 </extension>
84
85 <!-- 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 name="%phpEditorTextHoversName" id="phpEditorTextHovers" schema="schema/phpEditorTextHovers.exsd"/> 
93
94    <extension
95          point="org.eclipse.team.core.fileTypes">
96       <fileTypes
97             type="text"
98             extension="php">
99       </fileTypes>
100       <fileTypes
101             type="text"
102             extension="php3">
103       </fileTypes>
104       <fileTypes
105             type="text"
106             extension="php4">
107       </fileTypes>
108       <fileTypes
109             type="text"
110             extension="inc">
111       </fileTypes>
112       <fileTypes
113             type="text"
114             extension="phtml">
115       </fileTypes>
116       <fileTypes
117             type="text"
118             extension="html">
119       </fileTypes>
120       <fileTypes
121             type="text"
122             extension="htm">
123       </fileTypes>
124       <fileTypes
125             type="text"
126             extension="xml">
127       </fileTypes>
128       <fileTypes
129             type="text"
130             extension="tpl">
131       </fileTypes>
132    </extension>
133    
134    <extension
135       point="net.sourceforge.phpeclipse.phpEditorTextHovers">
136    <hover
137          class="net.sourceforge.phpdt.internal.ui.text.java.hover.BestMatchHover"
138          id="net.sourceforge.phpdt.ui.BestMatchHover"
139          label="%sequentialHover"
140          description="%sequentialHoverDescription">
141    </hover>
142 </extension>
143
144 <extension
145       point="net.sourceforge.phpeclipse.phpEditorTextHovers">
146    <hover
147          class="net.sourceforge.phpdt.internal.ui.text.java.hover.JavaSourceHover"
148          id="net.sourceforge.phpdt.ui.JavaSourceHover"
149          label="%sourceHover"
150          description="%sourceHoverDescription">
151    </hover>
152 </extension>
153    <extension
154       point="net.sourceforge.phpeclipse.phpEditorTextHovers">
155    <hover
156          class="net.sourceforge.phpdt.internal.ui.text.java.hover.AnnotationHover"
157          id="net.sourceforge.phpdt.ui.AnnotationHover"
158          label="%annotationHover" 
159          description="%annotationHoverDescription">
160    </hover>
161    </extension>
162
163    <extension
164          point="org.eclipse.ui.perspectives">
165       <perspective
166             name="%perspectivePHP.name"
167             icon="icons/obj16/php.gif"
168             class="net.sourceforge.phpeclipse.PHPPerspectiveFactory"
169             id="net.sourceforge.phpeclipse.PHPPerspective">
170       </perspective>
171    </extension>
172    <extension
173          point="org.eclipse.ui.newWizards">
174       <category
175             name="%newWizardCategory.name"
176             id="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP">
177       </category>
178       <wizard
179             name="%newWizardPHPProject.name"
180             icon="icons/obj16/php.gif"
181             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
182             class="net.sourceforge.phpeclipse.wizards.NewProjectCreationWizard"
183             project="true"
184             id="net.sourceforge.phpeclipse.wizards.NewWizardProjectCreation">
185          <description>
186             Create a new PHP project.
187          </description>
188       </wizard>
189 <!--    <wizard
190                 id="net.sourceforge.phpdt.internal.ui.wizards.NewClassCreationWizard"
191                 name="%NewPHPClass.label"
192                 class="net.sourceforge.phpdt.internal.ui.wizards.NewClassCreationWizard"
193                 category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
194                 icon="icons/ctool16/newclass_wiz.gif">
195                 <description>%NewPHPClass.description</description>
196         </wizard>      
197       -->
198 <!--
199 <this wizard replaces it as it works - maybe not as pretty but still>
200
201       <wizard
202             name="%newWizardPHPProject.name"
203             icon="icons/obj16/php.gif"
204             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
205             class="net.sourceforge.phpeclipse.wizards.TempnewPHPProject"
206             project="true"
207             id="net.sourceforge.phpeclipse.wizards.NewWizardProjectCreation">
208          <description>
209             Create a new PHP project.
210          </description>
211       </wizard> -->
212       <wizard
213             name="%newWizardPHPFile.name"
214             icon="icons/obj16/phpedit.gif"
215             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
216             class="net.sourceforge.phpeclipse.wizards.PHPFileWizard"
217             id="net.sourceforge.phpeclipse.wizards.PHPFileWizard">
218          <description>
219             Create a basic PHP file.
220          </description>
221       </wizard>
222    </extension>
223    <extension point="org.eclipse.ui.exportWizards">
224      <wizard name="%ExportWizards.Obfuscator" 
225              icon="icons/ctool16/exportdir_wiz.gif" 
226              class="net.sourceforge.phpeclipse.obfuscator.export.ObfuscatorExportWizard" 
227              id="net.sourceforge.phpeclipse.obfuscator.export.ObfuscatorExportWizard">
228      <description>%ExportWizards.ObfuscatorDescription</description> 
229      <selection class="org.eclipse.core.resources.IResource" /> 
230      </wizard>
231   </extension>
232    <extension
233          point="org.eclipse.ui.ide.projectNatureImages">
234       <image
235             icon="icons/obj16/php.gif"
236             natureId="net.sourceforge.phpeclipse.phpnature"
237             id="net.sourceforge.phpeclipse.ProjectNatureImagePHP">
238       </image>
239    </extension>
240    <extension
241          point="org.eclipse.ui.propertyPages">
242 <!--      <page
243             objectClass="org.eclipse.core.resources.IProject"
244             name="%propertyPagePHPProject.name"
245             class="net.sourceforge.phpeclipse.preferences.PHPProjectPropertyPage"
246             id="net.sourceforge.phpeclipse.preferences.PHPProjectPropertyPage">
247          <filter
248                name="nature"
249                value="net.sourceforge.phpeclipse.phpnature">
250          </filter>
251       </page> -->
252       <page
253             objectClass="org.eclipse.core.resources.IProject"
254             name="PHP Project Settings"
255             class="net.sourceforge.phpeclipse.preferences.PHPMiscProjectPreferences"
256             id="net.sourceforge.phpeclipse.preferences.project.PHPMiscProjectPreferences">
257          <filter
258                name="nature"
259                value="net.sourceforge.phpeclipse.phpnature">
260          </filter>
261       </page>
262       <page
263             objectClass="org.eclipse.core.resources.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  <!-- =========================================================================== -->
921 <!-- JDT/UI command definitions                                                   -->
922 <!-- =========================================================================== -->
923    <extension
924          point="org.eclipse.ui.commands">
925       <category
926             name="%category.source.name"
927             description="%category.source.description"
928             id="net.sourceforge.phpeclipse.ui.category.source">
929       </category>
930       <command
931             name="%ActionDefinition.showJavadoc.name"
932             description="%ActionDefinition.showJavadoc.description"
933             category="org.eclipse.ui.category.edit"
934             id="net.sourceforge.phpeclipse.show.javadoc">
935       </command>
936       <keyBinding
937             string="F2"
938             scope="net.sourceforge.phpdt.ui.phpEditorScope"
939             command="net.sourceforge.phpeclipse.show.javadoc"
940             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
941       </keyBinding>
942       
943  <!-- source -->
944       <command
945             name="%ActionDefinition.comment.name"
946             description="%ActionDefinition.comment.description"
947             category="net.sourceforge.phpeclipse.ui.category.source"
948             id="net.sourceforge.phpeclipse.phpeditor.comment">
949       </command>
950       <command
951             name="%ActionDefinition.uncomment.name"
952             description="%ActionDefinition.uncomment.description"
953             category="net.sourceforge.phpeclipse.ui.category.source"
954             id="net.sourceforge.phpeclipse.phpeditor.uncomment">
955       </command>
956       <command
957             name="%ActionDefinition.toggleComment.name"
958             description="%ActionDefinition.toggleComment.description"
959             category="net.sourceforge.phpeclipse.ui.category.source"
960             id="net.sourceforge.phpeclipse.phpeditor.toggle.comment">
961       </command>
962       <keyBinding
963             string="Ctrl+Shift+C"
964             scope="net.sourceforge.phpdt.ui.phpEditorScope"
965             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
966             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
967       </keyBinding>
968       <keyBinding
969             platform="carbon"
970             string="Ctrl+Shift+C"
971             scope="net.sourceforge.phpdt.ui.phpEditorScope"
972             command=""
973             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
974       </keyBinding>
975       <keyBinding
976             platform="carbon"
977             string="Command+Shift+C"
978             scope="net.sourceforge.phpdt.ui.phpEditorScope"
979             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
980             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
981       </keyBinding>
982       <keyBinding
983             platform="gtk"
984             string="Ctrl+Shift+C"
985             scope="net.sourceforge.phpdt.ui.phpEditorScope"
986             command=""
987             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
988       </keyBinding>
989       <keyBinding
990             platform="gtk"
991             string="Esc Ctrl+C"
992             scope="net.sourceforge.phpdt.ui.phpEditorScope" 
993             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
994             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
995       </keyBinding>
996       <command
997             name="%ActionDefinition.addBlockComment.name"
998             description="%ActionDefinition.addBlockComment.description"
999             category="net.sourceforge.phpeclipse.ui.category.source"
1000             id="net.sourceforge.phpeclipse.phpeditor.add.block.comment">
1001       </command>
1002       <keyBinding
1003             string="Ctrl+Shift+/"
1004             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1005             command="net.sourceforge.phpeclipse.phpeditor.add.block.comment"
1006             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1007       </keyBinding>
1008       <keyBinding
1009             platform="carbon"
1010             string="Ctrl+Shift+/"
1011             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1012             command=""
1013             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1014       </keyBinding>
1015       <keyBinding
1016             platform="carbon"
1017             string="Command+Shift+/"
1018             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1019             command="net.sourceforge.phpeclipse.phpeditor.add.block.comment"
1020             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1021       </keyBinding>
1022       <command
1023             name="%ActionDefinition.removeBlockComment.name"
1024             description="%ActionDefinition.removeBlockComment.description"
1025             category="net.sourceforge.phpeclipse.ui.category.source"
1026             id="net.sourceforge.phpeclipse.phpeditor.remove.block.comment">
1027       </command>
1028       <keyBinding
1029             string="Ctrl+Shift+\"
1030             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1031             command="net.sourceforge.phpeclipse.phpeditor.remove.block.comment"
1032             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1033       </keyBinding>
1034       <keyBinding
1035             platform="carbon"
1036             string="Ctrl+Shift+\"
1037             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1038             command=""
1039             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1040       </keyBinding>
1041       <keyBinding
1042             platform="carbon"
1043             string="Command+Shift+\"
1044             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1045             command="net.sourceforge.phpeclipse.phpeditor.remove.block.comment"
1046             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1047       </keyBinding>
1048       <command
1049             name="%ActionDefinition.indent.name"
1050             description="%ActionDefinition.indent.description"
1051             category="net.sourceforge.phpeclipse.ui.category.source"
1052             id="net.sourceforge.phpeclipse.phpeditor.indent">
1053       </command>
1054       <keyBinding
1055             string="Ctrl+I"
1056             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1057             command="net.sourceforge.phpeclipse.phpeditor.indent"
1058             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1059       </keyBinding>
1060        
1061       <command
1062             name="%ActionDefinition.format.name"
1063             description="%ActionDefinition.format.description"
1064             category="net.sourceforge.phpeclipse.ui.category.source"
1065             id="net.sourceforge.phpeclipse.phpeditor.format">
1066       </command>
1067       <keyBinding
1068             string="Ctrl+Shift+F"
1069             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1070             command="net.sourceforge.phpeclipse.phpeditor.format"
1071             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1072       </keyBinding>
1073       <keyBinding
1074             platform="carbon"
1075             string="Ctrl+Shift+F"
1076             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1077             command=""
1078             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1079       </keyBinding>
1080       <keyBinding
1081             platform="carbon"
1082             string="Command+Shift+F"
1083             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1084             command="net.sourceforge.phpeclipse.phpeditor.format"
1085             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1086       </keyBinding>
1087       <keyBinding
1088             platform="gtk"
1089             string="Ctrl+Shift+F"
1090             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1091             command=""
1092             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1093       </keyBinding>
1094       <keyBinding
1095             platform="gtk"
1096             string="Esc Ctrl+F"
1097             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1098             command="net.sourceforge.phpeclipse.phpeditor.format"
1099             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1100       </keyBinding>
1101    </extension>
1102    <extension
1103          point="org.eclipse.ui.preferencePages">
1104       <page
1105             name="PHP"
1106             class="net.sourceforge.phpeclipse.PHPEclipseBasePreferencePage"
1107             id="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage">
1108       </page>
1109       <page
1110             name="PHP Parser"
1111             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1112             class="net.sourceforge.phpeclipse.PHPEclipseParserPreferencePage"
1113             id="net.sourceforge.phpeclipse.preference.PHPEclipseParserPreferencePage">
1114       </page>
1115 <!--    <page
1116             name="Editor2"
1117             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1118             class="net.sourceforge.phpeclipse.PHPSyntaxEditorPreferencePage"
1119             id="net.sourceforge.phpeclipse.preference.PHPSyntaxEditorPreferencePage">
1120       </page>  -->
1121       <page
1122             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1123             name="PHP Project Defaults"
1124             class="net.sourceforge.phpeclipse.preferences.PHPMiscProjectPreferences"
1125             id="net.sourceforge.phpeclipse.preferences.PHPMiscProjectPreferences">
1126       </page>
1127       <page
1128             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1129             name="PHP Browser Preview"
1130             class="net.sourceforge.phpeclipse.preferences.PHPPreviewProjectPreferences"
1131             id="net.sourceforge.phpeclipse.preferences.PHPPreviewProjectPreferences">
1132       </page>
1133       <page
1134             name="%compilerOptionsPrefName" 
1135             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1136             class="net.sourceforge.phpdt.internal.ui.preferences.CompilerPreferencePage"
1137             id="net.sourceforge.phpeclipse.preference.CompilerPreferencePage">
1138       </page>
1139       <page
1140             name="%todoTaskPrefName" 
1141             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1142             class="net.sourceforge.phpdt.internal.ui.preferences.TodoTaskPreferencePage"
1143             id="net.sourceforge.phpeclipse.preference.TodoTaskPreferencePage">
1144       </page>
1145       <page
1146             name="%templatePageName"
1147             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1148             class="net.sourceforge.phpdt.internal.ui.preferences.TemplatePreferencePage"
1149             id="net.sourceforge.phpeclipse.preference.TemplatePreferencePage">
1150       </page>
1151       <page
1152             name="Formatter"
1153             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1154             class="net.sourceforge.phpdt.internal.ui.preferences.CodeFormatterPreferencePage"
1155             id="net.sourceforge.phpeclipse.preference.CodeFormatterPreferencePage">
1156       </page>
1157    <!--    <page
1158             name="Editor"
1159             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1160             class="net.sourceforge.phpdt.internal.ui.preferences.PHPEditorPreferencePage"
1161             id="net.sourceforge.phpeclipse.preference.PHPEditorPreferencePage">
1162       </page> -->
1163       <page
1164             name="Editor 2"
1165             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1166             class="net.sourceforge.phpdt.internal.ui.preferences.JavaEditorPreferencePage"
1167             id="net.sourceforge.phpdt.internal.ui.preferences.JavaEditorPreferencePage">
1168       </page>
1169  <!--     <page
1170             name="Language Settings"
1171             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
1172             class="net.sourceforge.phpeclipse.PHPLanguagePreferencePage"
1173             id="net.sourceforge.phpeclipse.preference.PHPLanguagePreferencePage">
1174       </page> -->
1175    </extension>
1176    <extension
1177          point="org.eclipse.ui.editors.documentProviders">
1178       <provider
1179             extensions="%phpFileExtension"
1180             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1181             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1182       </provider>
1183    </extension>
1184    <extension
1185          point="org.eclipse.ui.editors.documentProviders">
1186       <provider
1187             extensions="%php3FileExtension"
1188             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1189             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1190       </provider>
1191    </extension>
1192    <extension
1193          point="org.eclipse.ui.editors.documentProviders">
1194       <provider
1195             extensions="%php4FileExtension"
1196             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1197             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1198       </provider>
1199    </extension>
1200    <extension
1201          point="org.eclipse.ui.editors.documentProviders">
1202       <provider
1203             extensions="%incFileExtension"
1204             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1205             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1206       </provider>
1207    </extension>
1208    <extension
1209          point="org.eclipse.ui.editors.documentProviders">
1210       <provider
1211             extensions="%phtmlFileExtension"
1212             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1213             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1214       </provider>
1215    </extension>
1216    <extension
1217          point="org.eclipse.ui.editors.documentProviders">
1218       <provider
1219             extensions="%htmlFileExtension"
1220             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1221             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1222       </provider>
1223    </extension>
1224    <extension
1225          point="org.eclipse.ui.editors.documentProviders">
1226       <provider
1227             extensions="%htmFileExtension"
1228             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1229             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1230       </provider>
1231    </extension>
1232    <extension
1233          point="org.eclipse.ui.editors.documentProviders">
1234       <provider
1235             extensions="%xmlFileExtension"
1236             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1237             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1238       </provider>
1239    </extension>
1240    <extension
1241          point="org.eclipse.ui.editors.documentProviders">
1242       <provider
1243             extensions="%tplFileExtension"
1244             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1245             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1246       </provider>
1247    </extension>
1248    <extension
1249          point="org.eclipse.ui.views">
1250       <category
1251             name="%viewCategoryName"
1252             id="net.sourceforge.phpeclipse.views.category">
1253       </category>
1254       <view
1255             name="%phpConsoleView"
1256             icon="icons/obj16/php.gif"
1257             category="net.sourceforge.phpeclipse.views.category"
1258             class="net.sourceforge.phpeclipse.views.PHPConsole"
1259             id="net.sourceforge.phpeclipse.views.phpconsoleview">
1260       </view>  
1261       <view
1262             name="%phpBrowserView"
1263             icon="icons/obj16/php.gif"
1264             category="net.sourceforge.phpeclipse.views.category"
1265             class="net.sourceforge.phpeclipse.views.browser.BrowserView"
1266             id="net.sourceforge.phpeclipse.views.browser">
1267       </view>
1268    </extension>
1269
1270 <!-- =========================================================================== -->
1271 <!-- PHPDT/UI Editor Key Bindings -->
1272 <!-- =========================================================================== -->
1273    <extension
1274          point="org.eclipse.ui.acceleratorSets">
1275       <acceleratorSet
1276             scopeId="org.eclipse.ui.textEditorScope"
1277             configurationId="org.eclipse.ui.emacsAcceleratorConfiguration">
1278 <!-- edit -->
1279          <accelerator
1280                key="Ctrl+Shift+P"
1281                id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
1282          </accelerator>
1283          <accelerator
1284                key="Ctrl+1"
1285                id="org.eclipse.ui.edit.text.contentAssist.proposals">
1286          </accelerator>
1287 <!-- source -->
1288          <accelerator
1289                key="Ctrl+/"
1290                id="net.sourceforge.phpeclipse.phpeditor.comment">
1291          </accelerator>
1292          <accelerator
1293                key="Ctrl+\"
1294                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
1295          </accelerator> 
1296          <accelerator
1297                key="Ctrl+Shift+F"
1298                id="net.sourceforge.phpeclipse.phpeditor.format">
1299          </accelerator>
1300          <accelerator
1301                key="Ctrl+O"
1302                id="net.sourceforge.phpeclipse.ui.edit.text.php.show.outline">
1303          </accelerator>
1304          <accelerator
1305                key="Ctrl+F3"
1306                id="net.sourceforge.phpeclipse.ui.navigate.php.open.structure">
1307          </accelerator>
1308       </acceleratorSet>
1309       <acceleratorSet
1310             scopeId="org.eclipse.ui.textEditorScope"
1311             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
1312 <!-- edit -->
1313          <accelerator
1314                key="Ctrl+Shift+P"
1315                id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
1316          </accelerator>
1317          <accelerator
1318                key="Ctrl+Space"
1319                id="org.eclipse.ui.edit.text.contentAssist.proposals">
1320          </accelerator> 
1321 <!-- source -->
1322          <accelerator
1323                key="Ctrl+/"
1324                id="net.sourceforge.phpeclipse.phpeditor.comment">
1325          </accelerator>
1326          <accelerator
1327                key="Ctrl+\"
1328                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
1329          </accelerator>
1330          <accelerator
1331                key="Ctrl+Shift+F"
1332                id="net.sourceforge.phpeclipse.phpeditor.format">
1333          </accelerator>
1334          <accelerator
1335                key="Ctrl+F3"
1336                id="net.sourceforge.phpeclipse.ui.navigate.php.open.structure">
1337          </accelerator>
1338          <accelerator
1339                key="Ctrl+O"
1340                id="net.sourceforge.phpeclipse.ui.edit.text.php.show.outline">
1341          </accelerator>
1342       </acceleratorSet>
1343       <acceleratorSet
1344             scopeId="org.eclipse.ui.textEditorScope"
1345             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
1346 <!-- edit -->
1347          <accelerator
1348                platform="carbon"
1349                key="Command+Shift+P"
1350                id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
1351          </accelerator>
1352          <accelerator
1353                platform="carbon"
1354                key="Command+1"
1355                id="org.eclipse.ui.edit.text.contentAssist.proposals">
1356          </accelerator>
1357 <!-- source -->
1358          <accelerator
1359                platform="carbon"
1360                key="Command+/"
1361                id="net.sourceforge.phpeclipse.phpeditor.comment">
1362          </accelerator>
1363          <accelerator
1364                platform="carbon"
1365                key="Command+\"
1366                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
1367          </accelerator> 
1368       </acceleratorSet>
1369    </extension>
1370
1371 <!-- external tools -->
1372
1373 <!-- extension point definitions -->
1374         <extension-point id="configurationDuplicationMaps" name="%ExtPoint.configurationDuplicationMaps"/>
1375         <extension-point id="argumentVariables" name="%ExtPoint.argumentVariables"/>
1376         <extension-point id="directoryVariables" name="%ExtPoint.directoryVariables"/>
1377         <extension-point id="fileVariables" name="%ExtPoint.fileVariables"/>
1378         <extension-point id="refreshVariables" name="%ExtPoint.refreshVariables"/>
1379         
1380 <!-- Extensions -->
1381         <extension point="org.eclipse.ui.actionSets">
1382                 <actionSet
1383                         id="net.sourceforge.phpdt.externaltools.ExternalToolsSet"
1384                         label="%ActionSet.externalTools"
1385                         visible="true">
1386                         <menu id="org.eclipse.ui.run" 
1387                                 label="%Menu.run" 
1388                                 path="additions"> 
1389                                 <separator name="ExternalToolsGroup"/> 
1390                         </menu> 
1391         <!--            <action
1392                                 id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateMenu"
1393                                 label="%Action.externalTools"
1394                                 menubarPath="org.eclipse.ui.run/ExternalToolsGroup"
1395                                 disabledIcon="icons/externaltools/full/dtool16/external_tools.gif"
1396                                 icon="icons/externaltools/full/etool16/external_tools.gif"
1397                                 hoverIcon="icons/externaltools/full/ctool16/external_tools.gif"
1398                                 pulldown="true"
1399                                 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
1400                         </action> 
1401                         <action
1402                                 id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateToolbar"
1403                                 label="%Action.externalTools"
1404                                 toolbarPath="Normal/additions"
1405                                 disabledIcon="icons/externaltools/full/dtool16/external_tools.gif"
1406                                 icon="icons/externaltools/full/etool16/external_tools.gif"
1407                                 hoverIcon="icons/externaltools/full/ctool16/external_tools.gif"
1408                                 tooltip="%Action.externalToolsTip"
1409                                 pulldown="true"
1410                                 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
1411                         </action> -->
1412                 </actionSet>
1413         </extension>
1414
1415     <!-- Launch Configuration Extensions -->
1416     <extension point="org.eclipse.debug.core.launchConfigurationTypes">
1417         <launchConfigurationType
1418                 id = "net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
1419                 name = "%Program.externalTools"
1420                 delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
1421                 modes = "run"
1422                 category = "org.eclipse.ui.externaltools">
1423         </launchConfigurationType>
1424         <launchConfigurationType
1425                 id = "net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
1426                 name = "%Program.externalTools"
1427                 delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
1428                 modes = "run"
1429                 category = "org.eclipse.ui.externaltools.builder">
1430         </launchConfigurationType>
1431     </extension>
1432     
1433     <extension point = "net.sourceforge.phpeclipse.configurationDuplicationMaps">
1434         <configurationMap
1435                 sourceType="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
1436                 builderType="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType">
1437         </configurationMap>
1438     </extension>
1439     
1440     <extension point = "org.eclipse.debug.ui.launchConfigurationTabGroups">
1441                 <launchConfigurationTabGroup
1442                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program"
1443                         type ="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
1444                         class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramTabGroup">
1445                 </launchConfigurationTabGroup>
1446                 <launchConfigurationTabGroup
1447                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program.builder"
1448                         type ="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
1449                         class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramBuilderTabGroup">
1450                 </launchConfigurationTabGroup>
1451         </extension>
1452         
1453         <extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
1454                 <launchConfigurationTypeImage
1455                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program"
1456                         configTypeID="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
1457                         icon="icons/externaltools/full/obj16/external_tools.gif">
1458                 </launchConfigurationTypeImage> 
1459                 <launchConfigurationTypeImage
1460                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program.builder"
1461                         configTypeID="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
1462                         icon="icons/externaltools/full/obj16/external_tools.gif">
1463                 </launchConfigurationTypeImage> 
1464         </extension>
1465
1466         <!-- Variable Extensions -->
1467         <extension point="net.sourceforge.phpeclipse.fileVariables">
1468                 <variable
1469                         tag="workspace_loc"
1470                         description="Expands to the workspace root's absolute file system path."
1471                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
1472                 </variable>
1473                 <variable
1474                         tag="resource_loc"
1475                         description="Expands to the resource's absolute file system path."
1476                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
1477                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1478                 </variable>
1479         </extension>
1480         
1481         <extension point="net.sourceforge.phpeclipse.argumentVariables">
1482                 <variable
1483                         tag="workspace_loc"
1484                         description="Expands to the workspace root's absolute file system path."
1485                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
1486                 </variable>
1487                 <variable
1488                         tag="file_loc"
1489                         description="Expands to the full file name"
1490                         expanderClass="net.sourceforge.phpdt.externaltools.variable.FileExpander">
1491                 </variable>
1492                 <variable
1493                         tag="file_url"
1494                         description="Expands to an URL with the localhost preference settings"
1495                         expanderClass="net.sourceforge.phpdt.externaltools.variable.UrlExpander">
1496                 </variable>
1497                 <variable
1498                         tag="localhost_url"
1499                         description="Expands to the localhost preference settings."
1500                         expanderClass="net.sourceforge.phpdt.externaltools.variable.LocalhostExpander">
1501                 </variable>
1502                 <variable
1503                         tag="project_loc"
1504                         description="Expands to the selected resource's project absolute file system path."
1505                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
1506                 </variable>
1507                 <variable
1508                         tag="project_path"
1509                         description="Expands to the full path, relative to the workspace root, of the selected project"
1510                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectExpander">
1511                 </variable>
1512                 <variable
1513                         tag="project_name"
1514                         description="Expands to the name of the selected project"
1515                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectNameExpander">
1516                 </variable>
1517                 <variable
1518                         tag="resource_loc"
1519                         description="Expands to the resource's absolute file system path."
1520                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
1521                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1522                 </variable>
1523                 <variable
1524                         tag="container_loc"
1525                         description="Expands to the selected resource's containing folder absolute file system path."
1526                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
1527                 </variable>
1528                 <variable
1529                         tag="build_type"
1530                         description="Expands to the type of build"
1531                         expanderClass="net.sourceforge.phpdt.externaltools.variable.BuildTypeExpander">
1532                 </variable>
1533         </extension>
1534
1535         <extension point="net.sourceforge.phpeclipse.directoryVariables">
1536                 <variable
1537                         tag="workspace_loc"
1538                         description="Expands to the workspace root's absolute file system path."
1539                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
1540                 </variable>
1541                 <variable
1542                         tag="project_loc"
1543                         description="Expands to the selected resource's project absolute file system path."
1544                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
1545                 </variable>
1546                 <variable
1547                         tag="container_loc"
1548                         description="Expands to the selected resource's containing folder absolute file system path."
1549                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
1550                 </variable>
1551                 <variable
1552                         tag="resource_loc"
1553                         description="Expands to a resource's absolute file system path."
1554                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFolderResourceComponent"
1555                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1556                 </variable>
1557         </extension>
1558
1559         <extension point="net.sourceforge.phpeclipse.refreshVariables">
1560                 <variable
1561                         tag="workspace"
1562                         description="Expands to the workspace root."
1563                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
1564                 </variable>
1565                 <variable
1566                         tag="project"
1567                         description="Expands to the project of the selected resource."
1568                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
1569                 </variable>
1570                 <variable
1571                         tag="container"
1572                         description="Expands to the folder containing the selected resource."
1573                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
1574                 </variable>
1575                 <variable
1576                         tag="resource"
1577                         description="Expands to a resource."
1578                         componentClass="net.sourceforge.phpdt.externaltools.variable.ResourceComponent"
1579                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1580                 </variable>
1581                 <variable
1582                         tag="working_set"
1583                         description="Expands to the group of resources in a working set."
1584                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkingSetExpander">
1585                 </variable>
1586         </extension>
1587 </plugin>