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