f31066f14cbe44aea52d546ad213b507d0ea926d
[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.core"/>
20       <import plugin="org.eclipse.debug.ui"/>
21       <import plugin="org.apache.xerces"/>
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 -->
89       <wizard
90             name="%newWizardPHPProject.name"
91             icon="icons/obj16/php.gif"
92             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
93             class="net.sourceforge.phpeclipse.wizards.NewProjectCreationWizard"
94             project="true"
95             id="net.sourceforge.phpeclipse.wizards.NewWizardProjectCreation">
96          <description>
97             Create a new PHP project.
98          </description>
99       </wizard>
100 <!--
101 <this wizard replaces it as it works - maybe not as pretty but still>
102
103       <wizard
104             name="%newWizardPHPProject.name"
105             icon="icons/obj16/php.gif"
106             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
107             class="net.sourceforge.phpeclipse.wizards.TempnewPHPProject"
108             project="true"
109             id="net.sourceforge.phpeclipse.wizards.NewWizardProjectCreation">
110          <description>
111             Create a new PHP project.
112          </description>
113       </wizard> -->
114       <wizard
115             name="%newWizardPHPFile.name"
116             icon="icons/obj16/phpedit.gif"
117             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
118             class="net.sourceforge.phpeclipse.wizards.PHPFileWizard"
119             id="net.sourceforge.phpeclipse.wizards.PHPFileWizard">
120          <description>
121             Create a basic PHP file.
122          </description>
123       </wizard>
124 <!-- choochter's stuff -->
125       <wizard
126             name="Xaraya Module"
127             icon="icons/obj16/php.gif"
128             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
129             class="com.xaraya.wizard.NewXarayaResourceWizard"
130             project="true"
131             id="net.sourceforge.phpeclipse.wizards.NewXarayaModuleWizard">
132          <description>
133             Create a Xaraya module.
134          </description>
135       </wizard>
136    </extension>
137    <extension
138          point="org.eclipse.ui.projectNatureImages">
139       <image
140             icon="icons/obj16/php.gif"
141             natureId="net.sourceforge.phpeclipse.phpnature"
142             id="net.sourceforge.phpeclipse.ProjectNatureImagePHP">
143       </image>
144    </extension>
145    <extension
146          point="org.eclipse.ui.propertyPages">
147       <page
148             objectClass="org.eclipse.core.resources.IProject"
149             name="%propertyPagePHPProject.name"
150             class="net.sourceforge.phpeclipse.preferences.PHPProjectPropertyPage"
151             id="net.sourceforge.phpeclipse.preferences.PHPProjectPropertyPage">
152          <filter
153                name="nature"
154                value="net.sourceforge.phpeclipse.phpnature">
155          </filter>
156       </page>
157   <!--    <page
158             objectClass="net.sourceforge.phpeclipse.resourcesview.PHPProject"
159             name="%propertyPagePHPProject.name"
160             class="net.sourceforge.phpeclipse.preferences.PHPProjectPropertyPage"
161             id="net.sourceforge.phpeclipse.preferences.PropertyPagePHPProject">
162          <filter
163                name="nature"
164                value="net.sourceforge.phpeclipse.phpnature">
165          </filter>
166       </page> -->
167    </extension>
168 <!--   <extension
169          point="org.eclipse.ui.views">
170       <view
171             name="%viewPHPResources.name"
172             icon="icons/obj16/php.gif"
173             class="net.sourceforge.phpeclipse.resourcesview.PHPResourcesView"
174             id="net.sourceforge.phpeclipse.resourcesview.ViewPHPResources">
175       </view>
176    </extension> -->
177    <extension
178          point="org.eclipse.ui.actionSets">
179       <actionSet
180             label="PHP/Apache"
181             visible="true"
182             id="net.sourceforge.phpeclipse.PHPActionSet">
183          <menu
184                label="PHP/Apache"
185                id="net.sourceforge.phpeclipse.PHPMenu">
186             <separator
187                   name="phpeclipse">
188             </separator>
189          </menu>
190          <action
191                label="Restart Apache"
192                icon="icons/obj16/apache_restart.gif"
193                tooltip="Restart Apache"
194                class="net.sourceforge.phpeclipse.actions.PHPRestartApacheAction"
195                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
196                toolbarPath="Normal"
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                id="net.sourceforge.phpeclipse.actions.PHPStopApacheAction">
207          </action>
208          <action
209                label="Start Apache"
210                icon="icons/obj16/apache.gif"
211                tooltip="Start Apache"
212                class="net.sourceforge.phpeclipse.actions.PHPStartApacheAction"
213                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
214                toolbarPath="Normal"
215                id="net.sourceforge.phpeclipse.actions.PHPStartApacheAction">
216          </action>
217          <action
218                label="Start MySQL"
219                icon="icons/obj16/sql.gif"
220                tooltip="Start MySQL"
221                class="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction"
222                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
223                toolbarPath="Normal"
224                id="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction">
225          </action>
226       </actionSet>
227       <actionSet
228             label="%CodingActionSet.label"
229             visible="false"
230             id="net.sourceforge.phpeclipse.ui.CodingActionSet">
231 <!-- =========================================================================== -->
232 <!-- Source Menu                                                                 -->
233 <!-- =========================================================================== -->
234          <menu
235                label="%SourceMenu.label"
236                path="edit"
237                id="net.sourceforge.phpeclipse.ui.source.menu">
238             <separator
239                   name="editGroup">
240             </separator>
241          </menu>
242          <action
243                definitionId="net.sourceforge.phpeclipse.phpeditor.format"
244                label="%FormatAction.label"
245                retarget="true"
246                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
247                id="net.sourceforge.phpeclipse.phpeditor.Format">
248          </action>
249          <action
250                label="%ShiftLeftAction.label"
251                retarget="true"
252                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
253                id="net.sourceforge.phpeclipse.ui.actions.ShiftLeft">
254          </action>
255          <action
256                label="%ShiftRightAction.label"
257                retarget="true"
258                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
259                id="net.sourceforge.phpeclipse.ui.actions.ShiftRight">
260          </action>
261          <action
262                definitionId="net.sourceforge.phpeclipse.phpeditor.uncomment"
263                label="%UncommentAction.label"
264                retarget="true"
265                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
266                id="net.sourceforge.phpeclipse.phpeditor.Uncomment">
267          </action>
268          <action
269                definitionId="net.sourceforge.phpeclipse.phpeditor.comment"
270                label="%CommentAction.label"
271                retarget="true"
272                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
273                id="net.sourceforge.phpeclipse.phpeditor.Comment">
274          </action>
275       </actionSet>
276    </extension>
277    <extension
278          point="org.eclipse.ui.actionSetPartAssociations">
279       <actionSetPartAssociation
280             targetID="net.sourceforge.phpeclipse.ui.CodingActionSet">
281          <part
282                id="net.sourceforge.phpeclipse.PHPUnitEditor">
283          </part>
284       </actionSetPartAssociation>
285    </extension>
286 <!-- =========================================================================== -->
287 <!-- PHP Editor Action Definition IDs -->
288 <!-- =========================================================================== -->
289    <extension
290          point="org.eclipse.ui.actionDefinitions">
291 <!-- edit -->
292       <actionDefinition
293             id="net.sourceforge.phpeclipse.phpeditor.ContentAssistProposal">
294       </actionDefinition>
295 <!-- source -->
296       <actionDefinition
297             id="net.sourceforge.phpeclipse.phpeditor.Comment">
298       </actionDefinition>
299       <actionDefinition
300             id="net.sourceforge.phpeclipse.phpeditor.Uncomment">
301       </actionDefinition>
302       <actionDefinition
303             id="net.sourceforge.phpeclipse.phpeditor.Format">
304       </actionDefinition>
305       <actionDefinition
306             id="net.sourceforge.phpeclipse.ui.edit.text.php.show.outline">
307       </actionDefinition>
308       <actionDefinition
309             id="net.sourceforge.phpeclipse.ui.navigate.php.open.structure">
310       </actionDefinition>
311       <actionDefinition
312             id="net.sourceforge.phpeclipse.ui.edit.text.php.show.next.problem">
313       </actionDefinition>
314       <actionDefinition
315             id="net.sourceforge.phpeclipse.ui.edit.text.php.show.previous.problem">
316       </actionDefinition>
317    </extension>
318 <!--   <extension
319          point="org.eclipse.ui.acceleratorSets">
320       <acceleratorSet
321             scopeId="org.eclipse.ui.textEditorScope"
322             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
323          <accelerator
324                key="Ctrl+/"
325                id="net.sourceforge.phpdt.ui.actions.comment">
326          </accelerator>
327          <accelerator
328                key="Ctrl+\\"
329                id="net.sourceforge.phpdt.ui.actions.uncomment">
330          </accelerator>
331       </acceleratorSet>
332    </extension> -->
333    <extension
334          point="org.eclipse.ui.editors">
335       <editor
336             name="%phpEditorName"
337             default="true"
338             icon="icons/obj16/phpedit.gif"
339             extensions="php"
340             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
341             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
342             id="net.sourceforge.phpeclipse.PHPUnitEditor">
343       </editor>
344       <editor
345             name="%phpEditorName"
346             default="true"
347             icon="icons/obj16/phpedit.gif"
348             extensions="php3"
349             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
350             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
351             id="net.sourceforge.phpeclipse.PHPUnitEditor">
352       </editor>
353       <editor
354             name="%phpEditorName"
355             default="true"
356             icon="icons/obj16/phpedit.gif"
357             extensions="php4"
358             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
359             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
360             id="net.sourceforge.phpeclipse.PHPUnitEditor">
361       </editor>
362       <editor
363             name="%phpEditorName"
364             default="true"
365             icon="icons/obj16/phpedit.gif"
366             extensions="inc"
367             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
368             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
369             id="net.sourceforge.phpeclipse.PHPUnitEditor">
370       </editor>
371       <editor
372             name="%phpEditorName"
373             default="true"
374             icon="icons/obj16/phpedit.gif"
375             extensions="phtml"
376             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
377             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
378             id="net.sourceforge.phpeclipse.PHPUnitEditor">
379       </editor>
380       <editor
381             name="%phpEditorName"
382             default="true"
383             icon="icons/obj16/htmledit.gif"
384             extensions="htm"
385             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
386             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
387             id="net.sourceforge.phpeclipse.PHPUnitEditor">
388       </editor>
389       <editor
390             name="%phpEditorName"
391             default="true"
392             icon="icons/obj16/htmledit.gif"
393             extensions="html"
394             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
395             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
396             id="net.sourceforge.phpeclipse.PHPUnitEditor">
397       </editor>
398       <editor
399             name="%phpEditorName"
400             default="true"
401             icon="icons/obj16/xmledit.gif"
402             extensions="xml"
403             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
404             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
405             id="net.sourceforge.phpeclipse.PHPUnitEditor">
406       </editor>
407    </extension>
408    <extension
409          point="org.eclipse.ui.popupMenus">
410       <objectContribution
411             objectClass="org.eclipse.core.resources.IFile"
412             nameFilter="*.php"
413             id="net.sourceforge.phpeclipse.actions.externalParserAction">
414          <action
415                label="Run External PHP Parser"
416                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
417                menubarPath="additions"
418                id="net.sourceforge.phpeclipse.actions.externalParserAction">
419          </action>
420       </objectContribution>
421       <objectContribution
422             objectClass="org.eclipse.core.resources.IFile"
423             nameFilter="*.php3"
424             id="net.sourceforge.phpeclipse.actions.externalParserAction">
425          <action
426                label="Run External PHP Parser"
427                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
428                menubarPath="additions"
429                id="net.sourceforge.phpeclipse.actions.externalParserAction">
430          </action>
431       </objectContribution>
432       <objectContribution
433             objectClass="org.eclipse.core.resources.IFile"
434             nameFilter="*.php4"
435             id="net.sourceforge.phpeclipse.actions.externalParserAction">
436          <action
437                label="Run External PHP Parser"
438                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
439                menubarPath="additions"
440                id="net.sourceforge.phpeclipse.actions.externalParserAction">
441          </action>
442       </objectContribution>
443       <objectContribution
444             objectClass="org.eclipse.core.resources.IFile"
445             nameFilter="*.inc"
446             id="net.sourceforge.phpeclipse.actions.externalParserAction">
447          <action
448                label="Run External PHP Parser"
449                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
450                menubarPath="additions"
451                id="net.sourceforge.phpeclipse.actions.externalParserAction">
452          </action>
453       </objectContribution>
454       <objectContribution
455             objectClass="org.eclipse.core.resources.IFile"
456             nameFilter="*.phtml"
457             id="net.sourceforge.phpeclipse.actions.externalParserAction">
458          <action
459                label="Run External PHP Parser"
460                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
461                menubarPath="additions"
462                id="net.sourceforge.phpeclipse.actions.externalParserAction">
463          </action>
464       </objectContribution>
465       <objectContribution
466             objectClass="org.eclipse.core.resources.IFile"
467             nameFilter="*.php"
468             id="net.sourceforge.phpeclipse.actions.popupShowAction">
469          <action
470                label="Open PHP Browser"
471                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
472                menubarPath="additions"
473                id="net.sourceforge.phpeclipse.actions.showAction">
474          </action>
475       </objectContribution>
476       <objectContribution
477             objectClass="org.eclipse.core.resources.IFile"
478             nameFilter="*.php3"
479             id="net.sourceforge.phpeclipse.actions.popupShowAction">
480          <action
481                label="Open PHP Browser"
482                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
483                menubarPath="additions"
484                id="net.sourceforge.phpeclipse.actions.showAction">
485          </action>
486       </objectContribution>
487       <objectContribution
488             objectClass="org.eclipse.core.resources.IFile"
489             nameFilter="*.php4"
490             id="net.sourceforge.phpeclipse.actions.popupShowAction">
491          <action
492                label="Open PHP Browser"
493                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
494                menubarPath="additions"
495                id="net.sourceforge.phpeclipse.actions.showAction">
496          </action>
497       </objectContribution>
498       <objectContribution
499             objectClass="org.eclipse.core.resources.IFile"
500             nameFilter="*.inc"
501             id="net.sourceforge.phpeclipse.actions.popupShowAction">
502          <action
503                label="Open PHP Browser"
504                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
505                menubarPath="additions"
506                id="net.sourceforge.phpeclipse.actions.showAction">
507          </action>
508       </objectContribution>
509       <objectContribution
510             objectClass="org.eclipse.core.resources.IFile"
511             nameFilter="*.phtml"
512             id="net.sourceforge.phpeclipse.actions.popupShowAction">
513          <action
514                label="Open PHP Browser"
515                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
516                menubarPath="additions"
517                id="net.sourceforge.phpeclipse.actions.showAction">
518          </action>
519       </objectContribution>
520       <objectContribution
521             objectClass="org.eclipse.core.resources.IFile"
522             nameFilter="*.html"
523             id="net.sourceforge.phpeclipse.actions.popupShowAction">
524          <action
525                label="Open PHP Browser"
526                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
527                menubarPath="additions"
528                id="net.sourceforge.phpeclipse.actions.showAction">
529          </action>
530       </objectContribution>
531             <objectContribution
532             objectClass="org.eclipse.core.resources.IFile"
533             nameFilter="*.htm"
534             id="net.sourceforge.phpeclipse.actions.popupShowAction">
535          <action
536                label="Open PHP Browser"
537                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
538                menubarPath="additions"
539                id="net.sourceforge.phpeclipse.actions.showAction">
540          </action>
541       </objectContribution>
542             <objectContribution
543             objectClass="org.eclipse.core.resources.IFile"
544             nameFilter="*.xml"
545             id="net.sourceforge.phpeclipse.actions.popupShowAction">
546          <action
547                label="Open PHP Browser"
548                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
549                menubarPath="additions"
550                id="net.sourceforge.phpeclipse.actions.showAction">
551          </action>
552       </objectContribution>
553       <viewerContribution
554             targetID="#PHPRulerContext"
555             id="net.sourceforge.phpdt.ui.PHPEditorPopupActions">
556          <action
557                label="%AddTask.label"
558                helpContextId="org.eclipse.ui.AddTask_action_context"
559                class="org.eclipse.ui.texteditor.TaskRulerAction"
560                menubarPath="add"
561                id="org.eclipse.ui.texteditor.TaskRulerAction">
562          </action>
563          <action
564                label="%AddBookmark.label"
565                helpContextId="org.eclipse.ui.bookmark_action_context"
566                class="org.eclipse.ui.texteditor.BookmarkRulerAction"
567                menubarPath="add"
568                id="org.eclipse.ui.texteditor.BookmarkRulerAction">
569          </action>
570       </viewerContribution>
571    </extension>
572    <extension
573          point="org.eclipse.ui.editorActions">
574       <editorContribution
575             targetID="net.sourceforge.phpeclipse.PHPEditor"
576             id="org.eclipse.ui.texteditor.ruler.actions">
577          <action
578                label="%Dummy.label"
579                helpContextId="org.eclipse.ui.bookmark_action_context"
580                class="org.eclipse.ui.texteditor.BookmarkRulerAction"
581                id="org.eclipse.ui.texteditor.BookmarkRulerAction">
582          </action>
583       </editorContribution>
584    </extension>
585    <extension
586          point="org.eclipse.ui.preferencePages">
587       <page
588             name="PHP"
589             class="net.sourceforge.phpeclipse.PHPEclipseBasePreferencePage"
590             id="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage">
591       </page>
592 <!--    <page
593             name="Editor2"
594             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
595             class="net.sourceforge.phpeclipse.PHPSyntaxEditorPreferencePage"
596             id="net.sourceforge.phpeclipse.preference.PHPSyntaxEditorPreferencePage">
597       </page>  -->
598       <page
599             name="Outline"
600             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
601             class="net.sourceforge.phpeclipse.PHPOutlinePreferencePage"
602             id="net.sourceforge.phpeclipse.preference.PHPOutlinePreferencePage">
603       </page>
604       <page
605             name="Templates"
606             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
607             class="net.sourceforge.phpdt.internal.ui.preferences.TemplatePreferencePage"
608             id="net.sourceforge.phpeclipse.preference.TemplatePreferencePage">
609       </page>
610       <page
611             name="Formatter"
612             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
613             class="net.sourceforge.phpdt.internal.ui.preferences.CodeFormatterPreferencePage"
614             id="net.sourceforge.phpeclipse.preference.CodeFormatterPreferencePage">
615       </page>
616       <page
617             name="Editor"
618             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
619             class="net.sourceforge.phpdt.internal.ui.preferences.PHPEditorPreferencePage"
620             id="net.sourceforge.phpeclipse.preference.PHPEditorPreferencePage">
621       </page>
622       <page
623             name="Language Settings"
624             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
625             class="net.sourceforge.phpeclipse.PHPLanguagePreferencePage"
626             id="net.sourceforge.phpeclipse.preference.PHPLanguagePreferencePage">
627       </page>
628    </extension>
629    <extension
630          point="org.eclipse.ui.documentProviders">
631       <provider
632             extensions="%phpFileExtension"
633             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
634             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
635       </provider>
636    </extension>
637    <extension
638          point="org.eclipse.ui.documentProviders">
639       <provider
640             extensions="%php3FileExtension"
641             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
642             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
643       </provider>
644    </extension>
645    <extension
646          point="org.eclipse.ui.documentProviders">
647       <provider
648             extensions="%php4FileExtension"
649             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
650             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
651       </provider>
652    </extension>
653    <extension
654          point="org.eclipse.ui.documentProviders">
655       <provider
656             extensions="%incFileExtension"
657             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
658             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
659       </provider>
660    </extension>
661    <extension
662          point="org.eclipse.ui.documentProviders">
663       <provider
664             extensions="%phtmlFileExtension"
665             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
666             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
667       </provider>
668    </extension>
669    <extension
670          point="org.eclipse.ui.documentProviders">
671       <provider
672             extensions="%htmlFileExtension"
673             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
674             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
675       </provider>
676    </extension>
677    <extension
678          point="org.eclipse.ui.documentProviders">
679       <provider
680             extensions="%htmFileExtension"
681             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
682             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
683       </provider>
684    </extension>
685    <extension
686          point="org.eclipse.ui.documentProviders">
687       <provider
688             extensions="%xmlFileExtension"
689             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
690             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
691       </provider>
692    </extension>
693    <extension
694          point="org.eclipse.ui.views">
695       <view
696             name="%phpConsoleView"
697             icon="icons/obj16/php.gif"
698             class="net.sourceforge.phpeclipse.views.PHPConsole"
699             id="net.sourceforge.phpeclipse.views.phpconsoleview">
700       </view>
701    </extension>
702 <!-- =========================================================================== -->
703 <!-- Java Editor Key Bindings -->
704 <!-- =========================================================================== -->
705    <extension
706          point="org.eclipse.ui.acceleratorSets">
707       <acceleratorSet
708             scopeId="org.eclipse.ui.textEditorScope"
709             configurationId="org.eclipse.ui.emacsAcceleratorConfiguration">
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+1"
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+O"
734                id="net.sourceforge.phpeclipse.ui.edit.text.php.show.outline">
735          </accelerator>
736          <accelerator
737                key="Ctrl+F3"
738                id="net.sourceforge.phpeclipse.ui.navigate.php.open.structure">
739          </accelerator>
740       </acceleratorSet>
741       <acceleratorSet
742             scopeId="org.eclipse.ui.textEditorScope"
743             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
744 <!-- edit -->
745          <accelerator
746                key="Ctrl+Shift+P"
747                id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
748          </accelerator>
749          <accelerator
750                key="Ctrl+Space"
751                id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals">
752          </accelerator>
753 <!-- source -->
754          <accelerator
755                key="Ctrl+/"
756                id="net.sourceforge.phpeclipse.phpeditor.comment">
757          </accelerator>
758          <accelerator
759                key="Ctrl+\"
760                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
761          </accelerator>
762          <accelerator
763                key="Ctrl+Shift+F"
764                id="net.sourceforge.phpeclipse.phpeditor.format">
765          </accelerator>
766          <accelerator
767                key="Ctrl+F3"
768                id="net.sourceforge.phpeclipse.ui.navigate.php.open.structure">
769          </accelerator>
770          <accelerator
771                key="Ctrl+O"
772                id="net.sourceforge.phpeclipse.ui.edit.text.php.show.outline">
773          </accelerator>
774       </acceleratorSet>
775       <acceleratorSet
776             scopeId="org.eclipse.ui.textEditorScope"
777             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
778 <!-- edit -->
779          <accelerator
780                platform="carbon"
781                key="Command+Shift+P"
782                id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
783          </accelerator>
784          <accelerator
785                platform="carbon"
786                key="Command+1"
787                id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals">
788          </accelerator>
789 <!-- source -->
790          <accelerator
791                platform="carbon"
792                key="Command+/"
793                id="net.sourceforge.phpeclipse.phpeditor.comment">
794          </accelerator>
795          <accelerator
796                platform="carbon"
797                key="Command+\"
798                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
799          </accelerator>
800       </acceleratorSet>
801    </extension>
802
803 <!-- external tools -->
804
805 <!-- extension point definitions -->
806         <extension-point id="configurationDuplicationMaps" name="%ExtPoint.configurationDuplicationMaps"/>
807         <extension-point id="argumentVariables" name="%ExtPoint.argumentVariables"/>
808         <extension-point id="directoryVariables" name="%ExtPoint.directoryVariables"/>
809         <extension-point id="fileVariables" name="%ExtPoint.fileVariables"/>
810         <extension-point id="refreshVariables" name="%ExtPoint.refreshVariables"/>
811         
812 <!-- Extensions -->
813         <extension point="org.eclipse.ui.actionSets">
814                 <actionSet
815                         id="net.sourceforge.phpdt.externaltools.ExternalToolsSet"
816                         label="%ActionSet.externalTools"
817                         visible="true">
818                         <menu id="org.eclipse.ui.run" 
819                                 label="%Menu.run" 
820                                 path="additions"> 
821                                 <separator name="ExternalToolsGroup"/> 
822                         </menu> 
823                         <action
824                                 id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateMenu"
825                                 label="%Action.externalTools"
826                                 menubarPath="org.eclipse.ui.run/ExternalToolsGroup"
827                                 disabledIcon="icons/externaltools/full/dtool16/external_tools.gif"
828                                 icon="icons/externaltools/full/etool16/external_tools.gif"
829                                 hoverIcon="icons/externaltools/full/ctool16/external_tools.gif"
830                                 pulldown="true"
831                                 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
832                         </action>
833                         <action
834                                 id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateToolbar"
835                                 label="%Action.externalTools"
836                                 toolbarPath="Normal/additions"
837                                 disabledIcon="icons/externaltools/full/dtool16/external_tools.gif"
838                                 icon="icons/externaltools/full/etool16/external_tools.gif"
839                                 hoverIcon="icons/externaltools/full/ctool16/external_tools.gif"
840                                 tooltip="%Action.externalToolsTip"
841                                 pulldown="true"
842                                 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
843                         </action>
844                 </actionSet>
845         </extension>
846
847     <!-- Launch Configuration Extensions -->
848     <extension point="org.eclipse.debug.core.launchConfigurationTypes">
849         <launchConfigurationType
850                 id = "net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
851                 name = "%Program.externalTools"
852                 delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
853                 modes = "run"
854                 category = "org.eclipse.ui.externaltools">
855         </launchConfigurationType>
856         <launchConfigurationType
857                 id = "net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
858                 name = "%Program.externalTools"
859                 delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
860                 modes = "run"
861                 category = "org.eclipse.ui.externaltools.builder">
862         </launchConfigurationType>
863     </extension>
864     
865     <extension point = "net.sourceforge.phpeclipse.configurationDuplicationMaps">
866         <configurationMap
867                 sourceType="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
868                 builderType="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType">
869         </configurationMap>
870     </extension>
871     
872     <extension point = "org.eclipse.debug.ui.launchConfigurationTabGroups">
873                 <launchConfigurationTabGroup
874                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program"
875                         type ="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
876                         class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramTabGroup">
877                 </launchConfigurationTabGroup>
878                 <launchConfigurationTabGroup
879                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program.builder"
880                         type ="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
881                         class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramBuilderTabGroup">
882                 </launchConfigurationTabGroup>
883         </extension>
884         
885         <extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
886                 <launchConfigurationTypeImage
887                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program"
888                         configTypeID="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
889                         icon="icons/externaltools/full/obj16/external_tools.gif">
890                 </launchConfigurationTypeImage> 
891                 <launchConfigurationTypeImage
892                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program.builder"
893                         configTypeID="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
894                         icon="icons/externaltools/full/obj16/external_tools.gif">
895                 </launchConfigurationTypeImage> 
896         </extension>
897
898         <!-- Variable Extensions -->
899         <extension point="net.sourceforge.phpeclipse.fileVariables">
900                 <variable
901                         tag="workspace_loc"
902                         description="Expands to the workspace root's absolute file system path."
903                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
904                 </variable>
905                 <variable
906                         tag="resource_loc"
907                         description="Expands to the resource's absolute file system path."
908                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
909                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
910                 </variable>
911         </extension>
912         
913         <extension point="net.sourceforge.phpeclipse.argumentVariables">
914                 <variable
915                         tag="workspace_loc"
916                         description="Expands to the workspace root's absolute file system path."
917                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
918                 </variable>
919                 <variable
920                         tag="last_php_file_loc"
921                         description="Expands to the localhost preference settings."
922                         expanderClass="net.sourceforge.phpdt.externaltools.variable.LastPHPFileExpander">
923                 </variable>
924                 <variable
925                         tag="localhost_loc"
926                         description="Expands to the localhost preference settings."
927                         expanderClass="net.sourceforge.phpdt.externaltools.variable.LocalhostExpander">
928                 </variable>
929                 <variable
930                         tag="project_loc"
931                         description="Expands to the selected resource's project absolute file system path."
932                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
933                 </variable>
934                 <variable
935                         tag="project_path"
936                         description="Expands to the full path, relative to the workspace root, of the selected project"
937                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectExpander">
938                 </variable>
939                 <variable
940                         tag="project_name"
941                         description="Expands to the name of the selected project"
942                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectNameExpander">
943                 </variable>
944                 <variable
945                         tag="resource_loc"
946                         description="Expands to the resource's absolute file system path."
947                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
948                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
949                 </variable>
950                 <variable
951                         tag="container_loc"
952                         description="Expands to the selected resource's containing folder absolute file system path."
953                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
954                 </variable>
955                 <variable
956                         tag="build_type"
957                         description="Expands to the type of build"
958                         expanderClass="net.sourceforge.phpdt.externaltools.variable.BuildTypeExpander">
959                 </variable>
960         </extension>
961
962         <extension point="net.sourceforge.phpeclipse.directoryVariables">
963                 <variable
964                         tag="workspace_loc"
965                         description="Expands to the workspace root's absolute file system path."
966                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
967                 </variable>
968                 <variable
969                         tag="project_loc"
970                         description="Expands to the selected resource's project absolute file system path."
971                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
972                 </variable>
973                 <variable
974                         tag="container_loc"
975                         description="Expands to the selected resource's containing folder absolute file system path."
976                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
977                 </variable>
978                 <variable
979                         tag="resource_loc"
980                         description="Expands to a resource's absolute file system path."
981                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFolderResourceComponent"
982                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
983                 </variable>
984         </extension>
985
986         <extension point="net.sourceforge.phpeclipse.refreshVariables">
987                 <variable
988                         tag="workspace"
989                         description="Expands to the workspace root."
990                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
991                 </variable>
992                 <variable
993                         tag="project"
994                         description="Expands to the project of the selected resource."
995                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
996                 </variable>
997                 <variable
998                         tag="container"
999                         description="Expands to the folder containing the selected resource."
1000                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
1001                 </variable>
1002                 <variable
1003                         tag="resource"
1004                         description="Expands to a resource."
1005                         componentClass="net.sourceforge.phpdt.externaltools.variable.ResourceComponent"
1006                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1007                 </variable>
1008                 <variable
1009                         tag="working_set"
1010                         description="Expands to the group of resources in a working set."
1011                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkingSetExpander">
1012                 </variable>
1013         </extension>
1014 </plugin>