new japanese language pack
[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    <extension
625          point="org.eclipse.ui.editorActions">
626       <editorContribution
627             targetID="net.sourceforge.phpeclipse.PHPEditor"
628             id="org.eclipse.ui.texteditor.ruler.actions">
629          <action
630                label="%Dummy.label"
631                helpContextId="org.eclipse.ui.bookmark_action_context"
632                class="org.eclipse.ui.texteditor.BookmarkRulerAction"
633                id="org.eclipse.ui.texteditor.BookmarkRulerAction">
634          </action>
635       </editorContribution>
636    </extension>
637    <extension
638          point="org.eclipse.ui.preferencePages">
639       <page
640             name="PHP"
641             class="net.sourceforge.phpeclipse.PHPEclipseBasePreferencePage"
642             id="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage">
643       </page>
644       <page
645             name="PHP Parser"
646             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
647             class="net.sourceforge.phpeclipse.PHPEclipseParserPreferencePage"
648             id="net.sourceforge.phpeclipse.preference.PHPEclipseParserPreferencePage">
649       </page>
650 <!--    <page
651             name="Editor2"
652             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
653             class="net.sourceforge.phpeclipse.PHPSyntaxEditorPreferencePage"
654             id="net.sourceforge.phpeclipse.preference.PHPSyntaxEditorPreferencePage">
655       </page>  -->
656       <page
657             name="Outline"
658             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
659             class="net.sourceforge.phpeclipse.PHPOutlinePreferencePage"
660             id="net.sourceforge.phpeclipse.preference.PHPOutlinePreferencePage">
661       </page>
662       <page
663             name="Templates"
664             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
665             class="net.sourceforge.phpdt.internal.ui.preferences.TemplatePreferencePage"
666             id="net.sourceforge.phpeclipse.preference.TemplatePreferencePage">
667       </page>
668       <page
669             name="Formatter"
670             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
671             class="net.sourceforge.phpdt.internal.ui.preferences.CodeFormatterPreferencePage"
672             id="net.sourceforge.phpeclipse.preference.CodeFormatterPreferencePage">
673       </page>
674       <page
675             name="Editor"
676             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
677             class="net.sourceforge.phpdt.internal.ui.preferences.PHPEditorPreferencePage"
678             id="net.sourceforge.phpeclipse.preference.PHPEditorPreferencePage">
679       </page>
680       <page
681             name="Language Settings"
682             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
683             class="net.sourceforge.phpeclipse.PHPLanguagePreferencePage"
684             id="net.sourceforge.phpeclipse.preference.PHPLanguagePreferencePage">
685       </page>
686    </extension>
687    <extension
688          point="org.eclipse.ui.documentProviders">
689       <provider
690             extensions="%phpFileExtension"
691             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
692             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
693       </provider>
694    </extension>
695    <extension
696          point="org.eclipse.ui.documentProviders">
697       <provider
698             extensions="%php3FileExtension"
699             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
700             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
701       </provider>
702    </extension>
703    <extension
704          point="org.eclipse.ui.documentProviders">
705       <provider
706             extensions="%php4FileExtension"
707             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
708             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
709       </provider>
710    </extension>
711    <extension
712          point="org.eclipse.ui.documentProviders">
713       <provider
714             extensions="%incFileExtension"
715             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
716             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
717       </provider>
718    </extension>
719    <extension
720          point="org.eclipse.ui.documentProviders">
721       <provider
722             extensions="%phtmlFileExtension"
723             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
724             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
725       </provider>
726    </extension>
727    <extension
728          point="org.eclipse.ui.documentProviders">
729       <provider
730             extensions="%htmlFileExtension"
731             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
732             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
733       </provider>
734    </extension>
735    <extension
736          point="org.eclipse.ui.documentProviders">
737       <provider
738             extensions="%htmFileExtension"
739             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
740             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
741       </provider>
742    </extension>
743    <extension
744          point="org.eclipse.ui.documentProviders">
745       <provider
746             extensions="%xmlFileExtension"
747             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
748             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
749       </provider>
750    </extension>
751    <extension
752          point="org.eclipse.ui.documentProviders">
753       <provider
754             extensions="%tplFileExtension"
755             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
756             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
757       </provider>
758    </extension>
759    <extension
760          point="org.eclipse.ui.views">
761       <view
762             name="%phpConsoleView"
763             icon="icons/obj16/php.gif"
764             class="net.sourceforge.phpeclipse.views.PHPConsole"
765             id="net.sourceforge.phpeclipse.views.phpconsoleview">
766       </view>
767    </extension>
768
769 <!-- =========================================================================== -->
770 <!-- PHPDT/UI Editor Key Bindings -->
771 <!-- =========================================================================== -->
772    <extension
773          point="org.eclipse.ui.acceleratorSets">
774       <acceleratorSet
775             scopeId="org.eclipse.ui.textEditorScope"
776             configurationId="org.eclipse.ui.emacsAcceleratorConfiguration">
777 <!-- edit -->
778          <accelerator
779                key="Ctrl+Shift+P"
780                id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
781          </accelerator>
782          <accelerator
783                key="Ctrl+1"
784                id="org.eclipse.ui.edit.text.contentAssist.proposals">
785          </accelerator>
786 <!-- source -->
787          <accelerator
788                key="Ctrl+/"
789                id="net.sourceforge.phpeclipse.phpeditor.comment">
790          </accelerator>
791          <accelerator
792                key="Ctrl+\"
793                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
794          </accelerator> 
795          <accelerator
796                key="Ctrl+Shift+F"
797                id="net.sourceforge.phpeclipse.phpeditor.format">
798          </accelerator>
799          <accelerator
800                key="Ctrl+O"
801                id="net.sourceforge.phpeclipse.ui.edit.text.php.show.outline">
802          </accelerator>
803          <accelerator
804                key="Ctrl+F3"
805                id="net.sourceforge.phpeclipse.ui.navigate.php.open.structure">
806          </accelerator>
807       </acceleratorSet>
808       <acceleratorSet
809             scopeId="org.eclipse.ui.textEditorScope"
810             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
811 <!-- edit -->
812          <accelerator
813                key="Ctrl+Shift+P"
814                id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
815          </accelerator>
816          <accelerator
817                key="Ctrl+Space"
818                id="org.eclipse.ui.edit.text.contentAssist.proposals">
819          </accelerator> 
820 <!-- source -->
821          <accelerator
822                key="Ctrl+/"
823                id="net.sourceforge.phpeclipse.phpeditor.comment">
824          </accelerator>
825          <accelerator
826                key="Ctrl+\"
827                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
828          </accelerator>
829          <accelerator
830                key="Ctrl+Shift+F"
831                id="net.sourceforge.phpeclipse.phpeditor.format">
832          </accelerator>
833          <accelerator
834                key="Ctrl+F3"
835                id="net.sourceforge.phpeclipse.ui.navigate.php.open.structure">
836          </accelerator>
837          <accelerator
838                key="Ctrl+O"
839                id="net.sourceforge.phpeclipse.ui.edit.text.php.show.outline">
840          </accelerator>
841       </acceleratorSet>
842       <acceleratorSet
843             scopeId="org.eclipse.ui.textEditorScope"
844             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
845 <!-- edit -->
846          <accelerator
847                platform="carbon"
848                key="Command+Shift+P"
849                id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
850          </accelerator>
851          <accelerator
852                platform="carbon"
853                key="Command+1"
854                id="org.eclipse.ui.edit.text.contentAssist.proposals">
855          </accelerator>
856 <!-- source -->
857          <accelerator
858                platform="carbon"
859                key="Command+/"
860                id="net.sourceforge.phpeclipse.phpeditor.comment">
861          </accelerator>
862          <accelerator
863                platform="carbon"
864                key="Command+\"
865                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
866          </accelerator> 
867       </acceleratorSet>
868    </extension>
869
870 <!-- external tools -->
871
872 <!-- extension point definitions -->
873         <extension-point id="configurationDuplicationMaps" name="%ExtPoint.configurationDuplicationMaps"/>
874         <extension-point id="argumentVariables" name="%ExtPoint.argumentVariables"/>
875         <extension-point id="directoryVariables" name="%ExtPoint.directoryVariables"/>
876         <extension-point id="fileVariables" name="%ExtPoint.fileVariables"/>
877         <extension-point id="refreshVariables" name="%ExtPoint.refreshVariables"/>
878         
879 <!-- Extensions -->
880         <extension point="org.eclipse.ui.actionSets">
881                 <actionSet
882                         id="net.sourceforge.phpdt.externaltools.ExternalToolsSet"
883                         label="%ActionSet.externalTools"
884                         visible="true">
885                         <menu id="org.eclipse.ui.run" 
886                                 label="%Menu.run" 
887                                 path="additions"> 
888                                 <separator name="ExternalToolsGroup"/> 
889                         </menu> 
890         <!--            <action
891                                 id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateMenu"
892                                 label="%Action.externalTools"
893                                 menubarPath="org.eclipse.ui.run/ExternalToolsGroup"
894                                 disabledIcon="icons/externaltools/full/dtool16/external_tools.gif"
895                                 icon="icons/externaltools/full/etool16/external_tools.gif"
896                                 hoverIcon="icons/externaltools/full/ctool16/external_tools.gif"
897                                 pulldown="true"
898                                 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
899                         </action> 
900                         <action
901                                 id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateToolbar"
902                                 label="%Action.externalTools"
903                                 toolbarPath="Normal/additions"
904                                 disabledIcon="icons/externaltools/full/dtool16/external_tools.gif"
905                                 icon="icons/externaltools/full/etool16/external_tools.gif"
906                                 hoverIcon="icons/externaltools/full/ctool16/external_tools.gif"
907                                 tooltip="%Action.externalToolsTip"
908                                 pulldown="true"
909                                 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
910                         </action> -->
911                 </actionSet>
912         </extension>
913
914     <!-- Launch Configuration Extensions -->
915     <extension point="org.eclipse.debug.core.launchConfigurationTypes">
916         <launchConfigurationType
917                 id = "net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
918                 name = "%Program.externalTools"
919                 delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
920                 modes = "run"
921                 category = "org.eclipse.ui.externaltools">
922         </launchConfigurationType>
923         <launchConfigurationType
924                 id = "net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
925                 name = "%Program.externalTools"
926                 delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
927                 modes = "run"
928                 category = "org.eclipse.ui.externaltools.builder">
929         </launchConfigurationType>
930     </extension>
931     
932     <extension point = "net.sourceforge.phpeclipse.configurationDuplicationMaps">
933         <configurationMap
934                 sourceType="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
935                 builderType="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType">
936         </configurationMap>
937     </extension>
938     
939     <extension point = "org.eclipse.debug.ui.launchConfigurationTabGroups">
940                 <launchConfigurationTabGroup
941                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program"
942                         type ="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
943                         class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramTabGroup">
944                 </launchConfigurationTabGroup>
945                 <launchConfigurationTabGroup
946                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program.builder"
947                         type ="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
948                         class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramBuilderTabGroup">
949                 </launchConfigurationTabGroup>
950         </extension>
951         
952         <extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
953                 <launchConfigurationTypeImage
954                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program"
955                         configTypeID="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
956                         icon="icons/externaltools/full/obj16/external_tools.gif">
957                 </launchConfigurationTypeImage> 
958                 <launchConfigurationTypeImage
959                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program.builder"
960                         configTypeID="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
961                         icon="icons/externaltools/full/obj16/external_tools.gif">
962                 </launchConfigurationTypeImage> 
963         </extension>
964
965         <!-- Variable Extensions -->
966         <extension point="net.sourceforge.phpeclipse.fileVariables">
967                 <variable
968                         tag="workspace_loc"
969                         description="Expands to the workspace root's absolute file system path."
970                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
971                 </variable>
972                 <variable
973                         tag="resource_loc"
974                         description="Expands to the resource's absolute file system path."
975                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
976                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
977                 </variable>
978         </extension>
979         
980         <extension point="net.sourceforge.phpeclipse.argumentVariables">
981                 <variable
982                         tag="workspace_loc"
983                         description="Expands to the workspace root's absolute file system path."
984                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
985                 </variable>
986                 <variable
987                         tag="file_loc"
988                         description="Expands to the full file name"
989                         expanderClass="net.sourceforge.phpdt.externaltools.variable.FileExpander">
990                 </variable>
991                 <variable
992                         tag="file_url"
993                         description="Expands to an URL with the localhost preference settings"
994                         expanderClass="net.sourceforge.phpdt.externaltools.variable.UrlExpander">
995                 </variable>
996                 <variable
997                         tag="localhost_url"
998                         description="Expands to the localhost preference settings."
999                         expanderClass="net.sourceforge.phpdt.externaltools.variable.LocalhostExpander">
1000                 </variable>
1001                 <variable
1002                         tag="project_loc"
1003                         description="Expands to the selected resource's project absolute file system path."
1004                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
1005                 </variable>
1006                 <variable
1007                         tag="project_path"
1008                         description="Expands to the full path, relative to the workspace root, of the selected project"
1009                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectExpander">
1010                 </variable>
1011                 <variable
1012                         tag="project_name"
1013                         description="Expands to the name of the selected project"
1014                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectNameExpander">
1015                 </variable>
1016                 <variable
1017                         tag="resource_loc"
1018                         description="Expands to the resource's absolute file system path."
1019                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
1020                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1021                 </variable>
1022                 <variable
1023                         tag="container_loc"
1024                         description="Expands to the selected resource's containing folder absolute file system path."
1025                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
1026                 </variable>
1027                 <variable
1028                         tag="build_type"
1029                         description="Expands to the type of build"
1030                         expanderClass="net.sourceforge.phpdt.externaltools.variable.BuildTypeExpander">
1031                 </variable>
1032         </extension>
1033
1034         <extension point="net.sourceforge.phpeclipse.directoryVariables">
1035                 <variable
1036                         tag="workspace_loc"
1037                         description="Expands to the workspace root's absolute file system path."
1038                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
1039                 </variable>
1040                 <variable
1041                         tag="project_loc"
1042                         description="Expands to the selected resource's project absolute file system path."
1043                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
1044                 </variable>
1045                 <variable
1046                         tag="container_loc"
1047                         description="Expands to the selected resource's containing folder absolute file system path."
1048                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
1049                 </variable>
1050                 <variable
1051                         tag="resource_loc"
1052                         description="Expands to a resource's absolute file system path."
1053                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFolderResourceComponent"
1054                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1055                 </variable>
1056         </extension>
1057
1058         <extension point="net.sourceforge.phpeclipse.refreshVariables">
1059                 <variable
1060                         tag="workspace"
1061                         description="Expands to the workspace root."
1062                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
1063                 </variable>
1064                 <variable
1065                         tag="project"
1066                         description="Expands to the project of the selected resource."
1067                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
1068                 </variable>
1069                 <variable
1070                         tag="container"
1071                         description="Expands to the folder containing the selected resource."
1072                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
1073                 </variable>
1074                 <variable
1075                         tag="resource"
1076                         description="Expands to a resource."
1077                         componentClass="net.sourceforge.phpdt.externaltools.variable.ResourceComponent"
1078                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1079                 </variable>
1080                 <variable
1081                         tag="working_set"
1082                         description="Expands to the group of resources in a working set."
1083                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkingSetExpander">
1084                 </variable>
1085         </extension>
1086 </plugin>