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