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