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