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