PHP obfuscator gets it's ignored identifiers from an "obfuscator.xml" file
[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.actionSets">
180       <actionSet
181             label="PHP/Apache"
182             visible="true"
183             id="net.sourceforge.phpeclipse.PHPActionSet">
184          <menu
185                label="PHP/Apache"
186                id="net.sourceforge.phpeclipse.PHPMenu">
187             <separator
188                   name="phpeclipse">
189             </separator>
190          </menu>
191          <action
192                label="Restart Apache"
193                icon="icons/obj16/apache_restart.gif"
194                tooltip="Restart Apache"
195                class="net.sourceforge.phpeclipse.actions.PHPRestartApacheAction"
196                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
197                toolbarPath="Normal"
198                id="net.sourceforge.phpeclipse.actions.PHPRestartApacheAction">
199          </action>
200          <action
201                label="Stop Apache"
202                icon="icons/obj16/apache_stop.gif"
203                tooltip="Stop Apache"
204                class="net.sourceforge.phpeclipse.actions.PHPStopApacheAction"
205                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
206                toolbarPath="Normal"
207                id="net.sourceforge.phpeclipse.actions.PHPStopApacheAction">
208          </action>
209          <action
210                label="Start Apache"
211                icon="icons/obj16/apache.gif"
212                tooltip="Start Apache"
213                class="net.sourceforge.phpeclipse.actions.PHPStartApacheAction"
214                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
215                toolbarPath="Normal"
216                id="net.sourceforge.phpeclipse.actions.PHPStartApacheAction">
217          </action>
218          <action
219                label="Start MySQL"
220                icon="icons/obj16/sql.gif"
221                tooltip="Start MySQL"
222                class="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction"
223                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
224                toolbarPath="Normal"
225                id="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction">
226          </action>
227       </actionSet>
228       <actionSet
229             label="%CodingActionSet.label"
230             visible="false"
231             id="net.sourceforge.phpeclipse.ui.CodingActionSet">
232 <!-- =========================================================================== -->
233 <!-- Source Menu                                                                 -->
234 <!-- =========================================================================== -->
235          <menu
236                label="%SourceMenu.label"
237                path="edit"
238                id="net.sourceforge.phpeclipse.ui.source.menu">
239             <separator
240                   name="editGroup">
241             </separator>
242          </menu>
243          <action
244                definitionId="net.sourceforge.phpeclipse.phpeditor.format"
245                label="%FormatAction.label"
246                retarget="true"
247                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
248                id="net.sourceforge.phpeclipse.phpeditor.Format">
249          </action>
250          <action
251                label="%ShiftLeftAction.label"
252                retarget="true"
253                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
254                id="net.sourceforge.phpeclipse.ui.actions.ShiftLeft">
255          </action>
256          <action
257                label="%ShiftRightAction.label"
258                retarget="true"
259                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
260                id="net.sourceforge.phpeclipse.ui.actions.ShiftRight">
261          </action>
262          <action
263                definitionId="net.sourceforge.phpeclipse.phpeditor.uncomment"
264                label="%UncommentAction.label"
265                retarget="true"
266                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
267                id="net.sourceforge.phpeclipse.phpeditor.Uncomment">
268          </action>
269          <action
270                definitionId="net.sourceforge.phpeclipse.phpeditor.comment"
271                label="%CommentAction.label"
272                retarget="true"
273                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
274                id="net.sourceforge.phpeclipse.phpeditor.Comment">
275          </action>
276       </actionSet>
277    </extension>
278    <extension
279          point="org.eclipse.ui.actionSetPartAssociations">
280       <actionSetPartAssociation
281             targetID="net.sourceforge.phpeclipse.ui.CodingActionSet">
282          <part
283                id="net.sourceforge.phpeclipse.PHPUnitEditor">
284          </part>
285       </actionSetPartAssociation>
286    </extension>
287 <!-- =========================================================================== -->
288 <!-- PHP Editor Action Definition IDs -->
289 <!-- =========================================================================== -->
290    <extension
291          point="org.eclipse.ui.actionDefinitions">
292 <!-- edit -->
293       <actionDefinition
294             id="net.sourceforge.phpeclipse.phpeditor.ContentAssistProposal">
295       </actionDefinition>
296 <!-- source -->
297       <actionDefinition
298             id="net.sourceforge.phpeclipse.phpeditor.Comment">
299       </actionDefinition>
300       <actionDefinition
301             id="net.sourceforge.phpeclipse.phpeditor.Uncomment">
302       </actionDefinition>
303       <actionDefinition
304             id="net.sourceforge.phpeclipse.phpeditor.Format">
305       </actionDefinition>
306       <actionDefinition
307             id="net.sourceforge.phpeclipse.ui.edit.text.php.show.outline">
308       </actionDefinition>
309       <actionDefinition
310             id="net.sourceforge.phpeclipse.ui.navigate.php.open.structure">
311       </actionDefinition>
312       <actionDefinition
313             id="net.sourceforge.phpeclipse.ui.edit.text.php.show.next.problem">
314       </actionDefinition>
315       <actionDefinition
316             id="net.sourceforge.phpeclipse.ui.edit.text.php.show.previous.problem">
317       </actionDefinition>
318    </extension>
319 <!--   <extension
320          point="org.eclipse.ui.acceleratorSets">
321       <acceleratorSet
322             scopeId="org.eclipse.ui.textEditorScope"
323             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
324          <accelerator
325                key="Ctrl+/"
326                id="net.sourceforge.phpdt.ui.actions.comment">
327          </accelerator>
328          <accelerator
329                key="Ctrl+\\"
330                id="net.sourceforge.phpdt.ui.actions.uncomment">
331          </accelerator>
332       </acceleratorSet>
333    </extension> -->
334    <extension
335          point="org.eclipse.ui.editors">
336       <editor
337             name="%phpEditorName"
338             default="true"
339             icon="icons/obj16/phpedit.gif"
340             extensions="php"
341             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
342             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
343             id="net.sourceforge.phpeclipse.PHPUnitEditor">
344       </editor>
345       <editor
346             name="%phpEditorName"
347             default="true"
348             icon="icons/obj16/phpedit.gif"
349             extensions="php3"
350             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
351             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
352             id="net.sourceforge.phpeclipse.PHPUnitEditor">
353       </editor>
354       <editor
355             name="%phpEditorName"
356             default="true"
357             icon="icons/obj16/phpedit.gif"
358             extensions="php4"
359             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
360             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
361             id="net.sourceforge.phpeclipse.PHPUnitEditor">
362       </editor>
363       <editor
364             name="%phpEditorName"
365             default="true"
366             icon="icons/obj16/phpedit.gif"
367             extensions="inc"
368             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
369             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
370             id="net.sourceforge.phpeclipse.PHPUnitEditor">
371       </editor>
372       <editor
373             name="%phpEditorName"
374             default="true"
375             icon="icons/obj16/phpedit.gif"
376             extensions="phtml"
377             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
378             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
379             id="net.sourceforge.phpeclipse.PHPUnitEditor">
380       </editor>
381       <editor
382             name="%phpEditorName"
383             default="true"
384             icon="icons/obj16/htmledit.gif"
385             extensions="htm"
386             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
387             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
388             id="net.sourceforge.phpeclipse.PHPUnitEditor">
389       </editor>
390       <editor
391             name="%phpEditorName"
392             default="true"
393             icon="icons/obj16/htmledit.gif"
394             extensions="html"
395             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
396             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
397             id="net.sourceforge.phpeclipse.PHPUnitEditor">
398       </editor>
399       <editor
400             name="%phpEditorName"
401             default="true"
402             icon="icons/obj16/xmledit.gif"
403             extensions="xml"
404             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
405             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
406             id="net.sourceforge.phpeclipse.PHPUnitEditor">
407       </editor>
408    </extension>
409    <extension
410          point="org.eclipse.ui.popupMenus">
411       <objectContribution
412             objectClass="org.eclipse.core.resources.IResource"
413             id="net.sourceforge.phpeclipse.actions.obfuscator">
414          <action
415                label="PHP Obfuscator"
416                class="net.sourceforge.phpeclipse.actions.PHPObfuscatorAction"
417                menubarPath="additions"
418                id="net.sourceforge.phpeclipse.actions.obfuscatorAction">
419          </action>
420       </objectContribution>
421       <objectContribution
422             objectClass="org.eclipse.core.resources.IFile"
423             nameFilter="*.php"
424             id="net.sourceforge.phpeclipse.actions.externalParserAction">
425          <action
426                label="Run External PHP Parser"
427                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
428                menubarPath="additions"
429                id="net.sourceforge.phpeclipse.actions.externalParserAction">
430          </action>
431       </objectContribution>
432       <objectContribution
433             objectClass="org.eclipse.core.resources.IFile"
434             nameFilter="*.php3"
435             id="net.sourceforge.phpeclipse.actions.externalParserAction">
436          <action
437                label="Run External PHP Parser"
438                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
439                menubarPath="additions"
440                id="net.sourceforge.phpeclipse.actions.externalParserAction">
441          </action>
442       </objectContribution>
443       <objectContribution
444             objectClass="org.eclipse.core.resources.IFile"
445             nameFilter="*.php4"
446             id="net.sourceforge.phpeclipse.actions.externalParserAction">
447          <action
448                label="Run External PHP Parser"
449                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
450                menubarPath="additions"
451                id="net.sourceforge.phpeclipse.actions.externalParserAction">
452          </action>
453       </objectContribution>
454       <objectContribution
455             objectClass="org.eclipse.core.resources.IFile"
456             nameFilter="*.inc"
457             id="net.sourceforge.phpeclipse.actions.externalParserAction">
458          <action
459                label="Run External PHP Parser"
460                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
461                menubarPath="additions"
462                id="net.sourceforge.phpeclipse.actions.externalParserAction">
463          </action>
464       </objectContribution>
465       <objectContribution
466             objectClass="org.eclipse.core.resources.IFile"
467             nameFilter="*.phtml"
468             id="net.sourceforge.phpeclipse.actions.externalParserAction">
469          <action
470                label="Run External PHP Parser"
471                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
472                menubarPath="additions"
473                id="net.sourceforge.phpeclipse.actions.externalParserAction">
474          </action>
475       </objectContribution>
476       <objectContribution
477             objectClass="org.eclipse.core.resources.IFile"
478             nameFilter="*.php"
479             id="net.sourceforge.phpeclipse.actions.popupShowAction">
480          <action
481                label="Open PHP Browser"
482                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
483                menubarPath="additions"
484                id="net.sourceforge.phpeclipse.actions.showAction">
485          </action>
486       </objectContribution>
487       <objectContribution
488             objectClass="org.eclipse.core.resources.IFile"
489             nameFilter="*.php3"
490             id="net.sourceforge.phpeclipse.actions.popupShowAction">
491          <action
492                label="Open PHP Browser"
493                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
494                menubarPath="additions"
495                id="net.sourceforge.phpeclipse.actions.showAction">
496          </action>
497       </objectContribution>
498       <objectContribution
499             objectClass="org.eclipse.core.resources.IFile"
500             nameFilter="*.php4"
501             id="net.sourceforge.phpeclipse.actions.popupShowAction">
502          <action
503                label="Open PHP Browser"
504                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
505                menubarPath="additions"
506                id="net.sourceforge.phpeclipse.actions.showAction">
507          </action>
508       </objectContribution>
509       <objectContribution
510             objectClass="org.eclipse.core.resources.IFile"
511             nameFilter="*.inc"
512             id="net.sourceforge.phpeclipse.actions.popupShowAction">
513          <action
514                label="Open PHP Browser"
515                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
516                menubarPath="additions"
517                id="net.sourceforge.phpeclipse.actions.showAction">
518          </action>
519       </objectContribution>
520       <objectContribution
521             objectClass="org.eclipse.core.resources.IFile"
522             nameFilter="*.phtml"
523             id="net.sourceforge.phpeclipse.actions.popupShowAction">
524          <action
525                label="Open PHP Browser"
526                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
527                menubarPath="additions"
528                id="net.sourceforge.phpeclipse.actions.showAction">
529          </action>
530       </objectContribution>
531       <objectContribution
532             objectClass="org.eclipse.core.resources.IFile"
533             nameFilter="*.html"
534             id="net.sourceforge.phpeclipse.actions.popupShowAction">
535          <action
536                label="Open PHP Browser"
537                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
538                menubarPath="additions"
539                id="net.sourceforge.phpeclipse.actions.showAction">
540          </action>
541       </objectContribution>
542             <objectContribution
543             objectClass="org.eclipse.core.resources.IFile"
544             nameFilter="*.htm"
545             id="net.sourceforge.phpeclipse.actions.popupShowAction">
546          <action
547                label="Open PHP Browser"
548                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
549                menubarPath="additions"
550                id="net.sourceforge.phpeclipse.actions.showAction">
551          </action>
552       </objectContribution>
553             <objectContribution
554             objectClass="org.eclipse.core.resources.IFile"
555             nameFilter="*.xml"
556             id="net.sourceforge.phpeclipse.actions.popupShowAction">
557          <action
558                label="Open PHP Browser"
559                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
560                menubarPath="additions"
561                id="net.sourceforge.phpeclipse.actions.showAction">
562          </action>
563       </objectContribution>
564
565       <viewerContribution
566             targetID="#PHPRulerContext"
567             id="net.sourceforge.phpdt.ui.PHPEditorPopupActions">
568          <action
569                label="%AddTask.label"
570                helpContextId="org.eclipse.ui.AddTask_action_context"
571                class="org.eclipse.ui.texteditor.TaskRulerAction"
572                menubarPath="add"
573                id="org.eclipse.ui.texteditor.TaskRulerAction">
574          </action>
575          <action
576                label="%AddBookmark.label"
577                helpContextId="org.eclipse.ui.bookmark_action_context"
578                class="org.eclipse.ui.texteditor.BookmarkRulerAction"
579                menubarPath="add"
580                id="org.eclipse.ui.texteditor.BookmarkRulerAction">
581          </action>
582       </viewerContribution>
583    </extension>
584    <extension
585          point="org.eclipse.ui.editorActions">
586       <editorContribution
587             targetID="net.sourceforge.phpeclipse.PHPEditor"
588             id="org.eclipse.ui.texteditor.ruler.actions">
589          <action
590                label="%Dummy.label"
591                helpContextId="org.eclipse.ui.bookmark_action_context"
592                class="org.eclipse.ui.texteditor.BookmarkRulerAction"
593                id="org.eclipse.ui.texteditor.BookmarkRulerAction">
594          </action>
595       </editorContribution>
596    </extension>
597    <extension
598          point="org.eclipse.ui.preferencePages">
599       <page
600             name="PHP"
601             class="net.sourceforge.phpeclipse.PHPEclipseBasePreferencePage"
602             id="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage">
603       </page>
604       <page
605             name="PHP Parser"
606             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
607             class="net.sourceforge.phpeclipse.PHPEclipseParserPreferencePage"
608             id="net.sourceforge.phpeclipse.preference.PHPEclipseParserPreferencePage">
609       </page>
610 <!--    <page
611             name="Editor2"
612             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
613             class="net.sourceforge.phpeclipse.PHPSyntaxEditorPreferencePage"
614             id="net.sourceforge.phpeclipse.preference.PHPSyntaxEditorPreferencePage">
615       </page>  -->
616       <page
617             name="Outline"
618             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
619             class="net.sourceforge.phpeclipse.PHPOutlinePreferencePage"
620             id="net.sourceforge.phpeclipse.preference.PHPOutlinePreferencePage">
621       </page>
622       <page
623             name="Templates"
624             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
625             class="net.sourceforge.phpdt.internal.ui.preferences.TemplatePreferencePage"
626             id="net.sourceforge.phpeclipse.preference.TemplatePreferencePage">
627       </page>
628       <page
629             name="Formatter"
630             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
631             class="net.sourceforge.phpdt.internal.ui.preferences.CodeFormatterPreferencePage"
632             id="net.sourceforge.phpeclipse.preference.CodeFormatterPreferencePage">
633       </page>
634       <page
635             name="Editor"
636             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
637             class="net.sourceforge.phpdt.internal.ui.preferences.PHPEditorPreferencePage"
638             id="net.sourceforge.phpeclipse.preference.PHPEditorPreferencePage">
639       </page>
640       <page
641             name="Language Settings"
642             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
643             class="net.sourceforge.phpeclipse.PHPLanguagePreferencePage"
644             id="net.sourceforge.phpeclipse.preference.PHPLanguagePreferencePage">
645       </page>
646    </extension>
647    <extension
648          point="org.eclipse.ui.documentProviders">
649       <provider
650             extensions="%phpFileExtension"
651             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
652             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
653       </provider>
654    </extension>
655    <extension
656          point="org.eclipse.ui.documentProviders">
657       <provider
658             extensions="%php3FileExtension"
659             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
660             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
661       </provider>
662    </extension>
663    <extension
664          point="org.eclipse.ui.documentProviders">
665       <provider
666             extensions="%php4FileExtension"
667             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
668             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
669       </provider>
670    </extension>
671    <extension
672          point="org.eclipse.ui.documentProviders">
673       <provider
674             extensions="%incFileExtension"
675             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
676             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
677       </provider>
678    </extension>
679    <extension
680          point="org.eclipse.ui.documentProviders">
681       <provider
682             extensions="%phtmlFileExtension"
683             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
684             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
685       </provider>
686    </extension>
687    <extension
688          point="org.eclipse.ui.documentProviders">
689       <provider
690             extensions="%htmlFileExtension"
691             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
692             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
693       </provider>
694    </extension>
695    <extension
696          point="org.eclipse.ui.documentProviders">
697       <provider
698             extensions="%htmFileExtension"
699             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
700             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
701       </provider>
702    </extension>
703    <extension
704          point="org.eclipse.ui.documentProviders">
705       <provider
706             extensions="%xmlFileExtension"
707             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
708             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
709       </provider>
710    </extension>
711    <extension
712          point="org.eclipse.ui.views">
713       <view
714             name="%phpConsoleView"
715             icon="icons/obj16/php.gif"
716             class="net.sourceforge.phpeclipse.views.PHPConsole"
717             id="net.sourceforge.phpeclipse.views.phpconsoleview">
718       </view>
719    </extension>
720 <!-- =========================================================================== -->
721 <!-- Java Editor Key Bindings -->
722 <!-- =========================================================================== -->
723    <extension
724          point="org.eclipse.ui.acceleratorSets">
725       <acceleratorSet
726             scopeId="org.eclipse.ui.textEditorScope"
727             configurationId="org.eclipse.ui.emacsAcceleratorConfiguration">
728 <!-- edit -->
729          <accelerator
730                key="Ctrl+Shift+P"
731                id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
732          </accelerator>
733          <accelerator
734                key="Ctrl+1"
735                id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals">
736          </accelerator>
737 <!-- source -->
738          <accelerator
739                key="Ctrl+/"
740                id="net.sourceforge.phpeclipse.phpeditor.comment">
741          </accelerator>
742          <accelerator
743                key="Ctrl+\"
744                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
745          </accelerator>
746          <accelerator
747                key="Ctrl+Shift+F"
748                id="net.sourceforge.phpeclipse.phpeditor.format">
749          </accelerator>
750          <accelerator
751                key="Ctrl+O"
752                id="net.sourceforge.phpeclipse.ui.edit.text.php.show.outline">
753          </accelerator>
754          <accelerator
755                key="Ctrl+F3"
756                id="net.sourceforge.phpeclipse.ui.navigate.php.open.structure">
757          </accelerator>
758       </acceleratorSet>
759       <acceleratorSet
760             scopeId="org.eclipse.ui.textEditorScope"
761             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
762 <!-- edit -->
763          <accelerator
764                key="Ctrl+Shift+P"
765                id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
766          </accelerator>
767          <accelerator
768                key="Ctrl+Space"
769                id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals">
770          </accelerator>
771 <!-- source -->
772          <accelerator
773                key="Ctrl+/"
774                id="net.sourceforge.phpeclipse.phpeditor.comment">
775          </accelerator>
776          <accelerator
777                key="Ctrl+\"
778                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
779          </accelerator>
780          <accelerator
781                key="Ctrl+Shift+F"
782                id="net.sourceforge.phpeclipse.phpeditor.format">
783          </accelerator>
784          <accelerator
785                key="Ctrl+F3"
786                id="net.sourceforge.phpeclipse.ui.navigate.php.open.structure">
787          </accelerator>
788          <accelerator
789                key="Ctrl+O"
790                id="net.sourceforge.phpeclipse.ui.edit.text.php.show.outline">
791          </accelerator>
792       </acceleratorSet>
793       <acceleratorSet
794             scopeId="org.eclipse.ui.textEditorScope"
795             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
796 <!-- edit -->
797          <accelerator
798                platform="carbon"
799                key="Command+Shift+P"
800                id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
801          </accelerator>
802          <accelerator
803                platform="carbon"
804                key="Command+1"
805                id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals">
806          </accelerator>
807 <!-- source -->
808          <accelerator
809                platform="carbon"
810                key="Command+/"
811                id="net.sourceforge.phpeclipse.phpeditor.comment">
812          </accelerator>
813          <accelerator
814                platform="carbon"
815                key="Command+\"
816                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
817          </accelerator>
818       </acceleratorSet>
819    </extension>
820
821 <!-- external tools -->
822
823 <!-- extension point definitions -->
824         <extension-point id="configurationDuplicationMaps" name="%ExtPoint.configurationDuplicationMaps"/>
825         <extension-point id="argumentVariables" name="%ExtPoint.argumentVariables"/>
826         <extension-point id="directoryVariables" name="%ExtPoint.directoryVariables"/>
827         <extension-point id="fileVariables" name="%ExtPoint.fileVariables"/>
828         <extension-point id="refreshVariables" name="%ExtPoint.refreshVariables"/>
829         
830 <!-- Extensions -->
831         <extension point="org.eclipse.ui.actionSets">
832                 <actionSet
833                         id="net.sourceforge.phpdt.externaltools.ExternalToolsSet"
834                         label="%ActionSet.externalTools"
835                         visible="true">
836                         <menu id="org.eclipse.ui.run" 
837                                 label="%Menu.run" 
838                                 path="additions"> 
839                                 <separator name="ExternalToolsGroup"/> 
840                         </menu> 
841         <!--            <action
842                                 id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateMenu"
843                                 label="%Action.externalTools"
844                                 menubarPath="org.eclipse.ui.run/ExternalToolsGroup"
845                                 disabledIcon="icons/externaltools/full/dtool16/external_tools.gif"
846                                 icon="icons/externaltools/full/etool16/external_tools.gif"
847                                 hoverIcon="icons/externaltools/full/ctool16/external_tools.gif"
848                                 pulldown="true"
849                                 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
850                         </action> -->
851                         <action
852                                 id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateToolbar"
853                                 label="%Action.externalTools"
854                                 toolbarPath="Normal/additions"
855                                 disabledIcon="icons/externaltools/full/dtool16/external_tools.gif"
856                                 icon="icons/externaltools/full/etool16/external_tools.gif"
857                                 hoverIcon="icons/externaltools/full/ctool16/external_tools.gif"
858                                 tooltip="%Action.externalToolsTip"
859                                 pulldown="true"
860                                 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
861                         </action>
862                 </actionSet>
863         </extension>
864
865     <!-- Launch Configuration Extensions -->
866     <extension point="org.eclipse.debug.core.launchConfigurationTypes">
867         <launchConfigurationType
868                 id = "net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
869                 name = "%Program.externalTools"
870                 delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
871                 modes = "run"
872                 category = "org.eclipse.ui.externaltools">
873         </launchConfigurationType>
874         <launchConfigurationType
875                 id = "net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
876                 name = "%Program.externalTools"
877                 delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
878                 modes = "run"
879                 category = "org.eclipse.ui.externaltools.builder">
880         </launchConfigurationType>
881     </extension>
882     
883     <extension point = "net.sourceforge.phpeclipse.configurationDuplicationMaps">
884         <configurationMap
885                 sourceType="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
886                 builderType="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType">
887         </configurationMap>
888     </extension>
889     
890     <extension point = "org.eclipse.debug.ui.launchConfigurationTabGroups">
891                 <launchConfigurationTabGroup
892                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program"
893                         type ="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
894                         class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramTabGroup">
895                 </launchConfigurationTabGroup>
896                 <launchConfigurationTabGroup
897                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program.builder"
898                         type ="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
899                         class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramBuilderTabGroup">
900                 </launchConfigurationTabGroup>
901         </extension>
902         
903         <extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
904                 <launchConfigurationTypeImage
905                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program"
906                         configTypeID="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
907                         icon="icons/externaltools/full/obj16/external_tools.gif">
908                 </launchConfigurationTypeImage> 
909                 <launchConfigurationTypeImage
910                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program.builder"
911                         configTypeID="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
912                         icon="icons/externaltools/full/obj16/external_tools.gif">
913                 </launchConfigurationTypeImage> 
914         </extension>
915
916         <!-- Variable Extensions -->
917         <extension point="net.sourceforge.phpeclipse.fileVariables">
918                 <variable
919                         tag="workspace_loc"
920                         description="Expands to the workspace root's absolute file system path."
921                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
922                 </variable>
923                 <variable
924                         tag="resource_loc"
925                         description="Expands to the resource's absolute file system path."
926                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
927                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
928                 </variable>
929         </extension>
930         
931         <extension point="net.sourceforge.phpeclipse.argumentVariables">
932                 <variable
933                         tag="workspace_loc"
934                         description="Expands to the workspace root's absolute file system path."
935                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
936                 </variable>
937                 <variable
938                         tag="file_loc"
939                         description="Expands to the full file name"
940                         expanderClass="net.sourceforge.phpdt.externaltools.variable.FileExpander">
941                 </variable>
942                 <variable
943                         tag="file_url"
944                         description="Expands to an URL with the localhost preference settings"
945                         expanderClass="net.sourceforge.phpdt.externaltools.variable.UrlExpander">
946                 </variable>
947                 <variable
948                         tag="localhost_url"
949                         description="Expands to the localhost preference settings."
950                         expanderClass="net.sourceforge.phpdt.externaltools.variable.LocalhostExpander">
951                 </variable>
952                 <variable
953                         tag="project_loc"
954                         description="Expands to the selected resource's project absolute file system path."
955                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
956                 </variable>
957                 <variable
958                         tag="project_path"
959                         description="Expands to the full path, relative to the workspace root, of the selected project"
960                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectExpander">
961                 </variable>
962                 <variable
963                         tag="project_name"
964                         description="Expands to the name of the selected project"
965                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectNameExpander">
966                 </variable>
967                 <variable
968                         tag="resource_loc"
969                         description="Expands to the resource's absolute file system path."
970                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
971                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
972                 </variable>
973                 <variable
974                         tag="container_loc"
975                         description="Expands to the selected resource's containing folder absolute file system path."
976                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
977                 </variable>
978                 <variable
979                         tag="build_type"
980                         description="Expands to the type of build"
981                         expanderClass="net.sourceforge.phpdt.externaltools.variable.BuildTypeExpander">
982                 </variable>
983         </extension>
984
985         <extension point="net.sourceforge.phpeclipse.directoryVariables">
986                 <variable
987                         tag="workspace_loc"
988                         description="Expands to the workspace root's absolute file system path."
989                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
990                 </variable>
991                 <variable
992                         tag="project_loc"
993                         description="Expands to the selected resource's project absolute file system path."
994                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
995                 </variable>
996                 <variable
997                         tag="container_loc"
998                         description="Expands to the selected resource's containing folder absolute file system path."
999                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
1000                 </variable>
1001                 <variable
1002                         tag="resource_loc"
1003                         description="Expands to a resource's absolute file system path."
1004                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFolderResourceComponent"
1005                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1006                 </variable>
1007         </extension>
1008
1009         <extension point="net.sourceforge.phpeclipse.refreshVariables">
1010                 <variable
1011                         tag="workspace"
1012                         description="Expands to the workspace root."
1013                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
1014                 </variable>
1015                 <variable
1016                         tag="project"
1017                         description="Expands to the project of the selected resource."
1018                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
1019                 </variable>
1020                 <variable
1021                         tag="container"
1022                         description="Expands to the folder containing the selected resource."
1023                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
1024                 </variable>
1025                 <variable
1026                         tag="resource"
1027                         description="Expands to a resource."
1028                         componentClass="net.sourceforge.phpdt.externaltools.variable.ResourceComponent"
1029                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
1030                 </variable>
1031                 <variable
1032                         tag="working_set"
1033                         description="Expands to the group of resources in a working set."
1034                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkingSetExpander">
1035                 </variable>
1036         </extension>
1037 </plugin>