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