Added changes for externaltools plugin
[phpeclipse.git] / net.sourceforge.phpeclipse / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.0"?>
3 <plugin
4    id="net.sourceforge.phpeclipse"
5    name="%pluginName"
6    version="1.1.5"
7    provider-name="%providerName"
8    class="net.sourceforge.phpeclipse.PHPeclipsePlugin">
9     
10    <runtime>
11       <library name="phpeclipse.jar">
12         <export name="*"/>
13       </library>
14  <!--     <library name="lib/hsqldb.jar"/> -->
15  <!--     <library name="lib/xstream-1.0.2.jar" /> -->
16    </runtime>
17    <requires>
18       <import plugin="org.eclipse.core.runtime.compatibility"/>
19       <import plugin="org.eclipse.ui"/>
20       <import plugin="org.eclipse.ui.console"/>
21       <import plugin="org.eclipse.core.resources"/>
22       <import plugin="org.eclipse.search"/> 
23       <import plugin="org.eclipse.debug.core"/>
24       <import plugin="org.eclipse.debug.ui"/>
25       <import plugin="org.eclipse.compare"/>
26       <import plugin="org.eclipse.core.filebuffers"/>
27       <import plugin="org.eclipse.jface.text"/>
28       <import plugin="org.eclipse.ui.workbench.texteditor"/>
29       <import plugin="org.eclipse.ui.ide"/>
30       <import plugin="org.eclipse.ui.views"/>
31       <import plugin="org.eclipse.ui.editors"/>
32       <import plugin="org.eclipse.ui.externaltools"/>
33       <import plugin="org.eclipse.help"/>
34       <import plugin="org.eclipse.team.core"/>
35       <import plugin="org.eclipse.swt"/>
36       <import plugin="org.eclipse.search"/>
37       <import plugin="org.eclipse.update.ui"/>
38   <!--    <import plugin="net.sourceforge.phpeclipse.quantum.sql"/>  -->
39    <!--   <import plugin="com.quantum.Quantum"/>  -->
40       <import plugin="net.sourceforge.phpeclipse.webbrowser"/>
41       <import plugin="net.sourceforge.phpeclipse.externaltools"/>
42       <import plugin="net.sourceforge.phpeclipse.core"/>
43       <import plugin="net.sourceforge.phpeclipse.ui"/>
44       <import plugin="net.sourceforge.phpeclipse.xml.core"/>
45       <import plugin="net.sourceforge.phpeclipse.xml.ui"/>
46    </requires>
47
48    <extension
49          id="phpnature"
50          name="%naturePHP.name"
51          point="org.eclipse.core.resources.natures">
52       <runtime>
53          <run
54           class="net.sourceforge.phpdt.internal.core.JavaProject">
55          </run>
56       </runtime>
57    </extension>
58    
59    <extension
60          id="parserbuilder"
61          name="PHP Builder"
62          point="org.eclipse.core.resources.builders">
63       <builder>
64          <run  
65            class="net.sourceforge.phpdt.internal.core.builder.PHPBuilder">
66          </run>
67       </builder>
68    </extension>
69    <!-- =================================================================================== -->
70 <!-- Extension: Java Markers                                                             -->
71 <!-- =================================================================================== -->
72
73 <!-- Java problems -->
74
75 <extension id="problem" point="org.eclipse.core.resources.markers" name="%phpProblemName">
76         <super type="org.eclipse.core.resources.problemmarker"/>
77         <super type="org.eclipse.core.resources.textmarker"/>
78         <persistent value="true"/>
79         <attribute name="id"/>
80         <attribute name="flags"/>
81         <attribute name="arguments"/>
82 </extension>   
83
84 <!-- Java transient problems -->
85
86 <extension id="transient_problem" point="org.eclipse.core.resources.markers" name="%transientPHPProblemName">
87         <super type="org.eclipse.core.resources.textmarker"/>
88         <persistent value="false"/>
89         <attribute name="id"/>
90         <attribute name="flags"/>
91         <attribute name="arguments"/>
92 </extension>
93
94 <!-- PHP tasks -->
95
96 <extension id="task" name="%phpTaskName" point="org.eclipse.core.resources.markers">
97     <super type="org.eclipse.core.resources.taskmarker"/> 
98     <persistent value="true"/>
99 </extension>
100
101 <extension-point id="phpElementFilters" name="%elementFiltersName" schema="schema/phpElementFilters.exsd"/>
102 <extension-point id="phpEditorTextHovers" name="%phpEditorTextHoversName" schema="schema/phpEditorTextHovers.exsd"/> 
103 <extension-point id="foldingStructureProviders" name="%foldingStructureProvidersExtensionPoint" schema="schema/foldingStructureProviders.exsd"/>
104    
105   <extension
106         point="org.eclipse.ui.decorators">
107  <!--
108         <decorator
109                 label="%ProblemsLabelDecorator.label"
110                 state="false"
111                 lightweight="true"
112                 location="BOTTOM_LEFT"
113                 class="net.sourceforge.phpdt.ui.ProblemsLabelDecorator"
114                 id="net.sourceforge.phpdt.ui.problem.decorator">
115                 <description>
116                         %ProblemsLabelDecorator.description
117                 </description>
118                 <enablement>
119                         <or>
120                                 <objectClass
121                                         name="org.eclipse.core.resources.IResource">
122                                 </objectClass>         
123                                 <objectClass
124                                         name="net.sourceforge.phpdt.core.IJavaElement">
125                                 </objectClass>
126                         </or>                
127                 </enablement>
128         </decorator>
129         -->
130         <decorator
131                 label="%OverrideIndicatorLabelDecorator.label"
132                 lightweight="true"
133                 location="BOTTOM_RIGHT"         
134                 state="true"
135                 class="net.sourceforge.phpdt.ui.OverrideIndicatorLabelDecorator"
136                 id="net.sourceforge.phpdt.ui.override.decorator">
137                 <description>
138                         %OverrideIndicatorLabelDecorator.description
139                 </description>
140                 <enablement>
141                         <objectClass
142                                 name="net.sourceforge.phpdt.core.IMethod">
143                         </objectClass>
144                 </enablement>
145         </decorator>    
146   </extension>
147   
148    <extension
149          point="org.eclipse.team.core.fileTypes">
150       <fileTypes
151             type="text"
152             extension="php">
153       </fileTypes>
154       <fileTypes
155             type="text"
156             extension="php3">
157       </fileTypes>
158       <fileTypes
159             type="text"
160             extension="php4">
161       </fileTypes>
162       <fileTypes
163             type="text"
164             extension="php5"> 
165       </fileTypes>
166       <fileTypes
167             type="text"
168             extension="module">
169       </fileTypes>
170       <fileTypes
171             type="text"
172             extension="inc">
173       </fileTypes>
174       <fileTypes
175             type="text"
176             extension="phtml">
177       </fileTypes>
178       <fileTypes
179             type="text"
180             extension="html">
181       </fileTypes>
182       <fileTypes
183             type="text"
184             extension="htm">
185       </fileTypes>
186       <fileTypes
187             type="text"
188             extension="xhtml">
189       </fileTypes> 
190   <!--    <fileTypes
191             type="text"
192             extension="tpl">
193       </fileTypes> -->
194    </extension>
195    
196    <extension point="org.eclipse.core.runtime.contentTypes">
197         <!-- declares a content type for PHP Source files -->
198         <content-type id="phpSource" name="%phpSourceName" 
199                 base-type="org.eclipse.core.runtime.text"
200                 priority="high"
201                 file-extensions="php,php3,php4,php5,phtml,inc,module,htm,html,xhtml"/>
202    </extension>
203    
204    <extension
205       point="net.sourceforge.phpeclipse.phpEditorTextHovers">
206    <hover
207          class="net.sourceforge.phpdt.internal.ui.text.java.hover.BestMatchHover"
208          id="net.sourceforge.phpdt.ui.BestMatchHover"
209          label="%sequentialHover"
210          description="%sequentialHoverDescription">
211    </hover>
212 </extension>
213
214 <extension
215       point="net.sourceforge.phpeclipse.phpEditorTextHovers">
216    <hover
217          class="net.sourceforge.phpdt.internal.ui.text.java.hover.JavaSourceHover"
218          id="net.sourceforge.phpdt.ui.JavaSourceHover"
219          label="%sourceHover"
220          description="%sourceHoverDescription">
221    </hover>
222    <hover
223             label="%problemHover"
224             description="%problemHoverDescription"
225             class="net.sourceforge.phpdt.internal.ui.text.java.hover.ProblemHover"
226             id="net.sourceforge.phpdt.ui.ProblemHover">
227    </hover>
228    <hover
229          class="net.sourceforge.phpdt.internal.ui.text.java.hover.AnnotationHover"
230          id="net.sourceforge.phpdt.ui.AnnotationHover"
231          label="%annotationHover" 
232          description="%annotationHoverDescription">
233    </hover>
234    </extension>
235
236    <extension
237          point="org.eclipse.ui.perspectives">
238       <perspective
239             name="%perspectivePHP.name"
240             icon="icons/obj16/php.gif"
241             class="net.sourceforge.phpeclipse.PHPPerspectiveFactory"
242             id="net.sourceforge.phpeclipse.PHPPerspective">
243       </perspective>
244    </extension>
245    
246    <extension
247          point="org.eclipse.ui.newWizards">
248       <category
249             name="%newWizardCategory.name"
250             id="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP">
251       </category>
252       <wizard
253             name="%newWizardPHPProject.name"
254             icon="icons/obj16/php.gif"
255             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
256             class="net.sourceforge.phpeclipse.wizards.NewProjectCreationWizard"
257             project="true"
258             id="net.sourceforge.phpeclipse.wizards.NewWizardProjectCreation">
259          <description>
260             Create a new PHP project.
261          </description>
262       </wizard>
263  <!--    <wizard
264                 id="net.sourceforge.phpdt.internal.ui.wizards.NewClassCreationWizard"
265                 name="%NewPHPClass.label"
266                 class="net.sourceforge.phpdt.internal.ui.wizards.NewClassCreationWizard"
267                 category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
268                 icon="icons/ctool16/newclass_wiz.gif">
269                 <description>%NewPHPClass.description</description>
270         </wizard>      -->
271 <!--
272 <this wizard replaces it as it works - maybe not as pretty but still>
273
274       <wizard
275             name="%newWizardPHPProject.name"
276             icon="icons/obj16/php.gif"
277             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
278             class="net.sourceforge.phpeclipse.wizards.TempnewPHPProject"
279             project="true"
280             id="net.sourceforge.phpeclipse.wizards.NewWizardProjectCreation">
281          <description>
282             Create a new PHP project.
283          </description>
284       </wizard> -->
285       <wizard
286             name="%newWizardPHPFile.name"
287             icon="icons/obj16/phpedit.gif"
288             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
289             class="net.sourceforge.phpeclipse.wizards.PHPFileWizard"
290             id="net.sourceforge.phpeclipse.wizards.PHPFileWizard">
291          <description>
292             Create a basic PHP file.
293          </description>
294       </wizard>
295       <wizard
296             name="%newWizardHTMLFile.name"
297             icon="icons/obj16/htmledit.gif"
298             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
299             class="net.sourceforge.phpeclipse.wizards.HTMLFileWizard"
300             id="net.sourceforge.phpeclipse.wizards.HTMLFileWizard">
301          <description>
302             Create a basic HTML file.
303          </description>
304       </wizard>
305    </extension>
306    <extension point="org.eclipse.ui.exportWizards">
307      <wizard name="%ExportWizards.Obfuscator" 
308              icon="icons/ctool16/exportdir_wiz.gif" 
309              class="net.sourceforge.phpeclipse.obfuscator.export.ObfuscatorExportWizard" 
310              id="net.sourceforge.phpeclipse.obfuscator.export.ObfuscatorExportWizard">
311      <description>%ExportWizards.ObfuscatorDescription</description> 
312      <selection class="org.eclipse.core.resources.IResource" /> 
313      </wizard>
314   </extension>
315    <extension
316          point="org.eclipse.ui.ide.projectNatureImages">
317       <image
318             icon="icons/obj16/php.gif"
319             natureId="net.sourceforge.phpeclipse.phpnature"
320             id="net.sourceforge.phpeclipse.ProjectNatureImagePHP">
321       </image>
322    </extension>
323    <extension
324          point="org.eclipse.ui.propertyPages">
325 <!--      <page
326             objectClass="org.eclipse.core.resources.IProject"
327             name="%propertyPagePHPProject.name"
328             class="net.sourceforge.phpeclipse.preferences.PHPProjectPropertyPage"
329             id="net.sourceforge.phpeclipse.preferences.PHPProjectPropertyPage">
330          <filter
331                name="nature"
332                value="net.sourceforge.phpeclipse.phpnature">
333          </filter>
334       </page> 
335       <page
336             objectClass="org.eclipse.core.resources.IProject"
337             name="PHP Project Settings"
338             class="net.sourceforge.phpeclipse.preferences.PHPMiscProjectPreferences"
339             id="net.sourceforge.phpeclipse.preferences.project.PHPMiscProjectPreferences">
340          <filter
341                name="nature"
342                value="net.sourceforge.phpeclipse.phpnature">
343          </filter>
344       </page> -->
345       <page
346             objectClass="org.eclipse.core.resources.IProject"
347             name="%todoPageName"
348             class="net.sourceforge.phpdt.internal.ui.preferences.TodoTaskPropertyPage"
349             id="net.sourceforge.phpdt.ui.propertyPages.TodoTaskPropertyPage">
350          <filter
351                name="nature"
352                value="net.sourceforge.phpeclipse.phpnature">
353          </filter>
354       </page>
355       <page
356             objectClass="net.sourceforge.phpdt.core.IJavaProject"
357             name="%todoPageName"
358             class="net.sourceforge.phpdt.internal.ui.preferences.TodoTaskPropertyPage"
359             id="net.sourceforge.phpdt.ui.propertyPages.TodoTaskPropertyPage">
360          <filter
361                name="nature"
362                value="net.sourceforge.phpeclipse.phpnature">
363          </filter>
364       </page>
365             <page
366             objectClass="org.eclipse.core.resources.IProject"
367             name="%compilerPageName"
368             class="net.sourceforge.phpdt.internal.ui.preferences.CompilerPropertyPage"
369             id="net.sourceforge.phpdt.ui.propertyPages.CompilerPropertyPage">
370          <filter
371                name="nature"
372                value="net.sourceforge.phpeclipse.phpnature">
373          </filter>
374       </page>
375       <page
376             objectClass="net.sourceforge.phpdt.core.IJavaProject"
377             name="%compilerPageName"
378             class="net.sourceforge.phpdt.internal.ui.preferences.CompilerPropertyPage"
379             id="net.sourceforge.phpdt.ui.propertyPages.CompilerPropertyPage">
380          <filter
381                name="nature"
382                value="net.sourceforge.phpeclipse.phpnature">
383          </filter>
384       </page>
385      <!--  <page
386             objectClass="org.eclipse.core.resources.IFile"
387             name="PHP File Settings"
388             class="net.sourceforge.phpeclipse.preferences.PHPPreviewProjectPreferences"
389             id="net.sourceforge.phpeclipse.preferences.PHPPreviewProjectPreferences">
390       </page> -->
391    </extension>
392 <!--   <extension
393          point="org.eclipse.ui.views">
394       <view
395             name="%viewPHPResources.name"
396             icon="icons/obj16/php.gif"
397             class="net.sourceforge.phpeclipse.resourcesview.PHPResourcesView"
398             id="net.sourceforge.phpeclipse.resourcesview.ViewPHPResources">
399       </view>
400    </extension> -->
401    <extension
402          point="org.eclipse.ui.editors">
403       <editor
404             name="%phpEditorName"
405             default="true"
406             icon="icons/obj16/phpedit.gif"
407             extensions="php,php3,php4,php5,phtml,inc,module,htm,html,xhtml"
408             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
409             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
410             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
411             id="net.sourceforge.phpeclipse.PHPUnitEditor">
412       </editor>
413  <!--     <editor
414             name="%phpEditorName"
415             default="true"
416             icon="icons/obj16/htmledit.gif"
417             extensions="htm,html,xhtml" 
418             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
419             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
420             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
421             id="net.sourceforge.phpeclipse.PHPUnitEditor">
422       </editor> -->
423   <!--    <editor
424             name="%phpEditorName"
425             default="true"
426             icon="icons/obj16/htmledit.gif"
427             extensions="tpl"
428             contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
429             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
430             symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
431             id="net.sourceforge.phpeclipse.PHPUnitEditor">
432       </editor> -->
433    </extension>
434       <extension
435          point="org.eclipse.ui.fontDefinitions">
436       <fontDefinition
437             label="%phpEditorFontDefiniton.label"
438             defaultsTo="org.eclipse.jface.textfont"
439             id="net.sourceforge.phpdt.ui.editors.textfont">
440          <description>
441             %phpEditorFontDefintion.description
442          </description>
443       </fontDefinition>
444    </extension>
445    <extension
446          point="org.eclipse.ui.editors.annotationTypes">
447       <type
448          name="net.sourceforge.phpdt.ui.error"
449          super="org.eclipse.ui.workbench.texteditor.error"
450          markerType="net.sourceforge.phpeclipse.problem"
451          markerSeverity="2">
452       </type>
453       <type
454          name="net.sourceforge.phpdt.ui.warning"
455          super="org.eclipse.ui.workbench.texteditor.warning"
456          markerType="net.sourceforge.phpeclipse.problem"
457          markerSeverity="1">
458       </type>
459       <type
460          name="net.sourceforge.phpdt.ui.info"
461          super="org.eclipse.ui.workbench.texteditor.info"
462          markerType="net.sourceforge.phpeclipse.problem"
463          markerSeverity="0">
464       </type>
465       <type
466          name="net.sourceforge.phpdt.ui.occurrences">
467       </type>
468    </extension>
469    <extension
470          point="org.eclipse.ui.editors.markerAnnotationSpecification">
471       <specification
472             annotationType="net.sourceforge.phpdt.ui.error"
473             annotationImageProvider="net.sourceforge.phpeclipse.phpeditor.JavaAnnotationImageProvider">
474       </specification>
475       <specification
476             annotationType="net.sourceforge.phpdt.ui.warning"
477             annotationImageProvider="net.sourceforge.phpeclipse.phpeditor.JavaAnnotationImageProvider">
478       </specification>
479       <specification
480             annotationType="net.sourceforge.phpdt.ui.info"
481             annotationImageProvider="net.sourceforge.phpeclipse.phpeditor.JavaAnnotationImageProvider">
482       </specification>
483       <specification 
484             annotationType="org.eclipse.debug.core.breakpoint"
485             icon="icons/full/obj16/brkp_obj.gif"
486             annotationImageProvider="net.sourceforge.phpeclipse.phpeditor.BreakpointImageProvider">
487       </specification>
488           <specification
489             annotationType="net.sourceforge.phpdt.ui.occurrences"
490             label="%OccurrenceAnnotation.label"
491             icon="icons/full/obj16/searchm_obj.gif"
492             textPreferenceKey="occurrenceIndication"
493             textPreferenceValue="false"
494             highlightPreferenceKey="occurrenceHighlighting"
495             highlightPreferenceValue="true"
496             overviewRulerPreferenceKey="occurrenceIndicationInOverviewRuler"
497             overviewRulerPreferenceValue="true"
498             verticalRulerPreferenceKey="occurrenceIndicationInVerticalRuler"
499             verticalRulerPreferenceValue="false"
500             colorPreferenceKey="occurrenceIndicationColor"
501             colorPreferenceValue="180,207,205"
502             presentationLayer="3"
503             showInNextPrevDropdownToolbarActionKey="showOccurrenceInNextPrevDropdownToolbarAction"
504             showInNextPrevDropdownToolbarAction="true"
505             isGoToNextNavigationTargetKey="isOccurrenceGoToNextNavigationTarget"
506                 isGoToNextNavigationTarget="false"
507             isGoToPreviousNavigationTargetKey="isOccurrenceGoToPreviousNavigationTarget"
508                 isGoToPreviousNavigationTarget="false">
509           </specification>
510     </extension>
511     
512    <extension
513          point="org.eclipse.ui.actionSets">
514       <actionSet
515             label="%CodingActionSet.label"
516             description="%CodingActionSet.description"
517             visible="false"
518             id="net.sourceforge.phpeclipse.ui.CodingActionSet">   
519 <!-- =========================================================================== -->
520 <!-- Source Menu                                                                 -->
521 <!-- =========================================================================== -->
522          <menu
523                label="%SourceMenu.label"
524                path="edit/editEnd"
525                id="net.sourceforge.phpeclipse.ui.source.menu">
526                 <separator 
527                       name="editGroup">
528                 </separator>
529             <separator
530                   name="convertGroup">
531             </separator>
532          </menu>
533          <action
534                definitionId="net.sourceforge.phpeclipse.phpeditor.format"
535                label="%FormatAction.label"
536                retarget="true"
537                menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/editGroup"
538                id="net.sourceforge.phpeclipse.phpeditor.Format">
539          </action>
540          <action
541                label="%ShiftLeftAction.label"
542                retarget="true"
543                menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/editGroup"
544                id="net.sourceforge.phpeclipse.phpeditor.ShiftLeft">
545          </action>
546          <action
547                label="%ShiftRightAction.label"
548                retarget="true"
549                menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/editGroup"
550                id="net.sourceforge.phpeclipse.phpeditor.ShiftRight">
551          </action>
552          <action
553                definitionId="net.sourceforge.phpeclipse.phpeditor.remove.block.comment"
554                label="%RemoveBlockCommentAction.label"
555                retarget="true"
556                menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/editGroup"
557                id="net.sourceforge.phpeclipse.ui.actions.RemoveBlockComment">
558          </action>
559          <action
560                definitionId="net.sourceforge.phpeclipse.phpeditor.add.block.comment"
561                label="%AddBlockCommentAction.label"
562                retarget="true"
563                menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/editGroup"
564                id="net.sourceforge.phpeclipse.ui.actions.AddBlockComment">
565          </action> 
566          <action
567                definitionId="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
568                label="%ToggleCommentAction.label"
569                retarget="true"
570                menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/editGroup"
571                id="net.sourceforge.phpeclipse.ui.actions.ToggleComment">
572          </action>
573          <action
574                definitionId="net.sourceforge.phpeclipse.phpeditor.uncomment"
575                label="%UncommentAction.label"
576                retarget="true"
577                menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/editGroup"
578                id="net.sourceforge.phpeclipse.phpeditor.Uncomment">
579          </action>
580          <action
581                definitionId="net.sourceforge.phpeclipse.phpeditor.comment"
582                label="%CommentAction.label"
583                retarget="true"
584                menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/editGroup"
585                id="net.sourceforge.phpeclipse.phpeditor.Comment">
586          </action>
587 <!-- convert group -->
588          <menu
589                label="%ConvertLineDelimitersActions.label"
590                path="edit/net.sourceforge.phpeclipse.ui.source.menu/convertGroup"
591                id="convertSubMenu">
592             <separator
593                   name="group1">
594             </separator>
595          </menu>
596          <action
597                label="%ConvertLineDelimitersToMacAction.label"
598                retarget="true"
599                menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/convertSubMenu/group1"
600                allowLabelUpdate="true"
601                id="net.sourceforge.phpeclipse.ui.actions.ConvertLineDelimitersToMac">
602          </action>
603          <action
604                label="%ConvertLineDelimitersToUNIXAction.label"
605                retarget="true"
606                menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/convertSubMenu/group1"
607                allowLabelUpdate="true"
608                id="net.sourceforge.phpeclipse.ui.actions.ConvertLineDelimitersToUNIX">
609          </action>
610          <action
611                label="%ConvertLineDelimitersToWindowsAction.label"
612                retarget="true"
613                menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/convertSubMenu/group1"
614                allowLabelUpdate="true"
615                id="net.sourceforge.phpeclipse.ui.actions.ConvertLineDelimitersToWindows">
616          </action>
617       </actionSet>
618    </extension>
619    <extension
620          point="org.eclipse.ui.actionSetPartAssociations">
621       <actionSetPartAssociation
622             targetID="net.sourceforge.phpeclipse.ui.CodingActionSet">
623          <part id="net.sourceforge.phpeclipse.PHPUnitEditor" />
624       </actionSetPartAssociation>
625    </extension>
626    
627 <!-- =========================================================================== -->
628 <!-- PHP Editor Action Definition IDs -->
629 <!-- =========================================================================== -->
630 <!--   <extension
631          point="org.eclipse.ui.actionDefinitions">
632  
633       <actionDefinition
634             id="net.sourceforge.phpeclipse.phpeditor.ContentAssistProposal">
635       </actionDefinition>
636  
637       <actionDefinition
638             id="net.sourceforge.phpeclipse.phpeditor.Comment">
639       </actionDefinition>
640       <actionDefinition
641             id="net.sourceforge.phpeclipse.phpeditor.Uncomment">
642       </actionDefinition>
643       <actionDefinition
644             id="net.sourceforge.phpeclipse.phpeditor.Format">
645       </actionDefinition>
646       <actionDefinition
647             id="net.sourceforge.phpeclipse.ui.edit.text.php.show.outline">
648       </actionDefinition>
649       <actionDefinition
650             id="net.sourceforge.phpeclipse.ui.navigate.php.open.structure">
651       </actionDefinition>
652       <actionDefinition
653             id="net.sourceforge.phpeclipse.ui.edit.text.php.show.next.problem">
654       </actionDefinition>
655       <actionDefinition
656             id="net.sourceforge.phpeclipse.ui.edit.text.php.show.previous.problem">
657       </actionDefinition>
658    </extension> -->
659 <!--   <extension
660          point="org.eclipse.ui.acceleratorSets">
661       <acceleratorSet
662             scopeId="org.eclipse.ui.textEditorScope"
663             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
664          <accelerator
665                key="Ctrl+/"
666                id="net.sourceforge.phpdt.ui.actions.comment">
667          </accelerator>
668          <accelerator
669                key="Ctrl+\\"
670                id="net.sourceforge.phpdt.ui.actions.uncomment">
671          </accelerator>
672       </acceleratorSet>
673    </extension> -->
674    
675    <extension
676          point="org.eclipse.ui.popupMenus">
677       <objectContribution
678             objectClass="org.eclipse.core.resources.IFile"
679             nameFilter="*.php"
680             id="net.sourceforge.phpeclipse.actions.popupShowAction">
681          <action
682                label="Open PHP Browser"
683                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
684                menubarPath="additions"
685                id="net.sourceforge.phpeclipse.actions.showAction">
686          </action>
687       </objectContribution>
688       <objectContribution
689             objectClass="org.eclipse.core.resources.IFile"
690             nameFilter="*.php3"
691             id="net.sourceforge.phpeclipse.actions.popupShowAction">
692          <action
693                label="Open PHP Browser"
694                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
695                menubarPath="additions"
696                id="net.sourceforge.phpeclipse.actions.showAction">
697          </action>
698       </objectContribution>
699       <objectContribution
700             objectClass="org.eclipse.core.resources.IFile"
701             nameFilter="*.php4"
702             id="net.sourceforge.phpeclipse.actions.popupShowAction">
703          <action
704                label="Open PHP Browser"
705                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
706                menubarPath="additions"
707                id="net.sourceforge.phpeclipse.actions.showAction">
708          </action>
709       </objectContribution>
710       <objectContribution
711             objectClass="org.eclipse.core.resources.IFile"
712             nameFilter="*.php5"
713             id="net.sourceforge.phpeclipse.actions.popupShowAction">
714          <action
715                label="Open PHP Browser"
716                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
717                menubarPath="additions"
718                id="net.sourceforge.phpeclipse.actions.showAction">
719          </action>
720       </objectContribution>
721       <objectContribution
722             objectClass="org.eclipse.core.resources.IFile"
723             nameFilter="*.module"
724             id="net.sourceforge.phpeclipse.actions.popupShowAction">
725          <action
726                label="Open PHP Browser"
727                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
728                menubarPath="additions"
729                id="net.sourceforge.phpeclipse.actions.showAction">
730          </action>
731       </objectContribution>
732       <objectContribution
733             objectClass="org.eclipse.core.resources.IFile"
734             nameFilter="*.inc"
735             id="net.sourceforge.phpeclipse.actions.popupShowAction">
736          <action
737                label="Open PHP Browser"
738                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
739                menubarPath="additions"
740                id="net.sourceforge.phpeclipse.actions.showAction">
741          </action>
742       </objectContribution>
743       <objectContribution
744             objectClass="org.eclipse.core.resources.IFile"
745             nameFilter="*.phtml"
746             id="net.sourceforge.phpeclipse.actions.popupShowAction">
747          <action
748                label="Open PHP Browser"
749                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
750                menubarPath="additions"
751                id="net.sourceforge.phpeclipse.actions.showAction">
752          </action>
753       </objectContribution>
754       <objectContribution
755             objectClass="org.eclipse.core.resources.IFile"
756             nameFilter="*.html"
757             id="net.sourceforge.phpeclipse.actions.popupShowAction">
758          <action
759                label="Open PHP Browser"
760                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
761                menubarPath="additions"
762                id="net.sourceforge.phpeclipse.actions.showAction">
763          </action>
764       </objectContribution>
765             <objectContribution
766             objectClass="org.eclipse.core.resources.IFile"
767             nameFilter="*.htm"
768             id="net.sourceforge.phpeclipse.actions.popupShowAction">
769          <action
770                label="Open PHP Browser"
771                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
772                menubarPath="additions"
773                id="net.sourceforge.phpeclipse.actions.showAction">
774          </action>
775       </objectContribution>
776       <objectContribution
777             objectClass="org.eclipse.core.resources.IFile"
778             nameFilter="*.xml"
779             id="net.sourceforge.phpeclipse.actions.popupShowAction">
780          <action
781                label="Open PHP Browser"
782                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
783                menubarPath="additions"
784                id="net.sourceforge.phpeclipse.actions.showAction">
785          </action>
786       </objectContribution>
787   
788   <!--    <viewerContribution  
789             targetID="#PHPEditorContext"
790             id="net.sourceforge.phpeclipse.actions.popupOpenSQLTable">
791          <action
792                label="Open Quantum SQL Table View"
793                class="net.sourceforge.phpeclipse.actions.PHPOpenSQLTableEditorAction"
794                menubarPath="additions"
795                id="net.sourceforge.phpeclipse.actions.opensqltable">
796          </action>
797       </viewerContribution> -->
798       <viewerContribution
799             targetID="#PHPEditorContext"
800             id="net.sourceforge.phpeclipse.actions.popupHTMLWizard">
801          <action
802                label="Insert HTML (dl,ul,ol,table)"
803                class="net.sourceforge.phpeclipse.wizards.html.InsertHTMLElementAction"
804                menubarPath="additions"
805                id="net.sourceforge.phpeclipse.actions.wizards.html">
806          </action>
807       </viewerContribution>
808       <viewerContribution
809             targetID="#PHPEditorContext"
810             id="net.sourceforge.phpeclipse.actions.popupOpenAllIncludes">
811          <action
812                label="Open Included Files List"
813                class="net.sourceforge.phpeclipse.actions.PHPOpenAllIncludesEditorAction"
814                menubarPath="additions"
815                id="net.sourceforge.phpeclipse.actions.openallincludes">
816          </action>
817       </viewerContribution>
818       <viewerContribution
819             targetID="#PHPEditorContext"
820             id="net.sourceforge.phpeclipse.actions.popupOpenDeclaration">
821          <action
822                label="%OpenDeclaration"
823                class="net.sourceforge.phpeclipse.actions.PHPOpenDeclarationEditorAction"
824                menubarPath="additions"
825                definitionId="net.sourceforge.phpeclipse.actions.opendeclaration"
826                id="net.sourceforge.phpeclipse.actions.PHPOpenDeclarationEditorAction">
827          </action>
828       </viewerContribution>
829       <viewerContribution
830             targetID="#PHPRulerContext"
831             id="net.sourceforge.phpdt.ui.PHPEditorPopupActions">
832          <action
833                label="%AddTask.label"
834                helpContextId="org.eclipse.ui.AddTask_action_context"
835                class="org.eclipse.ui.texteditor.TaskRulerAction"
836                menubarPath="add"
837                id="org.eclipse.ui.texteditor.TaskRulerAction">
838          </action>
839          <action
840                label="%AddBookmark.label"
841                helpContextId="org.eclipse.ui.bookmark_action_context"
842                class="org.eclipse.ui.texteditor.BookmarkRulerAction"
843                menubarPath="add"
844                id="org.eclipse.ui.texteditor.BookmarkRulerAction">
845          </action>
846       </viewerContribution>
847    </extension>
848    <extension
849          point="org.eclipse.ui.actionSets">
850       <actionSet
851             label="%OpenActionSet.label"
852             description="%OpenActionSet.description"
853             visible="false"
854             id="net.sourceforge.phpeclipse.ui.A_OpenActionSet">
855          <action
856                definitionId="net.sourceforge.phpeclipse.ui.edit.text.java.open.editor"
857                label="%OpenDeclaration"
858                tooltip="%OpenDeclaration"
859                retarget="true"
860                menubarPath="navigate/open.ext" 
861                allowLabelUpdate="true"
862                id="net.sourceforge.phpeclipse.ui.actions.Open">
863          </action>
864       </actionSet>
865    </extension> 
866    <extension
867          point="org.eclipse.ui.editorActions">
868       <editorContribution
869             id="org.eclipse.ui.texteditor.ruler.actions"
870             targetID="net.sourceforge.phpeclipse.PHPUnitEditor">
871                 <action
872                         id="org.eclipse.ui.texteditor.BookmarkRulerAction"
873                         actionID="RulerDoubleClick"
874                         label="%Dummy.label"
875             helpContextId="org.eclipse.ui.bookmark_action_context"
876                         class="org.eclipse.ui.texteditor.BookmarkRulerAction">
877                 </action>
878                 <action
879             label="%Dummy.label"
880             class="net.sourceforge.phpeclipse.phpeditor.JavaSelectRulerAction"
881             actionID="RulerClick"
882             id="net.sourceforge.phpeclipse.phpeditor.JavaSelectRulerAction">
883         </action>
884       </editorContribution>
885       <editorContribution
886             id="net.sourceforge.phpdt.editor.actions" 
887             targetID="net.sourceforge.phpeclipse.PHPUnitEditor">
888          <action 
889                definitionId="net.sourceforge.phpeclipse.actions.opendeclaration"
890                label="%OpenDeclaration"
891                class="net.sourceforge.phpeclipse.actions.PHPOpenDeclarationEditorAction"
892                id="net.sourceforge.phpeclipse.actions.PHPOpenDeclarationEditorAction">
893          </action>
894       </editorContribution>   
895    </extension>
896    <extension
897          point="org.eclipse.ui.popupMenus">
898       <viewerContribution 
899             targetID="#CompilationUnitRulerContext"
900             id="net.sourceforge.phpeclipse.phpeditor.QuickFixRulerMenuAction">
901          <action
902                label="%Dummy.label"
903                helpContextId="net.sourceforge.phpeclipse.quick_fix_action"
904                class="net.sourceforge.phpeclipse.phpeditor.JavaSelectRulerAction"
905                menubarPath="additions"
906                id="net.sourceforge.phpeclipse.phpeditor.JavaSelectRulerMenuAction">
907          </action>
908       </viewerContribution>
909    </extension>
910    <extension
911          point="org.eclipse.ui.popupMenus">
912       <viewerContribution
913             targetID="#CompilationUnitRulerContext"
914             id="net.sourceforge.phpdt.ui.CompilationUnitEditorPopupActions">
915          <action
916                label="%AddTask.label"
917                helpContextId="org.eclipse.ui.AddTask_action_context"
918                tooltip="%AddTask.tooltip"
919                class="org.eclipse.ui.texteditor.TaskRulerAction"
920                menubarPath="add"
921                id="org.eclipse.ui.texteditor.TaskRulerAction">
922          </action>
923          <action
924                label="%AddBookmark.label"
925                helpContextId="org.eclipse.ui.bookmark_action_context"
926                tooltip="%AddBookmark.tooltip"
927                class="org.eclipse.ui.texteditor.BookmarkRulerAction"
928                menubarPath="add"
929                id="org.eclipse.ui.texteditor.BookmarkRulerAction">
930          </action>
931          <menu
932                         id="projection"
933                         label="%Folding.label"
934                         path="rest">
935                  </menu>
936          <action
937                label="%Dummy.label"
938                tooltip="%Dummy.label"
939                class="net.sourceforge.phpdt.internal.ui.actions.FoldingExpandAllRulerAction"
940                menubarPath="projection/additions"
941                definitionId="org.eclipse.ui.edit.text.folding.expand_all"
942                id="net.sourceforge.phpdt.ui.folding.expandAll">
943          </action>
944          <action
945                label="%Dummy.label"
946                tooltip="%Dummy.label"
947                class="net.sourceforge.phpdt.internal.ui.actions.FoldingToggleRulerAction"
948                menubarPath="projection/additions"
949                definitionId="org.eclipse.ui.edit.text.folding.toggle"
950                id="net.sourceforge.phpdt.ui.folding.toggle">
951          </action>
952       </viewerContribution>
953    </extension>
954  <!-- =========================================================================== -->
955 <!-- PHPDT/UI command definitions                                                   -->
956 <!-- =========================================================================== -->
957    <extension point="org.eclipse.ui.contexts">
958       <context name="%context.editingPHPSource.name" 
959        description="%context.editingPHPSource.description" 
960        parentId="org.eclipse.ui.textEditorScope" 
961        id="net.sourceforge.phpdt.ui.phpEditorScope" /> 
962    </extension>
963    <extension
964          point="org.eclipse.ui.commands">
965       <category
966             name="%category.source.name"
967             description="%category.source.description"
968             id="net.sourceforge.phpeclipse.ui.category.source">
969       </category>
970       
971  <!-- source -->
972       <command
973             name="%ActionDefinition.comment.name"
974             description="%ActionDefinition.comment.description"
975             category="net.sourceforge.phpeclipse.ui.category.source"
976             id="net.sourceforge.phpeclipse.phpeditor.comment">
977       </command>
978       <command
979             name="%ActionDefinition.uncomment.name"
980             description="%ActionDefinition.uncomment.description"
981             category="net.sourceforge.phpeclipse.ui.category.source"
982             id="net.sourceforge.phpeclipse.phpeditor.uncomment">
983       </command>
984       <command 
985             name="%ActionDefinition.toggleComment.name"
986             description="%ActionDefinition.toggleComment.description"
987             category="net.sourceforge.phpeclipse.ui.category.source"
988             id="net.sourceforge.phpeclipse.phpeditor.toggle.comment">
989       </command>
990       
991       <keyBinding
992             string="Ctrl+Shift+C"
993             scope="net.sourceforge.phpdt.ui.phpEditorScope"
994             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
995             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
996       </keyBinding>
997       <keyBinding
998             string="Ctrl+/"
999             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1000             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1001             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1002       </keyBinding>
1003       <keyBinding
1004             string="Ctrl+7"
1005             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1006             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1007             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1008       </keyBinding>
1009       <keyBinding
1010             platform="carbon"
1011             string="Ctrl+Shift+C"
1012             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1013             command=""
1014             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1015       </keyBinding>
1016       <keyBinding
1017             platform="carbon"
1018             string="Command+Shift+C"
1019             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1020             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1021             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1022       </keyBinding>
1023       <keyBinding
1024             platform="carbon"
1025             string="Ctrl+/"
1026             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1027             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1028             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1029       </keyBinding>
1030       <keyBinding
1031             platform="carbon"
1032             string="Command+/"
1033             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1034             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1035             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1036       </keyBinding>
1037       <keyBinding
1038             platform="carbon"
1039             string="Ctrl+7"
1040             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1041             command=""
1042             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1043       </keyBinding>
1044       <keyBinding
1045             platform="carbon"
1046             string="Command+7"
1047             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1048             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1049             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1050       </keyBinding>
1051       <keyBinding
1052             platform="gtk"
1053             string="Ctrl+Shift+C"
1054             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1055             command=""
1056             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1057       </keyBinding>
1058       <keyBinding
1059             platform="gtk"
1060             string="Esc Ctrl+C"
1061             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1062             command="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1063             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1064       </keyBinding>
1065       <command
1066             name="%ActionDefinition.addBlockComment.name"
1067             description="%ActionDefinition.addBlockComment.description"
1068             category="net.sourceforge.phpeclipse.ui.category.source"
1069             id="net.sourceforge.phpeclipse.phpeditor.add.block.comment">
1070       </command>
1071       <keyBinding
1072             string="Ctrl+Shift+/"
1073             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1074             command="net.sourceforge.phpeclipse.phpeditor.add.block.comment"
1075             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1076       </keyBinding>
1077       <keyBinding
1078             platform="carbon"
1079             string="Ctrl+Shift+/"
1080             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1081             command=""
1082             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1083       </keyBinding>
1084       <keyBinding
1085             platform="carbon"
1086             string="Command+Shift+/"
1087             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1088             command="net.sourceforge.phpeclipse.phpeditor.add.block.comment"
1089             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1090       </keyBinding>
1091       <command
1092             name="%ActionDefinition.removeBlockComment.name"
1093             description="%ActionDefinition.removeBlockComment.description"
1094             category="net.sourceforge.phpeclipse.ui.category.source"
1095             id="net.sourceforge.phpeclipse.phpeditor.remove.block.comment">
1096       </command>
1097       <keyBinding
1098             string="Ctrl+Shift+\"
1099             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1100             command="net.sourceforge.phpeclipse.phpeditor.remove.block.comment"
1101             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1102       </keyBinding>
1103       <keyBinding
1104             platform="carbon"
1105             string="Ctrl+Shift+\"
1106             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1107             command=""
1108             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1109       </keyBinding>
1110       <keyBinding
1111             platform="carbon"
1112             string="Command+Shift+\"
1113             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1114             command="net.sourceforge.phpeclipse.phpeditor.remove.block.comment"
1115             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1116       </keyBinding>
1117       <command
1118             name="%ActionDefinition.indent.name"
1119             description="%ActionDefinition.indent.description"
1120             category="net.sourceforge.phpeclipse.ui.category.source"
1121             id="net.sourceforge.phpeclipse.phpeditor.indent">
1122       </command>
1123       <keyBinding
1124             string="Ctrl+I"
1125             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1126             command="net.sourceforge.phpeclipse.phpeditor.indent"
1127             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1128       </keyBinding>
1129        
1130       <command
1131             name="%ActionDefinition.format.name"
1132             description="%ActionDefinition.format.description"
1133             category="net.sourceforge.phpeclipse.ui.category.source"
1134             id="net.sourceforge.phpeclipse.phpeditor.format">
1135       </command>
1136       <keyBinding
1137             string="Ctrl+Shift+F"
1138             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1139             command="net.sourceforge.phpeclipse.phpeditor.format"
1140             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1141       </keyBinding>
1142       <keyBinding
1143             platform="carbon"
1144             string="Ctrl+Shift+F"
1145             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1146             command=""
1147             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1148       </keyBinding>
1149       <keyBinding
1150             platform="carbon"
1151             string="Command+Shift+F"
1152             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1153             command="net.sourceforge.phpeclipse.phpeditor.format"
1154             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1155       </keyBinding>
1156       <keyBinding
1157             platform="gtk"
1158             string="Ctrl+Shift+F"
1159             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1160             command=""
1161             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1162       </keyBinding>
1163       <keyBinding
1164             platform="gtk"
1165             string="Esc Ctrl+F"
1166             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1167             command="net.sourceforge.phpeclipse.phpeditor.format"
1168             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1169       </keyBinding>
1170       
1171       <!-- navigate -->
1172       <command
1173             name="%ActionDefinition.gotoNextMember.name"
1174             description="%ActionDefinition.gotoNextMember.description"
1175             category="org.eclipse.ui.category.navigate"
1176             id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.next.member">
1177       </command>
1178       <keyBinding
1179             string="Ctrl+Shift+ARROW_DOWN"
1180             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1181             command="net.sourceforge.phpeclipse.ui.edit.text.php.goto.next.member"
1182             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1183       </keyBinding>
1184       <keyBinding
1185             platform="carbon"
1186             string="Ctrl+Shift+ARROW_DOWN"
1187             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1188             command=""
1189             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1190       </keyBinding>
1191       <keyBinding
1192             platform="carbon"
1193             string="Command+Shift+ARROW_DOWN"
1194             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1195             command="net.sourceforge.phpeclipse.ui.edit.text.php.goto.next.member"
1196             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1197       </keyBinding>
1198       <command
1199             name="%ActionDefinition.gotoPreviousMember.name"
1200             description="%ActionDefinition.gotoPreviousMember.description"
1201             category="org.eclipse.ui.category.navigate"
1202             id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.previous.member">
1203       </command>
1204       <keyBinding
1205             string="Ctrl+Shift+ARROW_UP"
1206             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1207             command="net.sourceforge.phpeclipse.ui.edit.text.php.goto.previous.member"
1208             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1209       </keyBinding>
1210       <keyBinding
1211             platform="carbon"
1212             string="Ctrl+Shift+ARROW_UP"
1213             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1214             command=""
1215             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1216       </keyBinding>
1217       <keyBinding
1218             platform="carbon"
1219             string="Command+Shift+ARROW_UP"
1220             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1221             command="net.sourceforge.phpeclipse.ui.edit.text.php.goto.previous.member"
1222             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1223       </keyBinding>
1224       <keyBinding
1225             string=""
1226             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1227             command="net.sourceforge.phpdt.ui.edit.text.java.show.next.problem"
1228             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1229       </keyBinding>
1230       <command
1231             name="%ActionDefinition.gotoMatchingBracket.name"
1232             description="%ActionDefinition.gotoMatchingBracket.description"
1233             category="org.eclipse.ui.category.navigate"
1234             id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
1235       </command>
1236       <keyBinding
1237             string="Ctrl+Shift+P"
1238             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1239             command="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket"
1240             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1241       </keyBinding>
1242       <keyBinding
1243             platform="carbon"
1244             string="Ctrl+Shift+P"
1245             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1246             command=""
1247             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1248       </keyBinding>
1249       <keyBinding
1250             platform="carbon"
1251             string="Command+Shift+P"
1252             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1253             command="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket"
1254             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1255       </keyBinding>
1256       <command
1257             name="%OpenDeclaration" 
1258             description="%OpenDeclaration"
1259             category="net.sourceforge.phpeclipse.ui.category.source"
1260             id="net.sourceforge.phpeclipse.actions.opendeclaration">
1261       </command>
1262       <keyBinding
1263             string="F3"
1264             scope="net.sourceforge.phpdt.ui.phpEditorScope"
1265             command="net.sourceforge.phpeclipse.actions.opendeclaration"
1266             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
1267       </keyBinding> 
1268    </extension>  
1269    <extension
1270          id="net.sourceforge.phpeclipse.JavaDocumentSetupParticipant"
1271          name="%javaDocumentSetupParticipant"
1272          point="org.eclipse.core.filebuffers.documentSetup"> 
1273       <participant
1274             extensions="php,php3,php4,php5,module,inc,phtml,html,htm,xhtml"
1275             class="net.sourceforge.phpeclipse.phpeditor.JavaDocumentSetupParticipant">
1276       </participant>
1277    <!--   <participant
1278             extensions="html,xml"
1279             class="net.sourceforge.phpeclipse.phpeditor.HTMLDocumentSetupParticipant">
1280       </participant>
1281       <participant
1282             extensions="tpl"
1283             class="net.sourceforge.phpeclipse.phpeditor.SmartyDocumentSetupParticipant">
1284       </participant> -->
1285    </extension>
1286    <extension
1287          id="net.sourceforge.phpeclipse.JavaDocumentFactory"
1288          name="%javaDocumentFactory"
1289          point="org.eclipse.core.filebuffers.documentCreation">
1290       <factory
1291             extensions="php,php3,php4,php5,phtml,inc,module,htm,html,xhtml"
1292             class="net.sourceforge.phpeclipse.phpeditor.JavaDocumentFactory">
1293       </factory>
1294    </extension>
1295    
1296    <extension
1297          point="org.eclipse.ui.preferencePages">
1298    <!--     <page
1299             name="PHP"
1300             category="net.sourceforge.phpeclipse.ui.preferencePage"
1301             class="net.sourceforge.phpeclipse.PHPEclipseBasePreferencePage"
1302             id="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage">
1303       </page> -->
1304       <page name="PHP"
1305             category="net.sourceforge.phpeclipse.ui.preferencePage"
1306             class="net.sourceforge.phpdt.internal.ui.preferences.JavaEditorPreferencePage"
1307             id="net.sourceforge.phpeclipse.preferences.PHPPreferencePage">
1308       </page>
1309       <page
1310             name="Code Templates"
1311             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1312             class="net.sourceforge.phpdt.internal.ui.preferences.CodeTemplatePreferencePage"
1313             id="net.sourceforge.phpeclipse.preference.CodeTemplatePreferencePage">
1314       </page>
1315   <!--    <page
1316             name="Members Sort Order"
1317             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1318             class="net.sourceforge.phpdt.internal.ui.preferences.MembersOrderPreferencePage"
1319             id="net.sourceforge.phpeclipse.preference.MembersOrderPreferencePage">
1320       </page> 
1321       <page
1322             name="PHP External Parser Command"
1323             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1324             class="net.sourceforge.phpeclipse.preferences.PHPEclipseParserPreferencePage"
1325             id="net.sourceforge.phpeclipse.preferences.PHPEclipseParserPreferencePage">
1326       </page>
1327      <page
1328             name="Editor2"
1329             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1330             class="net.sourceforge.phpeclipse.PHPSyntaxEditorPreferencePage"
1331             id="net.sourceforge.phpeclipse.preference.PHPSyntaxEditorPreferencePage">
1332       </page> 
1333       <page
1334             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1335             name="PHP Project Defaults"
1336             class="net.sourceforge.phpeclipse.preferences.PHPMiscProjectPreferences"
1337             id="net.sourceforge.phpeclipse.preferences.PHPMiscProjectPreferences">
1338       </page> 
1339       <page
1340             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1341             name="PHP Browser Preview"
1342             class="net.sourceforge.phpeclipse.preferences.PHPPreviewProjectPreferences"
1343             id="net.sourceforge.phpeclipse.preferences.PHPPreviewProjectPreferences">
1344       </page> -->
1345       <page
1346             name="%compilerOptionsPrefName" 
1347             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1348             class="net.sourceforge.phpdt.internal.ui.preferences.CompilerPreferencePage"
1349             id="net.sourceforge.phpeclipse.preference.CompilerPreferencePage">
1350       </page>
1351       <page
1352             name="%todoTaskPrefName" 
1353             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1354             class="net.sourceforge.phpdt.internal.ui.preferences.TodoTaskPreferencePage"
1355             id="net.sourceforge.phpeclipse.preference.TodoTaskPreferencePage">
1356       </page>
1357       <page
1358             name="Formatter"
1359             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1360             class="net.sourceforge.phpdt.internal.ui.preferences.CodeFormatterPreferencePage"
1361             id="net.sourceforge.phpeclipse.preference.CodeFormatterPreferencePage">
1362       </page>
1363       <page name="%codeAssistPageName"
1364             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1365             class="net.sourceforge.phpdt.internal.ui.preferences.CodeAssistPreferencePage"
1366             id="net.sourceforge.phpdt.internal.ui.preferences.CodeAssistPreferencePage">
1367       </page>
1368             <page
1369             name="%templatePageName"
1370             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1371             class="net.sourceforge.phpdt.internal.ui.preferences.JavaTemplatePreferencePage"
1372             id="net.sourceforge.phpeclipse.preference.TemplatePreferencePage">
1373       </page>
1374   <!--      <page
1375             name="%templatePageName"
1376             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1377             class="net.sourceforge.phpdt.internal.ui.preferences.TemplatePreferencePage"
1378             id="net.sourceforge.phpeclipse.preference.TemplatePreferencePage">
1379       </page>
1380       <page
1381             name="Language Settings"
1382             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1383             class="net.sourceforge.phpeclipse.PHPLanguagePreferencePage"
1384             id="net.sourceforge.phpeclipse.preference.PHPLanguagePreferencePage">
1385       </page> -->
1386       <page 
1387             name="%spellingPrefName"
1388             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1389             class="net.sourceforge.phpdt.internal.ui.preferences.SpellingPreferencePage"
1390             id = "net.sourceforge.phpdt.internal.ui.preferences.SpellingPreferencePage">
1391       </page> 
1392    </extension>
1393  <!--  <extension
1394          point="org.eclipse.ui.editors.documentProviders">
1395       <provider
1396             extensions="php,php3,php4,php5,phtml,inc,module,html,htm,xhtml"
1397             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1398             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1399       </provider>
1400    </extension>
1401    <extension
1402          point="org.eclipse.ui.editors.documentProviders">
1403       <provider
1404             extensions="%php3FileExtension"
1405             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1406             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1407       </provider>
1408    </extension>
1409    <extension
1410          point="org.eclipse.ui.editors.documentProviders">
1411       <provider
1412             extensions="%php4FileExtension"
1413             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1414             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1415       </provider>
1416    </extension>
1417    <extension
1418          point="org.eclipse.ui.editors.documentProviders">
1419       <provider
1420             extensions="%php5FileExtension"
1421             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1422             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1423       </provider>
1424    </extension>
1425    <extension
1426          point="org.eclipse.ui.editors.documentProviders">
1427       <provider
1428             extensions="%moduleFileExtension"
1429             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1430             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1431       </provider>
1432    </extension>
1433    <extension
1434          point="org.eclipse.ui.editors.documentProviders">
1435       <provider
1436             extensions="%incFileExtension"
1437             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1438             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1439       </provider>
1440    </extension>
1441    <extension
1442          point="org.eclipse.ui.editors.documentProviders">
1443       <provider
1444             extensions="%phtmlFileExtension"
1445             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1446             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1447       </provider>
1448    </extension>
1449   <extension
1450          point="org.eclipse.ui.editors.documentProviders">
1451       <provider
1452             extensions="%htmlFileExtension"
1453             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1454             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1455       </provider>
1456    </extension>
1457    <extension
1458          point="org.eclipse.ui.editors.documentProviders">
1459       <provider
1460             extensions="%htmFileExtension"
1461             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1462             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1463       </provider>
1464    </extension>
1465    <extension
1466          point="org.eclipse.ui.editors.documentProviders">
1467       <provider
1468             extensions="xhtml"
1469             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1470             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1471       </provider>
1472    </extension> -->
1473  <!--  <extension
1474          point="org.eclipse.ui.editors.documentProviders">
1475       <provider
1476             extensions="%tplFileExtension"
1477             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1478             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1479       </provider>
1480    </extension> 
1481    <extension
1482          point="org.eclipse.ui.views">
1483       <category
1484             name="%viewCategoryName"
1485             id="net.sourceforge.phpeclipse.views.category">
1486       </category>
1487       <view
1488             name="%phpConsoleView"
1489             icon="icons/obj16/php.gif"
1490             category="net.sourceforge.phpeclipse.views.category"
1491             class="net.sourceforge.phpeclipse.views.PHPConsole"
1492             id="net.sourceforge.phpeclipse.views.phpconsoleview">
1493       </view>  
1494    </extension> -->
1495
1496 <!-- external tools -->
1497
1498 <!-- extension point definitions -->
1499         <extension-point id="configurationDuplicationMaps" name="%ExtPoint.configurationDuplicationMaps"/>
1500         <extension-point id="argumentVariables" name="%ExtPoint.argumentVariables"/>
1501         <extension-point id="directoryVariables" name="%ExtPoint.directoryVariables"/>
1502         <extension-point id="fileVariables" name="%ExtPoint.fileVariables"/>
1503         <extension-point id="refreshVariables" name="%ExtPoint.refreshVariables"/>
1504         
1505 <!-- Extensions -->
1506         <extension point="org.eclipse.ui.actionSets">
1507                 <actionSet
1508                         id="net.sourceforge.phpdt.externaltools.ExternalToolsSet"
1509                         label="%ActionSet.externalTools"
1510                         visible="true">
1511                         <menu id="org.eclipse.ui.run" 
1512                                 label="%Menu.run" 
1513                                 path="additions"> 
1514                                 <separator name="ExternalToolsGroup"/> 
1515                         </menu> 
1516         <!--            <action
1517                                 id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateMenu"
1518                                 label="%Action.externalTools"
1519                                 menubarPath="org.eclipse.ui.run/ExternalToolsGroup"
1520                                 disabledIcon="icons/externaltools/full/dtool16/external_tools.gif"
1521                                 icon="icons/externaltools/full/etool16/external_tools.gif"
1522                                 hoverIcon="icons/externaltools/full/ctool16/external_tools.gif"
1523                                 pulldown="true"
1524                                 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
1525                         </action> 
1526                         <action
1527                                 id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateToolbar"
1528                                 label="%Action.externalTools"
1529                                 toolbarPath="Normal/additions"
1530                                 disabledIcon="icons/externaltools/full/dtool16/external_tools.gif"
1531                                 icon="icons/externaltools/full/etool16/external_tools.gif"
1532                                 hoverIcon="icons/externaltools/full/ctool16/external_tools.gif"
1533                                 tooltip="%Action.externalToolsTip"
1534                                 pulldown="true"
1535                                 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
1536                         </action> -->
1537                 </actionSet>
1538         </extension>
1539
1540     <!-- Launch Configuration Extensions -->
1541     <extension point="org.eclipse.debug.core.launchConfigurationTypes">
1542         <launchConfigurationType
1543                 id = "net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
1544                 name = "%Program.externalTools"
1545                 delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
1546                 modes = "run"
1547                 category = "org.eclipse.ui.externaltools">
1548         </launchConfigurationType>
1549         <launchConfigurationType
1550                 id = "net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
1551                 name = "%Program.externalTools"
1552                 delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
1553                 modes = "run"
1554                 category = "org.eclipse.ui.externaltools.builder">
1555         </launchConfigurationType>
1556     </extension>
1557     
1558     <extension point = "net.sourceforge.phpeclipse.configurationDuplicationMaps">
1559         <configurationMap
1560                 sourceType="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
1561                 builderType="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType">
1562         </configurationMap>
1563     </extension>
1564     
1565     <extension point = "org.eclipse.debug.ui.launchConfigurationTabGroups">
1566                 <launchConfigurationTabGroup
1567                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program"
1568                         type ="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
1569                         class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramTabGroup">
1570                 </launchConfigurationTabGroup>
1571                 <launchConfigurationTabGroup
1572                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program.builder"
1573                         type ="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
1574                         class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramBuilderTabGroup">
1575                 </launchConfigurationTabGroup>
1576         </extension>
1577         
1578         <extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
1579                 <launchConfigurationTypeImage
1580                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program"
1581                         configTypeID="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
1582                         icon="icons/externaltools/full/obj16/external_tools.gif">
1583                 </launchConfigurationTypeImage> 
1584                 <launchConfigurationTypeImage
1585                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program.builder"
1586                         configTypeID="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
1587                         icon="icons/externaltools/full/obj16/external_tools.gif">
1588                 </launchConfigurationTypeImage> 
1589         </extension>
1590
1591         <!-- Variable Extensions -->
1592         <extension point="net.sourceforge.phpeclipse.fileVariables">
1593                 <variable
1594                         tag="workspace_loc"
1595                         description="Expands to the workspace root's absolute file system path."
1596                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
1597                 </variable>
1598                 <variable
1599                         tag="resource_loc"
1600                         description="Expands to the resource's absolute file system path."
1601                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
1602                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1603                 </variable>
1604         </extension>
1605         
1606         <extension point="net.sourceforge.phpeclipse.argumentVariables">
1607                 <variable
1608                         tag="workspace_loc"
1609                         description="Expands to the workspace root's absolute file system path."
1610                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
1611                 </variable>
1612                 <variable
1613                         tag="file_loc"
1614                         description="Expands to the full file name"
1615                         expanderClass="net.sourceforge.phpdt.externaltools.variable.FileExpander">
1616                 </variable>
1617                 <variable
1618                         tag="file_url"
1619                         description="Expands to an URL with the localhost preference settings"
1620                         expanderClass="net.sourceforge.phpdt.externaltools.variable.UrlExpander">
1621                 </variable>
1622                 <variable
1623                         tag="localhost_url"
1624                         description="Expands to the localhost preference settings."
1625                         expanderClass="net.sourceforge.phpdt.externaltools.variable.LocalhostExpander">
1626                 </variable>
1627                 <variable
1628                         tag="project_loc"
1629                         description="Expands to the selected resource's project absolute file system path."
1630                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
1631                 </variable>
1632                 <variable
1633                         tag="project_path"
1634                         description="Expands to the full path, relative to the workspace root, of the selected project"
1635                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectExpander">
1636                 </variable>
1637                 <variable
1638                         tag="project_name"
1639                         description="Expands to the name of the selected project"
1640                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectNameExpander">
1641                 </variable>
1642                 <variable
1643                         tag="resource_loc"
1644                         description="Expands to the resource's absolute file system path."
1645                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
1646                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1647                 </variable>
1648                 <variable
1649                         tag="container_loc"
1650                         description="Expands to the selected resource's containing folder absolute file system path."
1651                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
1652                 </variable>
1653                 <variable
1654                         tag="build_type"
1655                         description="Expands to the type of build"
1656                         expanderClass="net.sourceforge.phpdt.externaltools.variable.BuildTypeExpander">
1657                 </variable>
1658         </extension>
1659
1660         <extension point="net.sourceforge.phpeclipse.directoryVariables">
1661                 <variable
1662                         tag="workspace_loc"
1663                         description="Expands to the workspace root's absolute file system path."
1664                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
1665                 </variable>
1666                 <variable
1667                         tag="project_loc"
1668                         description="Expands to the selected resource's project absolute file system path."
1669                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
1670                 </variable>
1671                 <variable
1672                         tag="container_loc"
1673                         description="Expands to the selected resource's containing folder absolute file system path."
1674                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
1675                 </variable>
1676                 <variable
1677                         tag="resource_loc"
1678                         description="Expands to a resource's absolute file system path."
1679                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFolderResourceComponent"
1680                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1681                 </variable>
1682         </extension>
1683
1684         <extension point="net.sourceforge.phpeclipse.refreshVariables">
1685                 <variable
1686                         tag="workspace"
1687                         description="Expands to the workspace root."
1688                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
1689                 </variable>
1690                 <variable
1691                         tag="project"
1692                         description="Expands to the project of the selected resource."
1693                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
1694                 </variable>
1695                 <variable
1696                         tag="container"
1697                         description="Expands to the folder containing the selected resource."
1698                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
1699                 </variable>
1700                 <variable
1701                         tag="resource"
1702                         description="Expands to a resource."
1703                         componentClass="net.sourceforge.phpdt.externaltools.variable.ResourceComponent"
1704                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1705                 </variable>
1706                 <variable
1707                         tag="working_set"
1708                         description="Expands to the group of resources in a working set."
1709                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkingSetExpander">
1710                 </variable>
1711         </extension>
1712         
1713                 <extension
1714                 point= "net.sourceforge.phpeclipse.foldingStructureProviders">
1715                 <provider
1716                         id="net.sourceforge.phpdt.ui.text.defaultFoldingProvider"
1717                         name= "%defaultFoldingStructureProviderName"
1718                         class="net.sourceforge.phpdt.internal.ui.text.folding.DefaultJavaFoldingStructureProvider"
1719                         preferencesClass="net.sourceforge.phpdt.internal.ui.text.folding.DefaultJavaFoldingPreferenceBlock">
1720                 </provider>
1721         </extension>
1722         
1723 <!-- =========================================================================== -->
1724 <!-- Filter Support                                                              -->
1725 <!-- =========================================================================== -->
1726    <extension
1727          point="net.sourceforge.phpeclipse.phpElementFilters">
1728 <!-- Outline Page -->
1729       <filter
1730             targetId="net.sourceforge.phpeclipse.JavaOutlinePage"
1731             name="%HideImportDeclaration.label"
1732             enabled="false"
1733             description="%HideImportDeclaration.description"
1734             class="net.sourceforge.phpdt.internal.ui.filters.ImportDeclarationFilter"
1735             id="net.sourceforge.phpeclipse.JavaOutlinePage.ImportDeclarationFilter">
1736       </filter>
1737    </extension>
1738    
1739 <!-- =========================================================================== -->
1740 <!-- Templates                                                                   -->
1741 <!-- =========================================================================== -->
1742    <extension
1743          point="org.eclipse.ui.editors.templates">
1744       <contextType
1745             name="%templates.php.contextType.name"
1746             class="net.sourceforge.phpdt.internal.corext.template.php.JavaContextType"
1747             id="java">
1748       </contextType>
1749       <contextType
1750             name="%templates.phpdoc.contextType.name"
1751             class="net.sourceforge.phpdt.internal.corext.template.php.JavaDocContextType"
1752             id="javadoc">
1753       </contextType>
1754       <contextType
1755             name="%templates.html.contextType.name"
1756             class="net.sourceforge.phpdt.internal.corext.template.php.HTMLContextType"
1757             id="javadoc">
1758       </contextType>
1759       <include
1760                 file="templates/default-templates.xml"
1761                 translations="templates/default-templates.properties">
1762       </include>
1763       <include
1764                 file="templates/default-codetemplates.xml"
1765                 translations="templates/default-templates.properties">
1766       </include>
1767    </extension>
1768 </plugin>