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