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