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