c7471529cb462741fccba46abcaf788c5c1fde51
[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"/>
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          </menu>
499          <action
500                definitionId="net.sourceforge.phpeclipse.phpeditor.format"
501                label="%FormatAction.label"
502                retarget="true"
503                menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/editGroup"
504                id="net.sourceforge.phpeclipse.phpeditor.Format">
505          </action>
506          <action
507                label="%ShiftLeftAction.label"
508                retarget="true"
509                menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/editGroup"
510                id="net.sourceforge.phpeclipse.phpeditor.ShiftLeft">
511          </action>
512          <action
513                label="%ShiftRightAction.label"
514                retarget="true"
515                menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/editGroup"
516                id="net.sourceforge.phpeclipse.phpeditor.ShiftRight">
517          </action>
518          <action
519                definitionId="net.sourceforge.phpeclipse.phpeditor.remove.block.comment"
520                label="%RemoveBlockCommentAction.label"
521                retarget="true"
522                menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/editGroup"
523                id="net.sourceforge.phpeclipse.ui.actions.RemoveBlockComment">
524          </action>
525          <action
526                definitionId="net.sourceforge.phpeclipse.phpeditor.add.block.comment"
527                label="%AddBlockCommentAction.label"
528                retarget="true"
529                menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/editGroup"
530                id="net.sourceforge.phpeclipse.ui.actions.AddBlockComment">
531          </action>
532          <action
533                definitionId="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
534                label="%ToggleCommentAction.label"
535                retarget="true"
536                menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/editGroup"
537                id="net.sourceforge.phpeclipse.ui.actions.ToggleComment">
538          </action>
539          <action
540                definitionId="net.sourceforge.phpeclipse.phpeditor.uncomment"
541                label="%UncommentAction.label"
542                retarget="true"
543                menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/editGroup"
544                id="net.sourceforge.phpeclipse.phpeditor.Uncomment">
545          </action>
546          <action
547                definitionId="net.sourceforge.phpeclipse.phpeditor.comment"
548                label="%CommentAction.label"
549                retarget="true"
550                menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/editGroup"
551                id="net.sourceforge.phpeclipse.phpeditor.Comment">
552          </action>
553       </actionSet>
554    </extension>
555    <extension
556          point="org.eclipse.ui.actionSetPartAssociations">
557       <actionSetPartAssociation
558             targetID="net.sourceforge.phpeclipse.ui.CodingActionSet">
559          <part id="net.sourceforge.phpeclipse.PHPUnitEditor" />
560       </actionSetPartAssociation>
561    </extension>
562
563 <!-- =========================================================================== -->
564 <!-- PHP Editor Action Definition IDs -->
565 <!-- =========================================================================== -->
566 <!--   <extension
567          point="org.eclipse.ui.actionDefinitions">
568
569       <actionDefinition
570             id="net.sourceforge.phpeclipse.phpeditor.ContentAssistProposal">
571       </actionDefinition>
572
573       <actionDefinition
574             id="net.sourceforge.phpeclipse.phpeditor.Comment">
575       </actionDefinition>
576       <actionDefinition
577             id="net.sourceforge.phpeclipse.phpeditor.Uncomment">
578       </actionDefinition>
579       <actionDefinition
580             id="net.sourceforge.phpeclipse.phpeditor.Format">
581       </actionDefinition>
582       <actionDefinition
583             id="net.sourceforge.phpeclipse.ui.edit.text.php.show.outline">
584       </actionDefinition>
585       <actionDefinition
586             id="net.sourceforge.phpeclipse.ui.navigate.php.open.structure">
587       </actionDefinition>
588       <actionDefinition
589             id="net.sourceforge.phpeclipse.ui.edit.text.php.show.next.problem">
590       </actionDefinition>
591       <actionDefinition
592             id="net.sourceforge.phpeclipse.ui.edit.text.php.show.previous.problem">
593       </actionDefinition>
594    </extension> -->
595 <!--   <extension
596          point="org.eclipse.ui.acceleratorSets">
597       <acceleratorSet
598             scopeId="org.eclipse.ui.textEditorScope"
599             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
600          <accelerator
601                key="Ctrl+/"
602                id="net.sourceforge.phpdt.ui.actions.comment">
603          </accelerator>
604          <accelerator
605                key="Ctrl+\\"
606                id="net.sourceforge.phpdt.ui.actions.uncomment">
607          </accelerator>
608       </acceleratorSet>
609    </extension> -->
610
611    <extension
612          point="org.eclipse.ui.popupMenus">
613       <objectContribution
614             objectClass="org.eclipse.core.resources.IFile"
615             nameFilter="*.php"
616             id="net.sourceforge.phpeclipse.actions.popupShowAction">
617          <action
618                label="Open PHP Browser"
619                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
620                menubarPath="additions"
621                id="net.sourceforge.phpeclipse.actions.showAction">
622          </action>
623       </objectContribution>
624       <objectContribution
625             objectClass="org.eclipse.core.resources.IFile"
626             nameFilter="*.php3"
627             id="net.sourceforge.phpeclipse.actions.popupShowAction">
628          <action
629                label="Open PHP Browser"
630                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
631                menubarPath="additions"
632                id="net.sourceforge.phpeclipse.actions.showAction">
633          </action>
634       </objectContribution>
635       <objectContribution
636             objectClass="org.eclipse.core.resources.IFile"
637             nameFilter="*.php4"
638             id="net.sourceforge.phpeclipse.actions.popupShowAction">
639          <action
640                label="Open PHP Browser"
641                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
642                menubarPath="additions"
643                id="net.sourceforge.phpeclipse.actions.showAction">
644          </action>
645       </objectContribution>
646       <objectContribution
647             objectClass="org.eclipse.core.resources.IFile"
648             nameFilter="*.php5"
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="*.module"
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="*.inc"
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="*.phtml"
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="*.html"
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="*.htm"
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="*.xml"
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
724   <!--    <viewerContribution
725             targetID="#PHPEditorContext"
726             id="net.sourceforge.phpeclipse.actions.popupOpenSQLTable">
727          <action
728                label="Open Quantum SQL Table View"
729                class="net.sourceforge.phpeclipse.actions.PHPOpenSQLTableEditorAction"
730                menubarPath="additions"
731                id="net.sourceforge.phpeclipse.actions.opensqltable">
732          </action>
733       </viewerContribution> -->
734       <viewerContribution
735             targetID="#PHPEditorContext"
736             id="net.sourceforge.phpeclipse.actions.popupHTMLWizard">
737          <action
738                label="Insert HTML (dl,ul,ol,table)"
739                class="net.sourceforge.phpeclipse.wizards.html.InsertHTMLElementAction"
740                menubarPath="additions"
741                id="net.sourceforge.phpeclipse.actions.wizards.html">
742          </action>
743       </viewerContribution>
744       <viewerContribution
745             targetID="#PHPEditorContext"
746             id="net.sourceforge.phpeclipse.actions.popupOpenAllIncludes">
747          <action
748                label="Open Included Files List"
749                class="net.sourceforge.phpeclipse.actions.PHPOpenAllIncludesEditorAction"
750                menubarPath="additions"
751                id="net.sourceforge.phpeclipse.actions.openallincludes">
752          </action>
753       </viewerContribution>
754       <viewerContribution
755             targetID="#PHPEditorContext"
756             id="net.sourceforge.phpeclipse.actions.popupOpenDeclaration">
757          <action
758                label="%OpenDeclaration"
759                class="net.sourceforge.phpeclipse.actions.PHPOpenDeclarationEditorAction"
760                menubarPath="additions"
761                definitionId="net.sourceforge.phpeclipse.actions.opendeclaration"
762                id="net.sourceforge.phpeclipse.actions.PHPOpenDeclarationEditorAction">
763          </action>
764       </viewerContribution>
765  <!--     <viewerContribution
766         targetID="#PHPEditorContext"
767         id="net.sourceforge.phpdt.ltk.renamePHPIdentifier">
768         <action label="Rename Local Variable in Functions/Methods"
769                 class="net.sourceforge.phpdt.ltk.ui.actions.RenameLocalVariable"
770                 menubarPath="additions"
771                 id="net.sourceforge.phpdt.ltk.ui.actions.RenameLocalVariable"/>
772       </viewerContribution>
773       <viewerContribution
774         targetID="#PHPEditorContext"
775         id="net.sourceforge.phpdt.ltk.renamePHPIdentifier">
776         <action label="Rename PHP Identifier"
777                 class="net.sourceforge.phpdt.ltk.ui.actions.RenamePHPIdentifier"
778                 menubarPath="additions"
779                 id="net.sourceforge.phpdt.ltk.ui.actions.RenamePHPIdentifier"/>
780       </viewerContribution>  -->
781       <viewerContribution
782             targetID="#PHPRulerContext"
783             id="net.sourceforge.phpdt.ui.PHPEditorPopupActions">
784          <action
785                label="%AddTask.label"
786                helpContextId="org.eclipse.ui.AddTask_action_context"
787                class="org.eclipse.ui.texteditor.TaskRulerAction"
788                menubarPath="add"
789                id="org.eclipse.ui.texteditor.TaskRulerAction">
790          </action>
791          <action
792                label="%AddBookmark.label"
793                helpContextId="org.eclipse.ui.bookmark_action_context"
794                class="org.eclipse.ui.texteditor.BookmarkRulerAction"
795                menubarPath="add"
796                id="org.eclipse.ui.texteditor.BookmarkRulerAction">
797          </action>
798       </viewerContribution>
799    </extension>
800    <extension
801          point="org.eclipse.ui.actionSets">
802       <actionSet
803             label="%OpenActionSet.label"
804             description="%OpenActionSet.description"
805             visible="false"
806             id="net.sourceforge.phpeclipse.ui.A_OpenActionSet">
807          <action
808                definitionId="net.sourceforge.phpeclipse.ui.edit.text.java.open.editor"
809                label="%OpenDeclaration"
810                tooltip="%OpenDeclaration"
811                retarget="true"
812                menubarPath="navigate/open.ext"
813                allowLabelUpdate="true"
814                id="net.sourceforge.phpeclipse.ui.actions.Open">
815          </action>
816       </actionSet>
817    </extension>
818    <extension
819          point="org.eclipse.ui.editorActions">
820       <editorContribution
821             id="org.eclipse.ui.texteditor.ruler.actions"
822             targetID="net.sourceforge.phpeclipse.PHPUnitEditor">
823                 <action
824                         id="org.eclipse.ui.texteditor.BookmarkRulerAction"
825                         actionID="RulerDoubleClick"
826                         label="%Dummy.label"
827             helpContextId="org.eclipse.ui.bookmark_action_context"
828                         class="org.eclipse.ui.texteditor.BookmarkRulerAction">
829                 </action>
830                 <action
831             label="%Dummy.label"
832             class="net.sourceforge.phpeclipse.phpeditor.JavaSelectRulerAction"
833             actionID="RulerClick"
834             id="net.sourceforge.phpeclipse.phpeditor.JavaSelectRulerAction">
835         </action>
836       </editorContribution>
837       <editorContribution
838             id="net.sourceforge.phpdt.editor.actions"
839             targetID="net.sourceforge.phpeclipse.PHPUnitEditor">
840          <action
841                definitionId="net.sourceforge.phpeclipse.actions.opendeclaration"
842                label="%OpenDeclaration"
843                class="net.sourceforge.phpeclipse.actions.PHPOpenDeclarationEditorAction"
844                id="net.sourceforge.phpeclipse.actions.PHPOpenDeclarationEditorAction">
845          </action>
846       </editorContribution>
847    </extension>
848    <extension
849          point="org.eclipse.ui.popupMenus">
850       <viewerContribution
851             targetID="#CompilationUnitRulerContext"
852             id="net.sourceforge.phpeclipse.phpeditor.QuickFixRulerMenuAction">
853          <action
854                label="%Dummy.label"
855                helpContextId="net.sourceforge.phpeclipse.quick_fix_action"
856                class="net.sourceforge.phpeclipse.phpeditor.JavaSelectRulerAction"
857                menubarPath="additions"
858                id="net.sourceforge.phpeclipse.phpeditor.JavaSelectRulerMenuAction">
859          </action>
860       </viewerContribution>
861    </extension>
862    <extension
863          point="org.eclipse.ui.popupMenus">
864       <viewerContribution
865             targetID="#CompilationUnitRulerContext"
866             id="net.sourceforge.phpdt.ui.CompilationUnitEditorPopupActions">
867          <action
868                label="%AddTask.label"
869                helpContextId="org.eclipse.ui.AddTask_action_context"
870                tooltip="%AddTask.tooltip"
871                class="org.eclipse.ui.texteditor.TaskRulerAction"
872                menubarPath="add"
873                id="org.eclipse.ui.texteditor.TaskRulerAction">
874          </action>
875          <action
876                label="%AddBookmark.label"
877                helpContextId="org.eclipse.ui.bookmark_action_context"
878                tooltip="%AddBookmark.tooltip"
879                class="org.eclipse.ui.texteditor.BookmarkRulerAction"
880                menubarPath="add"
881                id="org.eclipse.ui.texteditor.BookmarkRulerAction">
882          </action>
883          <menu
884                         id="projection"
885                         label="%Folding.label"
886                         path="rest">
887                  </menu>
888          <action
889                label="%Dummy.label"
890                tooltip="%Dummy.label"
891                class="net.sourceforge.phpdt.internal.ui.actions.FoldingExpandAllRulerAction"
892                menubarPath="projection/additions"
893                definitionId="org.eclipse.ui.edit.text.folding.expand_all"
894                id="net.sourceforge.phpdt.ui.folding.expandAll">
895          </action>
896          <action
897                label="%Dummy.label"
898                tooltip="%Dummy.label"
899                class="net.sourceforge.phpdt.internal.ui.actions.FoldingToggleRulerAction"
900                menubarPath="projection/additions"
901                definitionId="org.eclipse.ui.edit.text.folding.toggle"
902                id="net.sourceforge.phpdt.ui.folding.toggle">
903          </action>
904       </viewerContribution>
905    </extension>
906  <!-- =========================================================================== -->
907 <!-- PHPDT/UI command definitions                                                   -->
908 <!-- =========================================================================== -->
909    <extension point="org.eclipse.ui.contexts">
910       <context name="%context.editingPHPSource.name"
911        description="%context.editingPHPSource.description"
912        parentId="org.eclipse.ui.textEditorScope"
913        id="net.sourceforge.phpdt.ui.phpEditorScope" />
914    </extension>
915    <extension
916          point="org.eclipse.ui.commands">
917       <category
918             name="%category.source.name"
919             description="%category.source.description"
920             id="net.sourceforge.phpeclipse.ui.category.source">
921       </category>
922
923  <!-- source -->
924       <command
925             name="%ActionDefinition.comment.name"
926             description="%ActionDefinition.comment.description"
927             categoryId="net.sourceforge.phpeclipse.ui.category.source"
928             id="net.sourceforge.phpeclipse.phpeditor.comment">
929       </command>
930       <command
931             name="%ActionDefinition.uncomment.name"
932             description="%ActionDefinition.uncomment.description"
933             categoryId="net.sourceforge.phpeclipse.ui.category.source"
934             id="net.sourceforge.phpeclipse.phpeditor.uncomment">
935       </command>
936       <command
937             name="%ActionDefinition.toggleComment.name"
938             description="%ActionDefinition.toggleComment.description"
939             categoryId="net.sourceforge.phpeclipse.ui.category.source"
940             id="net.sourceforge.phpeclipse.phpeditor.toggle.comment">
941       </command>
942
943       <command
944             name="%ActionDefinition.addBlockComment.name"
945             description="%ActionDefinition.addBlockComment.description"
946             categoryId="net.sourceforge.phpeclipse.ui.category.source"
947             id="net.sourceforge.phpeclipse.phpeditor.add.block.comment">
948       </command>
949       <command
950             name="%ActionDefinition.removeBlockComment.name"
951             description="%ActionDefinition.removeBlockComment.description"
952             categoryId="net.sourceforge.phpeclipse.ui.category.source"
953             id="net.sourceforge.phpeclipse.phpeditor.remove.block.comment">
954       </command>
955       <command
956             name="%ActionDefinition.indent.name"
957             description="%ActionDefinition.indent.description"
958             categoryId="net.sourceforge.phpeclipse.ui.category.source"
959             id="net.sourceforge.phpeclipse.phpeditor.indent">
960       </command>
961       <command
962             name="%ActionDefinition.format.name"
963             description="%ActionDefinition.format.description"
964             categoryId="net.sourceforge.phpeclipse.ui.category.source"
965             id="net.sourceforge.phpeclipse.phpeditor.format">
966       </command>
967
968       <!-- navigate -->
969       <command
970             name="%ActionDefinition.gotoNextMember.name"
971             description="%ActionDefinition.gotoNextMember.description"
972             categoryId="org.eclipse.ui.category.navigate"
973             id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.next.member">
974       </command>
975       <command
976             name="%ActionDefinition.gotoPreviousMember.name"
977             description="%ActionDefinition.gotoPreviousMember.description"
978             categoryId="org.eclipse.ui.category.navigate"
979             id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.previous.member">
980       </command>
981       <command
982             name="%ActionDefinition.gotoMatchingBracket.name"
983             description="%ActionDefinition.gotoMatchingBracket.description"
984             categoryId="org.eclipse.ui.category.navigate"
985             id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
986       </command>
987       <command
988             name="%OpenDeclaration"
989             description="%OpenDeclaration"
990             categoryId="net.sourceforge.phpeclipse.ui.category.source"
991             id="net.sourceforge.phpeclipse.actions.opendeclaration">
992       </command>
993    </extension>
994    <extension
995          id="net.sourceforge.phpeclipse.JavaDocumentSetupParticipant"
996          name="%javaDocumentSetupParticipant"
997          point="org.eclipse.core.filebuffers.documentSetup">
998       <participant
999             contentTypeId="net.sourceforge.phpeclipse.phpSource"
1000             class="net.sourceforge.phpeclipse.phpeditor.JavaDocumentSetupParticipant">
1001       </participant>
1002    <!--   <participant
1003             extensions="html,xml"
1004             class="net.sourceforge.phpeclipse.phpeditor.HTMLDocumentSetupParticipant">
1005       </participant>
1006       <participant
1007             extensions="tpl"
1008             class="net.sourceforge.phpeclipse.phpeditor.SmartyDocumentSetupParticipant">
1009       </participant> -->
1010    </extension>
1011    <extension
1012          id="net.sourceforge.phpeclipse.JavaDocumentFactory"
1013          name="%javaDocumentFactory"
1014          point="org.eclipse.core.filebuffers.documentCreation">
1015       <factory
1016             contentTypeId="net.sourceforge.phpeclipse.phpSource"
1017             class="net.sourceforge.phpeclipse.phpeditor.JavaDocumentFactory">
1018       </factory>
1019    </extension>
1020
1021    <extension
1022          point="org.eclipse.ui.preferencePages">
1023    <!--     <page
1024             name="PHP"
1025             category="net.sourceforge.phpeclipse.ui.preferencePage"
1026             class="net.sourceforge.phpeclipse.PHPEclipseBasePreferencePage"
1027             id="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage">
1028       </page> -->
1029       <page name="PHP"
1030             category="net.sourceforge.phpeclipse.ui.preferencePage"
1031             class="net.sourceforge.phpdt.internal.ui.preferences.JavaEditorPreferencePage"
1032             id="net.sourceforge.phpeclipse.preferences.PHPPreferencePage">
1033       </page>
1034       <page
1035             name="Code Templates"
1036             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1037             class="net.sourceforge.phpdt.internal.ui.preferences.CodeTemplatePreferencePage"
1038             id="net.sourceforge.phpeclipse.preference.CodeTemplatePreferencePage">
1039       </page>
1040   <!--    <page
1041             name="Members Sort Order"
1042             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1043             class="net.sourceforge.phpdt.internal.ui.preferences.MembersOrderPreferencePage"
1044             id="net.sourceforge.phpeclipse.preference.MembersOrderPreferencePage">
1045       </page>
1046       <page
1047             name="PHP External Parser Command"
1048             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1049             class="net.sourceforge.phpeclipse.preferences.PHPEclipseParserPreferencePage"
1050             id="net.sourceforge.phpeclipse.preferences.PHPEclipseParserPreferencePage">
1051       </page>
1052      <page
1053             name="Editor2"
1054             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1055             class="net.sourceforge.phpeclipse.PHPSyntaxEditorPreferencePage"
1056             id="net.sourceforge.phpeclipse.preference.PHPSyntaxEditorPreferencePage">
1057       </page>
1058       <page
1059             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1060             name="PHP Project Defaults"
1061             class="net.sourceforge.phpeclipse.preferences.PHPMiscProjectPreferences"
1062             id="net.sourceforge.phpeclipse.preferences.PHPMiscProjectPreferences">
1063       </page>
1064       <page
1065             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1066             name="PHP Browser Preview"
1067             class="net.sourceforge.phpeclipse.preferences.PHPPreviewProjectPreferences"
1068             id="net.sourceforge.phpeclipse.preferences.PHPPreviewProjectPreferences">
1069       </page> -->
1070       <page
1071             name="%compilerOptionsPrefName"
1072             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1073             class="net.sourceforge.phpdt.internal.ui.preferences.CompilerPreferencePage"
1074             id="net.sourceforge.phpeclipse.preference.CompilerPreferencePage">
1075       </page>
1076       <page
1077             name="%todoTaskPrefName"
1078             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1079             class="net.sourceforge.phpdt.internal.ui.preferences.TodoTaskPreferencePage"
1080             id="net.sourceforge.phpeclipse.preference.TodoTaskPreferencePage">
1081       </page>
1082       <page
1083             name="Formatter"
1084             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1085             class="net.sourceforge.phpdt.internal.ui.preferences.CodeFormatterPreferencePage"
1086             id="net.sourceforge.phpeclipse.preference.CodeFormatterPreferencePage">
1087       </page>
1088       <page name="%codeAssistPageName"
1089             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1090             class="net.sourceforge.phpdt.internal.ui.preferences.CodeAssistPreferencePage"
1091             id="net.sourceforge.phpdt.internal.ui.preferences.CodeAssistPreferencePage">
1092       </page>
1093             <page
1094             name="%templatePageName"
1095             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1096             class="net.sourceforge.phpdt.internal.ui.preferences.JavaTemplatePreferencePage"
1097             id="net.sourceforge.phpeclipse.preference.TemplatePreferencePage">
1098       </page>
1099   <!--      <page
1100             name="%templatePageName"
1101             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1102             class="net.sourceforge.phpdt.internal.ui.preferences.TemplatePreferencePage"
1103             id="net.sourceforge.phpeclipse.preference.TemplatePreferencePage">
1104       </page>
1105       <page
1106             name="Language Settings"
1107             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1108             class="net.sourceforge.phpeclipse.PHPLanguagePreferencePage"
1109             id="net.sourceforge.phpeclipse.preference.PHPLanguagePreferencePage">
1110       </page> -->
1111       <page
1112             name="%spellingPrefName"
1113             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1114             class="net.sourceforge.phpdt.internal.ui.preferences.SpellingPreferencePage"
1115             id = "net.sourceforge.phpdt.internal.ui.preferences.SpellingPreferencePage">
1116       </page>
1117       <page
1118             name="%editorMarkOccurrencesPage"
1119             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
1120             class="net.sourceforge.phpdt.internal.ui.preferences.MarkOccurrencesPreferencePage"
1121             id="net.sourceforge.phpdt.internal.ui.preferences.MarkOccurrencesPreferencePage">
1122   <!--       <keywordReference id="org.eclipse.jdt.ui.markoccurrences"/> -->
1123       </page>
1124    </extension>
1125  <!--  <extension
1126          point="org.eclipse.ui.editors.documentProviders">
1127       <provider
1128             extensions="php,php3,php4,php5,phtml,inc,module"
1129             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1130             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1131       </provider>
1132    </extension>
1133    <extension
1134          point="org.eclipse.ui.editors.documentProviders">
1135       <provider
1136             extensions="%php3FileExtension"
1137             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1138             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1139       </provider>
1140    </extension>
1141    <extension
1142          point="org.eclipse.ui.editors.documentProviders">
1143       <provider
1144             extensions="%php4FileExtension"
1145             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1146             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1147       </provider>
1148    </extension>
1149    <extension
1150          point="org.eclipse.ui.editors.documentProviders">
1151       <provider
1152             extensions="%php5FileExtension"
1153             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1154             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1155       </provider>
1156    </extension>
1157    <extension
1158          point="org.eclipse.ui.editors.documentProviders">
1159       <provider
1160             extensions="%moduleFileExtension"
1161             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1162             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1163       </provider>
1164    </extension>
1165    <extension
1166          point="org.eclipse.ui.editors.documentProviders">
1167       <provider
1168             extensions="%incFileExtension"
1169             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1170             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1171       </provider>
1172    </extension>
1173    <extension
1174          point="org.eclipse.ui.editors.documentProviders">
1175       <provider
1176             extensions="%phtmlFileExtension"
1177             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1178             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1179       </provider>
1180    </extension>
1181   <extension
1182          point="org.eclipse.ui.editors.documentProviders">
1183       <provider
1184             extensions="%htmlFileExtension"
1185             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1186             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1187       </provider>
1188    </extension>
1189    <extension
1190          point="org.eclipse.ui.editors.documentProviders">
1191       <provider
1192             extensions="%htmFileExtension"
1193             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1194             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1195       </provider>
1196    </extension>
1197    <extension
1198          point="org.eclipse.ui.editors.documentProviders">
1199       <provider
1200             extensions="xhtml"
1201             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1202             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1203       </provider>
1204    </extension> -->
1205  <!--  <extension
1206          point="org.eclipse.ui.editors.documentProviders">
1207       <provider
1208             extensions="%tplFileExtension"
1209             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
1210             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
1211       </provider>
1212    </extension>
1213    <extension
1214          point="org.eclipse.ui.views">
1215       <category
1216             name="%viewCategoryName"
1217             id="net.sourceforge.phpeclipse.views.category">
1218       </category>
1219       <view
1220             name="%phpConsoleView"
1221             icon="icons/obj16/php.gif"
1222             category="net.sourceforge.phpeclipse.views.category"
1223             class="net.sourceforge.phpeclipse.views.PHPConsole"
1224             id="net.sourceforge.phpeclipse.views.phpconsoleview">
1225       </view>
1226    </extension> -->
1227
1228 <!-- external tools -->
1229 <!-- extension point definitions -->
1230         <extension-point id="configurationDuplicationMaps" name="%ExtPoint.configurationDuplicationMaps"/>
1231         <extension-point id="argumentVariables" name="%ExtPoint.argumentVariables"/>
1232         <extension-point id="directoryVariables" name="%ExtPoint.directoryVariables"/>
1233         <extension-point id="fileVariables" name="%ExtPoint.fileVariables"/>
1234         <extension-point id="refreshVariables" name="%ExtPoint.refreshVariables"/>
1235
1236 <!-- Extensions -->
1237         <!--<extension point="org.eclipse.ui.actionSets">
1238                 <actionSet
1239                         id="net.sourceforge.phpdt.externaltools.ExternalToolsSet"
1240                         label="%ActionSet.externalTools"
1241                         visible="true">
1242                         <menu id="org.eclipse.ui.run"
1243                                 label="%Menu.run"
1244                                 path="additions">
1245                                 <separator name="ExternalToolsGroup"/>
1246                         </menu>
1247                         <action
1248                                 id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateMenu"
1249                                 label="%Action.externalTools"
1250                                 menubarPath="org.eclipse.ui.run/ExternalToolsGroup"
1251                                 disabledIcon="icons/externaltools/full/dtool16/external_tools.gif"
1252                                 icon="icons/externaltools/full/etool16/external_tools.gif"
1253                                 hoverIcon="icons/externaltools/full/ctool16/external_tools.gif"
1254                                 pulldown="true"
1255                                 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
1256                         </action>
1257                         <action
1258                                 id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateToolbar"
1259                                 label="%Action.externalTools"
1260                                 toolbarPath="Normal/additions"
1261                                 disabledIcon="icons/externaltools/full/dtool16/external_tools.gif"
1262                                 icon="icons/externaltools/full/etool16/external_tools.gif"
1263                                 hoverIcon="icons/externaltools/full/ctool16/external_tools.gif"
1264                                 tooltip="%Action.externalToolsTip"
1265                                 pulldown="true"
1266                                 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
1267                         </action>
1268                 </actionSet>
1269         </extension> -->
1270
1271     <extension
1272                 point= "net.sourceforge.phpeclipse.foldingStructureProviders">
1273                 <provider
1274                         id="net.sourceforge.phpdt.ui.text.defaultFoldingProvider"
1275                         name= "%defaultFoldingStructureProviderName"
1276                         class="net.sourceforge.phpdt.internal.ui.text.folding.DefaultJavaFoldingStructureProvider"
1277                         preferencesClass="net.sourceforge.phpdt.internal.ui.text.folding.DefaultJavaFoldingPreferenceBlock">
1278                 </provider>
1279         </extension>
1280
1281 <!-- =========================================================================== -->
1282 <!-- Filter Support                                                              -->
1283 <!-- =========================================================================== -->
1284    <extension
1285          point="net.sourceforge.phpeclipse.phpElementFilters">
1286 <!-- Outline Page -->
1287       <filter
1288             targetId="net.sourceforge.phpeclipse.JavaOutlinePage"
1289             name="%HideImportDeclaration.label"
1290             enabled="false"
1291             description="%HideImportDeclaration.description"
1292             class="net.sourceforge.phpdt.internal.ui.filters.ImportDeclarationFilter"
1293             id="net.sourceforge.phpeclipse.JavaOutlinePage.ImportDeclarationFilter">
1294       </filter>
1295    </extension>
1296
1297 <!-- =========================================================================== -->
1298 <!-- Templates                                                                   -->
1299 <!-- =========================================================================== -->
1300    <extension
1301          point="org.eclipse.ui.editors.templates">
1302       <contextType
1303             name="%templates.php.contextType.name"
1304             class="net.sourceforge.phpdt.internal.corext.template.php.JavaContextType"
1305             id="java">
1306       </contextType>
1307       <contextType
1308             name="%templates.phpdoc.contextType.name"
1309             class="net.sourceforge.phpdt.internal.corext.template.php.JavaDocContextType"
1310             id="javadoc">
1311       </contextType>
1312       <contextType
1313             name="%templates.html.contextType.name"
1314             class="net.sourceforge.phpdt.internal.corext.template.php.HTMLContextType"
1315             id="javadoc">
1316       </contextType>
1317       <include
1318                 file="templates/default-templates.xml"
1319                 translations="templates/default-templates.properties">
1320       </include>
1321       <include
1322                 file="templates/default-codetemplates.xml"
1323                 translations="templates/default-templates.properties">
1324       </include>
1325    </extension>
1326    <extension
1327          point="org.eclipse.ui.bindings">
1328       <key
1329             sequence="Ctrl+Shift+C"
1330             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1331             commandId="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1332             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1333       </key>
1334       <key
1335             sequence="Ctrl+/"
1336             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1337             commandId="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1338             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1339       </key>
1340       <key
1341                 sequence="Ctrl+7"
1342             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1343             commandId="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1344             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1345       </key>
1346       <key
1347             platform="carbon"
1348             sequence="Ctrl+Shift+C"
1349             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1350             commandId=""
1351             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1352       </key>
1353       <key
1354             platform="carbon"
1355             sequence="Command+Shift+C"
1356             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1357             commandId="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1358             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1359       </key>
1360       <key
1361             platform="carbon"
1362             sequence="Ctrl+/"
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             platform="carbon"
1369             sequence="Command+/"
1370             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1371             commandId="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1372             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1373       </key>
1374       <key
1375             platform="carbon"
1376             sequence="Ctrl+7"
1377             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1378             commandId=""
1379             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1380       </key>
1381       <key
1382             platform="carbon"
1383             sequence="Command+7"
1384             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1385             commandId="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1386             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1387       </key>
1388       <key
1389             platform="gtk"
1390             sequence="Ctrl+Shift+C"
1391             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1392             commandId=""
1393             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1394       </key>
1395       <key
1396             platform="gtk"
1397             sequence="Esc Ctrl+C"
1398             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1399             commandId="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1400             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1401       </key>
1402       <key
1403             sequence="Ctrl+Shift+/"
1404             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1405             commandId="net.sourceforge.phpeclipse.phpeditor.add.block.comment"
1406             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1407       </key>
1408       <key
1409             platform="carbon"
1410             sequence="Ctrl+Shift+/"
1411             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1412             commandId=""
1413             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1414       </key>
1415       <key
1416             platform="carbon"
1417             sequence="Command+Shift+/"
1418             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1419             commandId="net.sourceforge.phpeclipse.phpeditor.add.block.comment"
1420             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1421       </key>
1422       <key
1423             sequence="Ctrl+Shift+\"
1424             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1425             commandId="net.sourceforge.phpeclipse.phpeditor.remove.block.comment"
1426             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1427       </key>
1428       <key
1429             platform="carbon"
1430             sequence="Ctrl+Shift+\"
1431             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1432             commandId=""
1433             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1434       </key>
1435       <key
1436             platform="carbon"
1437             sequence="Command+Shift+\"
1438             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1439             commandId="net.sourceforge.phpeclipse.phpeditor.remove.block.comment"
1440             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1441       </key>
1442       <key
1443             sequence="Ctrl+I"
1444             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1445             commandId="net.sourceforge.phpeclipse.phpeditor.indent"
1446             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1447       </key>
1448       <key
1449             sequence="Ctrl+Shift+F"
1450             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1451             commandId="net.sourceforge.phpeclipse.phpeditor.format"
1452             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1453       </key>
1454       <key
1455             platform="carbon"
1456             sequence="Ctrl+Shift+F"
1457             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1458             commandId=""
1459             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1460       </key>
1461       <key
1462             platform="carbon"
1463             sequence="Command+Shift+F"
1464             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1465             commandId="net.sourceforge.phpeclipse.phpeditor.format"
1466             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1467       </key>
1468       <key
1469             platform="gtk"
1470             sequence="Ctrl+Shift+F"
1471             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1472             commandId=""
1473             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1474       </key>
1475       <key
1476             platform="gtk"
1477             sequence="Esc Ctrl+F"
1478             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1479             commandId="net.sourceforge.phpeclipse.phpeditor.format"
1480             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1481       </key>
1482       <key
1483             sequence="Ctrl+Shift+ARROW_DOWN"
1484             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1485             commandId="net.sourceforge.phpeclipse.ui.edit.text.php.goto.next.member"
1486             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1487       </key>
1488       <key
1489             platform="carbon"
1490             sequence="Ctrl+Shift+ARROW_DOWN"
1491             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1492             commandId=""
1493             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1494       </key>
1495       <key
1496             platform="carbon"
1497             sequence="Command+Shift+ARROW_DOWN"
1498             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1499             commandId="net.sourceforge.phpeclipse.ui.edit.text.php.goto.next.member"
1500             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1501       </key>
1502       <key
1503             sequence="Ctrl+Shift+ARROW_UP"
1504             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1505             commandId="net.sourceforge.phpeclipse.ui.edit.text.php.goto.previous.member"
1506             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1507       </key>
1508       <key
1509             platform="carbon"
1510             sequence="Ctrl+Shift+ARROW_UP"
1511             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1512             commandId=""
1513             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1514       </key>
1515       <key
1516             platform="carbon"
1517             sequence="Command+Shift+ARROW_UP"
1518             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1519             commandId="net.sourceforge.phpeclipse.ui.edit.text.php.goto.previous.member"
1520             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1521       </key>
1522    <!--   <key
1523             sequence=""
1524             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1525             commandId="net.sourceforge.phpdt.ui.edit.text.java.show.next.problem"
1526             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1527       </key> -->
1528       <key
1529             sequence="Ctrl+Shift+P"
1530             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1531             commandId="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket"
1532             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1533       </key>
1534       <key
1535             platform="carbon"
1536             sequence="Ctrl+Shift+P"
1537             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1538             commandId=""
1539             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1540       </key>
1541       <key
1542             platform="carbon"
1543             sequence="Command+Shift+P"
1544             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1545             commandId="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket"
1546             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1547       </key>
1548       <key
1549             sequence="F3"
1550             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
1551             commandId="net.sourceforge.phpeclipse.actions.opendeclaration"
1552             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
1553       </key>
1554    </extension>
1555 </plugin>