Two interfaces added for outlineable objects
[phpeclipse.git] / net.sourceforge.phpeclipse / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <plugin
3    id="net.sourceforge.phpeclipse"
4    name="%pluginName"
5    version="1.0.6"
6    provider-name="%providerName"
7    class="net.sourceforge.phpeclipse.PHPeclipsePlugin">
8
9    <runtime>
10       <library name="phpeclipse.jar">
11          <export name="*"/>
12       </library>
13    </runtime>
14    <requires>
15       <import plugin="org.eclipse.core.resources"/>
16       <import plugin="org.eclipse.ui"/>
17       <import plugin="org.eclipse.help"/>
18       <import plugin="org.eclipse.swt"/>
19       <import plugin="org.eclipse.debug.ui"/>
20       <import plugin="org.apache.xerces"/>
21       <import plugin="org.eclipse.update.ui"/>
22    </requires>
23
24
25    <extension
26          id="phpnature"
27          name="%naturePHP.name"
28          point="org.eclipse.core.resources.natures">
29       <runtime>
30          <run
31                class="net.sourceforge.phpeclipse.resourcesview.PHPProject">
32          </run>
33       </runtime>
34    </extension>
35    <extension
36          point="org.eclipse.team.core.fileTypes">
37       <fileTypes
38             type="text"
39             extension="php">
40       </fileTypes>
41       <fileTypes
42             type="text"
43             extension="php3">
44       </fileTypes>
45       <fileTypes
46             type="text"
47             extension="php4">
48       </fileTypes>
49       <fileTypes
50             type="text"
51             extension="inc">
52       </fileTypes>
53       <fileTypes
54             type="text"
55             extension="phtml">
56       </fileTypes>
57       <fileTypes
58             type="text"
59             extension="html">
60       </fileTypes>
61       <fileTypes
62             type="text"
63             extension="htm">
64       </fileTypes>
65       <fileTypes
66             type="text"
67             extension="xml">
68       </fileTypes>
69    </extension>
70    <extension
71          point="org.eclipse.ui.perspectives">
72       <perspective
73             name="%perspectivePHP.name"
74             icon="icons/obj16/php.gif"
75             class="net.sourceforge.phpeclipse.PHPPerspectiveFactory"
76             id="net.sourceforge.phpeclipse.PHPPerspective">
77       </perspective>
78    </extension>
79    <extension
80          point="org.eclipse.ui.newWizards">
81       <category
82             name="%newWizardCategory.name"
83             id="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP">
84       </category>
85 <!--    
86 Temporarily replaced until errors can be ironed out...
87 -->
88       <wizard
89             name="%newWizardPHPProject.name"
90             icon="icons/obj16/php.gif"
91             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
92             class="net.sourceforge.phpeclipse.wizards.NewProjectCreationWizard"
93             project="true"
94             id="net.sourceforge.phpeclipse.wizards.NewWizardProjectCreation">
95          <description>
96             Create a new PHP project.
97          </description>
98       </wizard>
99 <!--
100 <this wizard replaces it as it works - maybe not as pretty but still>
101
102       <wizard
103             name="%newWizardPHPProject.name"
104             icon="icons/obj16/php.gif"
105             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
106             class="net.sourceforge.phpeclipse.wizards.TempnewPHPProject"
107             project="true"
108             id="net.sourceforge.phpeclipse.wizards.NewWizardProjectCreation">
109          <description>
110             Create a new PHP project.
111          </description>
112       </wizard> -->
113       <wizard
114             name="%newWizardPHPFile.name"
115             icon="icons/obj16/phpedit.gif"
116             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
117             class="net.sourceforge.phpeclipse.wizards.PHPFileWizard"
118             id="net.sourceforge.phpeclipse.wizards.PHPFileWizard">
119          <description>
120             Create a basic PHP file.
121          </description>
122       </wizard>
123 <!-- choochter's stuff -->
124       <wizard
125             name="Xaraya Module"
126             icon="icons/obj16/php.gif"
127             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
128             class="com.xaraya.wizard.NewXarayaResourceWizard"
129             project="true"
130             id="net.sourceforge.phpeclipse.wizards.NewXarayaModuleWizard">
131          <description>
132             Create a Xaraya module.
133          </description>
134       </wizard>
135    </extension>
136    <extension
137          point="org.eclipse.ui.projectNatureImages">
138       <image
139             icon="icons/obj16/php.gif"
140             natureId="net.sourceforge.phpeclipse.phpnature"
141             id="net.sourceforge.phpeclipse.ProjectNatureImagePHP">
142       </image>
143    </extension>
144    <extension
145          point="org.eclipse.ui.propertyPages">
146       <page
147             objectClass="org.eclipse.core.resources.IProject"
148             name="%propertyPagePHPProject.name"
149             class="net.sourceforge.phpeclipse.preferences.PHPProjectPropertyPage"
150             id="net.sourceforge.phpeclipse.preferences.PropertyPagePHPProject">
151          <filter
152                name="nature"
153                value="net.sourceforge.phpeclipse.phpnature">
154          </filter>
155       </page>
156       <page
157             objectClass="net.sourceforge.phpeclipse.resourcesview.PHPProject"
158             name="%propertyPagePHPProject.name"
159             class="net.sourceforge.phpeclipse.preferences.PHPProjectPropertyPage"
160             id="net.sourceforge.phpeclipse.preferences.PropertyPagePHPProject">
161          <filter
162                name="nature"
163                value="net.sourceforge.phpeclipse.phpnature">
164          </filter>
165       </page>
166    </extension>
167 <!--   <extension
168          point="org.eclipse.ui.views">
169       <view
170             name="%viewPHPResources.name"
171             icon="icons/obj16/php.gif"
172             class="net.sourceforge.phpeclipse.resourcesview.PHPResourcesView"
173             id="net.sourceforge.phpeclipse.resourcesview.ViewPHPResources">
174       </view>
175    </extension> -->
176    <extension
177          point="org.eclipse.ui.actionSets">
178       <actionSet
179             label="PHP/Apache"
180             visible="true"
181             id="net.sourceforge.phpeclipse.PHPActionSet">
182          <menu
183                label="PHP/Apache"
184                id="net.sourceforge.phpeclipse.PHPMenu">
185             <separator
186                   name="phpeclipse">
187             </separator>
188          </menu>
189          <action
190                label="Restart Apache"
191                icon="icons/obj16/apache_restart.gif"
192                tooltip="Restart Apache"
193                class="net.sourceforge.phpeclipse.actions.PHPRestartApacheAction"
194                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
195                toolbarPath="Normal"
196                id="net.sourceforge.phpeclipse.actions.PHPRestartApacheAction">
197          </action>
198          <action
199                label="Stop Apache"
200                icon="icons/obj16/apache_stop.gif"
201                tooltip="Stop Apache"
202                class="net.sourceforge.phpeclipse.actions.PHPStopApacheAction"
203                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
204                toolbarPath="Normal"
205                id="net.sourceforge.phpeclipse.actions.PHPStopApacheAction">
206          </action>
207          <action
208                label="Start Apache"
209                icon="icons/obj16/apache.gif"
210                tooltip="Start Apache"
211                class="net.sourceforge.phpeclipse.actions.PHPStartApacheAction"
212                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
213                toolbarPath="Normal"
214                id="net.sourceforge.phpeclipse.actions.PHPStartApacheAction">
215          </action>
216          <action
217                label="Start MySQL"
218                icon="icons/obj16/sql.gif"
219                tooltip="Start MySQL"
220                class="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction"
221                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
222                toolbarPath="Normal"
223                id="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction">
224          </action>
225       </actionSet>
226       <actionSet
227             label="%CodingActionSet.label"
228             visible="false"
229             id="net.sourceforge.phpeclipse.ui.CodingActionSet">
230 <!-- =========================================================================== -->
231 <!-- Source Menu                                                                 -->
232 <!-- =========================================================================== -->
233          <menu
234                label="%SourceMenu.label"
235                path="edit"
236                id="net.sourceforge.phpeclipse.ui.source.menu">
237             <separator
238                   name="editGroup">
239             </separator>
240          </menu>
241          <action
242                definitionId="net.sourceforge.phpeclipse.phpeditor.format"
243                label="%FormatAction.label"
244                retarget="true"
245                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
246                id="net.sourceforge.phpeclipse.phpeditor.Format">
247          </action>
248          <action
249                label="%ShiftLeftAction.label"
250                retarget="true"
251                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
252                id="net.sourceforge.phpeclipse.ui.actions.ShiftLeft">
253          </action>
254          <action
255                label="%ShiftRightAction.label"
256                retarget="true"
257                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
258                id="net.sourceforge.phpeclipse.ui.actions.ShiftRight">
259          </action>
260          <action
261                definitionId="net.sourceforge.phpeclipse.phpeditor.uncomment"
262                label="%UncommentAction.label"
263                retarget="true"
264                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
265                id="net.sourceforge.phpeclipse.phpeditor.Uncomment">
266          </action>
267          <action
268                definitionId="net.sourceforge.phpeclipse.phpeditor.comment"
269                label="%CommentAction.label"
270                retarget="true"
271                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
272                id="net.sourceforge.phpeclipse.phpeditor.Comment">
273          </action>
274       </actionSet>
275    </extension>
276    <extension
277          point="org.eclipse.ui.actionSetPartAssociations">
278       <actionSetPartAssociation
279             targetID="net.sourceforge.phpeclipse.ui.CodingActionSet">
280          <part
281                id="net.sourceforge.phpeclipse.PHPUnitEditor">
282          </part>
283       </actionSetPartAssociation>
284    </extension>
285 <!-- =========================================================================== -->
286 <!-- PHP Editor Action Definition IDs -->
287 <!-- =========================================================================== -->
288    <extension
289          point="org.eclipse.ui.actionDefinitions">
290 <!-- edit -->
291       <actionDefinition
292             id="net.sourceforge.phpeclipse.phpeditor.ContentAssistProposal">
293       </actionDefinition>
294 <!-- source -->
295       <actionDefinition
296             id="net.sourceforge.phpeclipse.phpeditor.Comment">
297       </actionDefinition>
298       <actionDefinition
299             id="net.sourceforge.phpeclipse.phpeditor.Uncomment">
300       </actionDefinition>
301       <actionDefinition
302             id="net.sourceforge.phpeclipse.phpeditor.Format">
303       </actionDefinition>
304       <actionDefinition
305             id="net.sourceforge.phpeclipse.ui.edit.text.php.show.outline">
306       </actionDefinition>
307       <actionDefinition
308             id="net.sourceforge.phpeclipse.ui.navigate.php.open.structure">
309       </actionDefinition>
310       <actionDefinition
311             id="net.sourceforge.phpeclipse.ui.edit.text.php.show.next.problem">
312       </actionDefinition>
313       <actionDefinition
314             id="net.sourceforge.phpeclipse.ui.edit.text.php.show.previous.problem">
315       </actionDefinition>
316    </extension>
317 <!--   <extension
318          point="org.eclipse.ui.acceleratorSets">
319       <acceleratorSet
320             scopeId="org.eclipse.ui.textEditorScope"
321             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
322          <accelerator
323                key="Ctrl+/"
324                id="net.sourceforge.phpdt.ui.actions.comment">
325          </accelerator>
326          <accelerator
327                key="Ctrl+\\"
328                id="net.sourceforge.phpdt.ui.actions.uncomment">
329          </accelerator>
330       </acceleratorSet>
331    </extension> -->
332    <extension
333          point="org.eclipse.ui.editors">
334       <editor
335             name="%phpEditorName"
336             default="true"
337             icon="icons/obj16/phpedit.gif"
338             extensions="php"
339             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
340             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
341             id="net.sourceforge.phpeclipse.PHPUnitEditor">
342       </editor>
343       <editor
344             name="%phpEditorName"
345             default="true"
346             icon="icons/obj16/phpedit.gif"
347             extensions="php3"
348             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
349             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
350             id="net.sourceforge.phpeclipse.PHPUnitEditor">
351       </editor>
352       <editor
353             name="%phpEditorName"
354             default="true"
355             icon="icons/obj16/phpedit.gif"
356             extensions="php4"
357             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
358             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
359             id="net.sourceforge.phpeclipse.PHPUnitEditor">
360       </editor>
361       <editor
362             name="%phpEditorName"
363             default="true"
364             icon="icons/obj16/phpedit.gif"
365             extensions="inc"
366             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
367             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
368             id="net.sourceforge.phpeclipse.PHPUnitEditor">
369       </editor>
370       <editor
371             name="%phpEditorName"
372             default="true"
373             icon="icons/obj16/phpedit.gif"
374             extensions="phtml"
375             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
376             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
377             id="net.sourceforge.phpeclipse.PHPUnitEditor">
378       </editor>
379       <editor
380             name="%phpEditorName"
381             default="true"
382             icon="icons/obj16/htmledit.gif"
383             extensions="htm"
384             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
385             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
386             id="net.sourceforge.phpeclipse.PHPUnitEditor">
387       </editor>
388       <editor
389             name="%phpEditorName"
390             default="true"
391             icon="icons/obj16/htmledit.gif"
392             extensions="html"
393             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
394             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
395             id="net.sourceforge.phpeclipse.PHPUnitEditor">
396       </editor>
397       <editor
398             name="%phpEditorName"
399             default="true"
400             icon="icons/obj16/xmledit.gif"
401             extensions="xml"
402             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
403             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
404             id="net.sourceforge.phpeclipse.PHPUnitEditor">
405       </editor>
406    </extension>
407    <extension
408          point="org.eclipse.ui.popupMenus">
409       <objectContribution
410             objectClass="org.eclipse.core.resources.IFile"
411             nameFilter="*.php"
412             id="net.sourceforge.phpeclipse.actions.externalParserAction">
413          <action
414                label="Run External PHP Parser"
415                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
416                menubarPath="additions"
417                id="net.sourceforge.phpeclipse.actions.externalParserAction">
418          </action>
419       </objectContribution>
420       <objectContribution
421             objectClass="org.eclipse.core.resources.IFile"
422             nameFilter="*.php3"
423             id="net.sourceforge.phpeclipse.actions.externalParserAction">
424          <action
425                label="Run External PHP Parser"
426                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
427                menubarPath="additions"
428                id="net.sourceforge.phpeclipse.actions.externalParserAction">
429          </action>
430       </objectContribution>
431       <objectContribution
432             objectClass="org.eclipse.core.resources.IFile"
433             nameFilter="*.php4"
434             id="net.sourceforge.phpeclipse.actions.externalParserAction">
435          <action
436                label="Run External PHP Parser"
437                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
438                menubarPath="additions"
439                id="net.sourceforge.phpeclipse.actions.externalParserAction">
440          </action>
441       </objectContribution>
442       <objectContribution
443             objectClass="org.eclipse.core.resources.IFile"
444             nameFilter="*.inc"
445             id="net.sourceforge.phpeclipse.actions.externalParserAction">
446          <action
447                label="Run External PHP Parser"
448                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
449                menubarPath="additions"
450                id="net.sourceforge.phpeclipse.actions.externalParserAction">
451          </action>
452       </objectContribution>
453       <objectContribution
454             objectClass="org.eclipse.core.resources.IFile"
455             nameFilter="*.phtml"
456             id="net.sourceforge.phpeclipse.actions.externalParserAction">
457          <action
458                label="Run External PHP Parser"
459                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
460                menubarPath="additions"
461                id="net.sourceforge.phpeclipse.actions.externalParserAction">
462          </action>
463       </objectContribution>
464       <objectContribution
465             objectClass="org.eclipse.core.resources.IFile"
466             nameFilter="*.php"
467             id="net.sourceforge.phpeclipse.actions.popupShowAction">
468          <action
469                label="Open PHP Browser"
470                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
471                menubarPath="additions"
472                id="net.sourceforge.phpeclipse.actions.showAction">
473          </action>
474       </objectContribution>
475       <objectContribution
476             objectClass="org.eclipse.core.resources.IFile"
477             nameFilter="*.php3"
478             id="net.sourceforge.phpeclipse.actions.popupShowAction">
479          <action
480                label="Open PHP Browser"
481                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
482                menubarPath="additions"
483                id="net.sourceforge.phpeclipse.actions.showAction">
484          </action>
485       </objectContribution>
486       <objectContribution
487             objectClass="org.eclipse.core.resources.IFile"
488             nameFilter="*.php4"
489             id="net.sourceforge.phpeclipse.actions.popupShowAction">
490          <action
491                label="Open PHP Browser"
492                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
493                menubarPath="additions"
494                id="net.sourceforge.phpeclipse.actions.showAction">
495          </action>
496       </objectContribution>
497       <objectContribution
498             objectClass="org.eclipse.core.resources.IFile"
499             nameFilter="*.inc"
500             id="net.sourceforge.phpeclipse.actions.popupShowAction">
501          <action
502                label="Open PHP Browser"
503                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
504                menubarPath="additions"
505                id="net.sourceforge.phpeclipse.actions.showAction">
506          </action>
507       </objectContribution>
508       <objectContribution
509             objectClass="org.eclipse.core.resources.IFile"
510             nameFilter="*.phtml"
511             id="net.sourceforge.phpeclipse.actions.popupShowAction">
512          <action
513                label="Open PHP Browser"
514                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
515                menubarPath="additions"
516                id="net.sourceforge.phpeclipse.actions.showAction">
517          </action>
518       </objectContribution>
519       <viewerContribution
520             targetID="#PHPRulerContext"
521             id="net.sourceforge.phpdt.ui.PHPEditorPopupActions">
522          <action
523                label="%AddTask.label"
524                helpContextId="org.eclipse.ui.AddTask_action_context"
525                class="org.eclipse.ui.texteditor.TaskRulerAction"
526                menubarPath="add"
527                id="org.eclipse.ui.texteditor.TaskRulerAction">
528          </action>
529          <action
530                label="%AddBookmark.label"
531                helpContextId="org.eclipse.ui.bookmark_action_context"
532                class="org.eclipse.ui.texteditor.BookmarkRulerAction"
533                menubarPath="add"
534                id="org.eclipse.ui.texteditor.BookmarkRulerAction">
535          </action>
536       </viewerContribution>
537    </extension>
538    <extension
539          point="org.eclipse.ui.editorActions">
540       <editorContribution
541             targetID="net.sourceforge.phpeclipse.PHPEditor"
542             id="org.eclipse.ui.texteditor.ruler.actions">
543          <action
544                label="%Dummy.label"
545                helpContextId="org.eclipse.ui.bookmark_action_context"
546                class="org.eclipse.ui.texteditor.BookmarkRulerAction"
547                id="org.eclipse.ui.texteditor.BookmarkRulerAction">
548          </action>
549       </editorContribution>
550    </extension>
551    <extension
552          point="org.eclipse.ui.preferencePages">
553       <page
554             name="PHP"
555             class="net.sourceforge.phpeclipse.PHPEclipseBasePreferencePage"
556             id="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage">
557       </page>
558 <!--    <page
559             name="Editor2"
560             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
561             class="net.sourceforge.phpeclipse.PHPSyntaxEditorPreferencePage"
562             id="net.sourceforge.phpeclipse.preference.PHPSyntaxEditorPreferencePage">
563       </page>  -->
564       <page
565             name="Outline"
566             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
567             class="net.sourceforge.phpeclipse.PHPOutlinePreferencePage"
568             id="net.sourceforge.phpeclipse.preference.PHPOutlinePreferencePage">
569       </page>
570       <page
571             name="Templates"
572             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
573             class="net.sourceforge.phpdt.internal.ui.preferences.TemplatePreferencePage"
574             id="net.sourceforge.phpeclipse.preference.TemplatePreferencePage">
575       </page>
576       <page
577             name="Formatter"
578             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
579             class="net.sourceforge.phpdt.internal.ui.preferences.CodeFormatterPreferencePage"
580             id="net.sourceforge.phpeclipse.preference.CodeFormatterPreferencePage">
581       </page>
582       <page
583             name="Editor"
584             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
585             class="net.sourceforge.phpdt.internal.ui.preferences.PHPEditorPreferencePage"
586             id="net.sourceforge.phpeclipse.preference.PHPEditorPreferencePage">
587       </page>
588       <page
589             name="Language Settings"
590             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
591             class="net.sourceforge.phpeclipse.PHPLanguagePreferencePage"
592             id="net.sourceforge.phpeclipse.preference.PHPLanguagePreferencePage">
593       </page>
594    </extension>
595    <extension
596          point="org.eclipse.ui.documentProviders">
597       <provider
598             extensions="%phpFileExtension"
599             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
600             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
601       </provider>
602    </extension>
603    <extension
604          point="org.eclipse.ui.documentProviders">
605       <provider
606             extensions="%php3FileExtension"
607             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
608             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
609       </provider>
610    </extension>
611    <extension
612          point="org.eclipse.ui.documentProviders">
613       <provider
614             extensions="%php4FileExtension"
615             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
616             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
617       </provider>
618    </extension>
619    <extension
620          point="org.eclipse.ui.documentProviders">
621       <provider
622             extensions="%incFileExtension"
623             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
624             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
625       </provider>
626    </extension>
627    <extension
628          point="org.eclipse.ui.documentProviders">
629       <provider
630             extensions="%phtmlFileExtension"
631             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
632             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
633       </provider>
634    </extension>
635    <extension
636          point="org.eclipse.ui.documentProviders">
637       <provider
638             extensions="%htmlFileExtension"
639             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
640             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
641       </provider>
642    </extension>
643    <extension
644          point="org.eclipse.ui.documentProviders">
645       <provider
646             extensions="%htmFileExtension"
647             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
648             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
649       </provider>
650    </extension>
651    <extension
652          point="org.eclipse.ui.documentProviders">
653       <provider
654             extensions="%xmlFileExtension"
655             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
656             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
657       </provider>
658    </extension>
659    <extension
660          point="org.eclipse.ui.views">
661       <view
662             name="%phpConsoleView"
663             icon="icons/obj16/php.gif"
664             class="net.sourceforge.phpeclipse.views.PHPConsole"
665             id="net.sourceforge.phpeclipse.views.phpconsoleview">
666       </view>
667    </extension>
668 <!-- =========================================================================== -->
669 <!-- Java Editor Key Bindings -->
670 <!-- =========================================================================== -->
671    <extension
672          point="org.eclipse.ui.acceleratorSets">
673       <acceleratorSet
674             scopeId="org.eclipse.ui.textEditorScope"
675             configurationId="org.eclipse.ui.emacsAcceleratorConfiguration">
676 <!-- edit -->
677          <accelerator
678                key="Ctrl+Shift+P"
679                id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
680          </accelerator>
681          <accelerator
682                key="Ctrl+1"
683                id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals">
684          </accelerator>
685 <!-- source -->
686          <accelerator
687                key="Ctrl+/"
688                id="net.sourceforge.phpeclipse.phpeditor.comment">
689          </accelerator>
690          <accelerator
691                key="Ctrl+\"
692                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
693          </accelerator>
694          <accelerator
695                key="Ctrl+Shift+F"
696                id="net.sourceforge.phpeclipse.phpeditor.format">
697          </accelerator>
698          <accelerator
699                key="Ctrl+O"
700                id="net.sourceforge.phpeclipse.ui.edit.text.php.show.outline">
701          </accelerator>
702          <accelerator
703                key="Ctrl+F3"
704                id="net.sourceforge.phpeclipse.ui.navigate.php.open.structure">
705          </accelerator>
706       </acceleratorSet>
707       <acceleratorSet
708             scopeId="org.eclipse.ui.textEditorScope"
709             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
710 <!-- edit -->
711          <accelerator
712                key="Ctrl+Shift+P"
713                id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
714          </accelerator>
715          <accelerator
716                key="Ctrl+Space"
717                id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals">
718          </accelerator>
719 <!-- source -->
720          <accelerator
721                key="Ctrl+/"
722                id="net.sourceforge.phpeclipse.phpeditor.comment">
723          </accelerator>
724          <accelerator
725                key="Ctrl+\"
726                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
727          </accelerator>
728          <accelerator
729                key="Ctrl+Shift+F"
730                id="net.sourceforge.phpeclipse.phpeditor.format">
731          </accelerator>
732          <accelerator
733                key="Ctrl+F3"
734                id="net.sourceforge.phpeclipse.ui.navigate.php.open.structure">
735          </accelerator>
736          <accelerator
737                key="Ctrl+O"
738                id="net.sourceforge.phpeclipse.ui.edit.text.php.show.outline">
739          </accelerator>
740       </acceleratorSet>
741       <acceleratorSet
742             scopeId="org.eclipse.ui.textEditorScope"
743             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
744 <!-- edit -->
745          <accelerator
746                platform="carbon"
747                key="Command+Shift+P"
748                id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
749          </accelerator>
750          <accelerator
751                platform="carbon"
752                key="Command+1"
753                id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals">
754          </accelerator>
755 <!-- source -->
756          <accelerator
757                platform="carbon"
758                key="Command+/"
759                id="net.sourceforge.phpeclipse.phpeditor.comment">
760          </accelerator>
761          <accelerator
762                platform="carbon"
763                key="Command+\"
764                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
765          </accelerator>
766       </acceleratorSet>
767    </extension>
768
769 </plugin>