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