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