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