commented out PHPProjectLibraryPage
[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="org.eclipse.core.resources.IProject"
159             name="PHP Obfuscator"
160             class="net.sourceforge.phpeclipse.preferences.PHPObfuscatorPropertyPage"
161             id="net.sourceforge.phpeclipse.preferences.PHPObfuscatorPropertyPage">
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.IResource"
412             id="net.sourceforge.phpeclipse.actions.obfuscator">
413          <action
414                label="PHP Obfuscator"
415                class="net.sourceforge.phpeclipse.actions.PHPObfuscatorAction"
416                menubarPath="additions"
417                id="net.sourceforge.phpeclipse.actions.obfuscatorAction">
418          </action>
419       </objectContribution>
420       <objectContribution
421             objectClass="org.eclipse.core.resources.IFile"
422             nameFilter="*.php"
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="*.php3"
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="*.php4"
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="*.inc"
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="*.phtml"
467             id="net.sourceforge.phpeclipse.actions.externalParserAction">
468          <action
469                label="Run External PHP Parser"
470                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
471                menubarPath="additions"
472                id="net.sourceforge.phpeclipse.actions.externalParserAction">
473          </action>
474       </objectContribution>
475       <objectContribution
476             objectClass="org.eclipse.core.resources.IFile"
477             nameFilter="*.php"
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="*.php3"
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="*.php4"
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="*.inc"
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       <objectContribution
520             objectClass="org.eclipse.core.resources.IFile"
521             nameFilter="*.phtml"
522             id="net.sourceforge.phpeclipse.actions.popupShowAction">
523          <action
524                label="Open PHP Browser"
525                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
526                menubarPath="additions"
527                id="net.sourceforge.phpeclipse.actions.showAction">
528          </action>
529       </objectContribution>
530       <objectContribution
531             objectClass="org.eclipse.core.resources.IFile"
532             nameFilter="*.html"
533             id="net.sourceforge.phpeclipse.actions.popupShowAction">
534          <action
535                label="Open PHP Browser"
536                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
537                menubarPath="additions"
538                id="net.sourceforge.phpeclipse.actions.showAction">
539          </action>
540       </objectContribution>
541             <objectContribution
542             objectClass="org.eclipse.core.resources.IFile"
543             nameFilter="*.htm"
544             id="net.sourceforge.phpeclipse.actions.popupShowAction">
545          <action
546                label="Open PHP Browser"
547                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
548                menubarPath="additions"
549                id="net.sourceforge.phpeclipse.actions.showAction">
550          </action>
551       </objectContribution>
552             <objectContribution
553             objectClass="org.eclipse.core.resources.IFile"
554             nameFilter="*.xml"
555             id="net.sourceforge.phpeclipse.actions.popupShowAction">
556          <action
557                label="Open PHP Browser"
558                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
559                menubarPath="additions"
560                id="net.sourceforge.phpeclipse.actions.showAction">
561          </action>
562       </objectContribution>
563
564       <viewerContribution
565             targetID="#PHPRulerContext"
566             id="net.sourceforge.phpdt.ui.PHPEditorPopupActions">
567          <action
568                label="%AddTask.label"
569                helpContextId="org.eclipse.ui.AddTask_action_context"
570                class="org.eclipse.ui.texteditor.TaskRulerAction"
571                menubarPath="add"
572                id="org.eclipse.ui.texteditor.TaskRulerAction">
573          </action>
574          <action
575                label="%AddBookmark.label"
576                helpContextId="org.eclipse.ui.bookmark_action_context"
577                class="org.eclipse.ui.texteditor.BookmarkRulerAction"
578                menubarPath="add"
579                id="org.eclipse.ui.texteditor.BookmarkRulerAction">
580          </action>
581       </viewerContribution>
582    </extension>
583    <extension
584          point="org.eclipse.ui.editorActions">
585       <editorContribution
586             targetID="net.sourceforge.phpeclipse.PHPEditor"
587             id="org.eclipse.ui.texteditor.ruler.actions">
588          <action
589                label="%Dummy.label"
590                helpContextId="org.eclipse.ui.bookmark_action_context"
591                class="org.eclipse.ui.texteditor.BookmarkRulerAction"
592                id="org.eclipse.ui.texteditor.BookmarkRulerAction">
593          </action>
594       </editorContribution>
595    </extension>
596    <extension
597          point="org.eclipse.ui.preferencePages">
598       <page
599             name="PHP"
600             class="net.sourceforge.phpeclipse.PHPEclipseBasePreferencePage"
601             id="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage">
602       </page>
603 <!--    <page
604             name="Editor2"
605             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
606             class="net.sourceforge.phpeclipse.PHPSyntaxEditorPreferencePage"
607             id="net.sourceforge.phpeclipse.preference.PHPSyntaxEditorPreferencePage">
608       </page>  -->
609       <page
610             name="Outline"
611             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
612             class="net.sourceforge.phpeclipse.PHPOutlinePreferencePage"
613             id="net.sourceforge.phpeclipse.preference.PHPOutlinePreferencePage">
614       </page>
615       <page
616             name="Templates"
617             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
618             class="net.sourceforge.phpdt.internal.ui.preferences.TemplatePreferencePage"
619             id="net.sourceforge.phpeclipse.preference.TemplatePreferencePage">
620       </page>
621       <page
622             name="Formatter"
623             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
624             class="net.sourceforge.phpdt.internal.ui.preferences.CodeFormatterPreferencePage"
625             id="net.sourceforge.phpeclipse.preference.CodeFormatterPreferencePage">
626       </page>
627       <page
628             name="Editor"
629             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
630             class="net.sourceforge.phpdt.internal.ui.preferences.PHPEditorPreferencePage"
631             id="net.sourceforge.phpeclipse.preference.PHPEditorPreferencePage">
632       </page>
633       <page
634             name="Language Settings"
635             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
636             class="net.sourceforge.phpeclipse.PHPLanguagePreferencePage"
637             id="net.sourceforge.phpeclipse.preference.PHPLanguagePreferencePage">
638       </page>
639    </extension>
640    <extension
641          point="org.eclipse.ui.documentProviders">
642       <provider
643             extensions="%phpFileExtension"
644             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
645             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
646       </provider>
647    </extension>
648    <extension
649          point="org.eclipse.ui.documentProviders">
650       <provider
651             extensions="%php3FileExtension"
652             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
653             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
654       </provider>
655    </extension>
656    <extension
657          point="org.eclipse.ui.documentProviders">
658       <provider
659             extensions="%php4FileExtension"
660             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
661             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
662       </provider>
663    </extension>
664    <extension
665          point="org.eclipse.ui.documentProviders">
666       <provider
667             extensions="%incFileExtension"
668             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
669             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
670       </provider>
671    </extension>
672    <extension
673          point="org.eclipse.ui.documentProviders">
674       <provider
675             extensions="%phtmlFileExtension"
676             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
677             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
678       </provider>
679    </extension>
680    <extension
681          point="org.eclipse.ui.documentProviders">
682       <provider
683             extensions="%htmlFileExtension"
684             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
685             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
686       </provider>
687    </extension>
688    <extension
689          point="org.eclipse.ui.documentProviders">
690       <provider
691             extensions="%htmFileExtension"
692             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
693             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
694       </provider>
695    </extension>
696    <extension
697          point="org.eclipse.ui.documentProviders">
698       <provider
699             extensions="%xmlFileExtension"
700             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
701             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
702       </provider>
703    </extension>
704    <extension
705          point="org.eclipse.ui.views">
706       <view
707             name="%phpConsoleView"
708             icon="icons/obj16/php.gif"
709             class="net.sourceforge.phpeclipse.views.PHPConsole"
710             id="net.sourceforge.phpeclipse.views.phpconsoleview">
711       </view>
712    </extension>
713 <!-- =========================================================================== -->
714 <!-- Java Editor Key Bindings -->
715 <!-- =========================================================================== -->
716    <extension
717          point="org.eclipse.ui.acceleratorSets">
718       <acceleratorSet
719             scopeId="org.eclipse.ui.textEditorScope"
720             configurationId="org.eclipse.ui.emacsAcceleratorConfiguration">
721 <!-- edit -->
722          <accelerator
723                key="Ctrl+Shift+P"
724                id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
725          </accelerator>
726          <accelerator
727                key="Ctrl+1"
728                id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals">
729          </accelerator>
730 <!-- source -->
731          <accelerator
732                key="Ctrl+/"
733                id="net.sourceforge.phpeclipse.phpeditor.comment">
734          </accelerator>
735          <accelerator
736                key="Ctrl+\"
737                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
738          </accelerator>
739          <accelerator
740                key="Ctrl+Shift+F"
741                id="net.sourceforge.phpeclipse.phpeditor.format">
742          </accelerator>
743          <accelerator
744                key="Ctrl+O"
745                id="net.sourceforge.phpeclipse.ui.edit.text.php.show.outline">
746          </accelerator>
747          <accelerator
748                key="Ctrl+F3"
749                id="net.sourceforge.phpeclipse.ui.navigate.php.open.structure">
750          </accelerator>
751       </acceleratorSet>
752       <acceleratorSet
753             scopeId="org.eclipse.ui.textEditorScope"
754             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
755 <!-- edit -->
756          <accelerator
757                key="Ctrl+Shift+P"
758                id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
759          </accelerator>
760          <accelerator
761                key="Ctrl+Space"
762                id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals">
763          </accelerator>
764 <!-- source -->
765          <accelerator
766                key="Ctrl+/"
767                id="net.sourceforge.phpeclipse.phpeditor.comment">
768          </accelerator>
769          <accelerator
770                key="Ctrl+\"
771                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
772          </accelerator>
773          <accelerator
774                key="Ctrl+Shift+F"
775                id="net.sourceforge.phpeclipse.phpeditor.format">
776          </accelerator>
777          <accelerator
778                key="Ctrl+F3"
779                id="net.sourceforge.phpeclipse.ui.navigate.php.open.structure">
780          </accelerator>
781          <accelerator
782                key="Ctrl+O"
783                id="net.sourceforge.phpeclipse.ui.edit.text.php.show.outline">
784          </accelerator>
785       </acceleratorSet>
786       <acceleratorSet
787             scopeId="org.eclipse.ui.textEditorScope"
788             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
789 <!-- edit -->
790          <accelerator
791                platform="carbon"
792                key="Command+Shift+P"
793                id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
794          </accelerator>
795          <accelerator
796                platform="carbon"
797                key="Command+1"
798                id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals">
799          </accelerator>
800 <!-- source -->
801          <accelerator
802                platform="carbon"
803                key="Command+/"
804                id="net.sourceforge.phpeclipse.phpeditor.comment">
805          </accelerator>
806          <accelerator
807                platform="carbon"
808                key="Command+\"
809                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
810          </accelerator>
811       </acceleratorSet>
812    </extension>
813
814 <!-- external tools -->
815
816 <!-- extension point definitions -->
817         <extension-point id="configurationDuplicationMaps" name="%ExtPoint.configurationDuplicationMaps"/>
818         <extension-point id="argumentVariables" name="%ExtPoint.argumentVariables"/>
819         <extension-point id="directoryVariables" name="%ExtPoint.directoryVariables"/>
820         <extension-point id="fileVariables" name="%ExtPoint.fileVariables"/>
821         <extension-point id="refreshVariables" name="%ExtPoint.refreshVariables"/>
822         
823 <!-- Extensions -->
824         <extension point="org.eclipse.ui.actionSets">
825                 <actionSet
826                         id="net.sourceforge.phpdt.externaltools.ExternalToolsSet"
827                         label="%ActionSet.externalTools"
828                         visible="true">
829                         <menu id="org.eclipse.ui.run" 
830                                 label="%Menu.run" 
831                                 path="additions"> 
832                                 <separator name="ExternalToolsGroup"/> 
833                         </menu> 
834                         <action
835                                 id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateMenu"
836                                 label="%Action.externalTools"
837                                 menubarPath="org.eclipse.ui.run/ExternalToolsGroup"
838                                 disabledIcon="icons/externaltools/full/dtool16/external_tools.gif"
839                                 icon="icons/externaltools/full/etool16/external_tools.gif"
840                                 hoverIcon="icons/externaltools/full/ctool16/external_tools.gif"
841                                 pulldown="true"
842                                 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
843                         </action>
844                         <action
845                                 id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateToolbar"
846                                 label="%Action.externalTools"
847                                 toolbarPath="Normal/additions"
848                                 disabledIcon="icons/externaltools/full/dtool16/external_tools.gif"
849                                 icon="icons/externaltools/full/etool16/external_tools.gif"
850                                 hoverIcon="icons/externaltools/full/ctool16/external_tools.gif"
851                                 tooltip="%Action.externalToolsTip"
852                                 pulldown="true"
853                                 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
854                         </action>
855                 </actionSet>
856         </extension>
857
858     <!-- Launch Configuration Extensions -->
859     <extension point="org.eclipse.debug.core.launchConfigurationTypes">
860         <launchConfigurationType
861                 id = "net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
862                 name = "%Program.externalTools"
863                 delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
864                 modes = "run"
865                 category = "org.eclipse.ui.externaltools">
866         </launchConfigurationType>
867         <launchConfigurationType
868                 id = "net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
869                 name = "%Program.externalTools"
870                 delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
871                 modes = "run"
872                 category = "org.eclipse.ui.externaltools.builder">
873         </launchConfigurationType>
874     </extension>
875     
876     <extension point = "net.sourceforge.phpeclipse.configurationDuplicationMaps">
877         <configurationMap
878                 sourceType="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
879                 builderType="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType">
880         </configurationMap>
881     </extension>
882     
883     <extension point = "org.eclipse.debug.ui.launchConfigurationTabGroups">
884                 <launchConfigurationTabGroup
885                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program"
886                         type ="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
887                         class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramTabGroup">
888                 </launchConfigurationTabGroup>
889                 <launchConfigurationTabGroup
890                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program.builder"
891                         type ="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
892                         class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramBuilderTabGroup">
893                 </launchConfigurationTabGroup>
894         </extension>
895         
896         <extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
897                 <launchConfigurationTypeImage
898                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program"
899                         configTypeID="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
900                         icon="icons/externaltools/full/obj16/external_tools.gif">
901                 </launchConfigurationTypeImage> 
902                 <launchConfigurationTypeImage
903                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program.builder"
904                         configTypeID="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
905                         icon="icons/externaltools/full/obj16/external_tools.gif">
906                 </launchConfigurationTypeImage> 
907         </extension>
908
909         <!-- Variable Extensions -->
910         <extension point="net.sourceforge.phpeclipse.fileVariables">
911                 <variable
912                         tag="workspace_loc"
913                         description="Expands to the workspace root's absolute file system path."
914                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
915                 </variable>
916                 <variable
917                         tag="resource_loc"
918                         description="Expands to the resource's absolute file system path."
919                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
920                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
921                 </variable>
922         </extension>
923         
924         <extension point="net.sourceforge.phpeclipse.argumentVariables">
925                 <variable
926                         tag="workspace_loc"
927                         description="Expands to the workspace root's absolute file system path."
928                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
929                 </variable>
930                 <variable
931                         tag="file_loc"
932                         description="Expands to the full file name"
933                         expanderClass="net.sourceforge.phpdt.externaltools.variable.FileExpander">
934                 </variable>
935                 <variable
936                         tag="file_url"
937                         description="Expands to an URL with the localhost preference settings"
938                         expanderClass="net.sourceforge.phpdt.externaltools.variable.UrlExpander">
939                 </variable>
940                 <variable
941                         tag="localhost_url"
942                         description="Expands to the localhost preference settings."
943                         expanderClass="net.sourceforge.phpdt.externaltools.variable.LocalhostExpander">
944                 </variable>
945                 <variable
946                         tag="project_loc"
947                         description="Expands to the selected resource's project absolute file system path."
948                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
949                 </variable>
950                 <variable
951                         tag="project_path"
952                         description="Expands to the full path, relative to the workspace root, of the selected project"
953                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectExpander">
954                 </variable>
955                 <variable
956                         tag="project_name"
957                         description="Expands to the name of the selected project"
958                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectNameExpander">
959                 </variable>
960                 <variable
961                         tag="resource_loc"
962                         description="Expands to the resource's absolute file system path."
963                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
964                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
965                 </variable>
966                 <variable
967                         tag="container_loc"
968                         description="Expands to the selected resource's containing folder absolute file system path."
969                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
970                 </variable>
971                 <variable
972                         tag="build_type"
973                         description="Expands to the type of build"
974                         expanderClass="net.sourceforge.phpdt.externaltools.variable.BuildTypeExpander">
975                 </variable>
976         </extension>
977
978         <extension point="net.sourceforge.phpeclipse.directoryVariables">
979                 <variable
980                         tag="workspace_loc"
981                         description="Expands to the workspace root's absolute file system path."
982                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
983                 </variable>
984                 <variable
985                         tag="project_loc"
986                         description="Expands to the selected resource's project absolute file system path."
987                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
988                 </variable>
989                 <variable
990                         tag="container_loc"
991                         description="Expands to the selected resource's containing folder absolute file system path."
992                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
993                 </variable>
994                 <variable
995                         tag="resource_loc"
996                         description="Expands to a resource's absolute file system path."
997                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFolderResourceComponent"
998                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
999                 </variable>
1000         </extension>
1001
1002         <extension point="net.sourceforge.phpeclipse.refreshVariables">
1003                 <variable
1004                         tag="workspace"
1005                         description="Expands to the workspace root."
1006                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
1007                 </variable>
1008                 <variable
1009                         tag="project"
1010                         description="Expands to the project of the selected resource."
1011                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
1012                 </variable>
1013                 <variable
1014                         tag="container"
1015                         description="Expands to the folder containing the selected resource."
1016                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
1017                 </variable>
1018                 <variable
1019                         tag="resource"
1020                         description="Expands to a resource."
1021                         componentClass="net.sourceforge.phpdt.externaltools.variable.ResourceComponent"
1022                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1023                 </variable>
1024                 <variable
1025                         tag="working_set"
1026                         description="Expands to the group of resources in a working set."
1027                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkingSetExpander">
1028                 </variable>
1029         </extension>
1030 </plugin>