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