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