use module net.sourceforge.phpeclipse.phphelp instead of net.sourceforge.phpeclipse...
[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.3"
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.ui"/>
20       <import plugin="org.apache.xerces"/>
21    </requires>
22
23
24    <extension
25          id="phpnature"
26          name="%naturePHP.name"
27          point="org.eclipse.core.resources.natures">
28       <runtime>
29          <run
30                class="net.sourceforge.phpeclipse.PHPProject">
31          </run>
32       </runtime>
33    </extension>
34    <extension
35          point="org.eclipse.team.core.fileTypes">
36       <fileTypes
37             type="text"
38             extension="php">
39       </fileTypes>
40       <fileTypes
41             type="text"
42             extension="php3">
43       </fileTypes>
44       <fileTypes
45             type="text"
46             extension="php4">
47       </fileTypes>
48       <fileTypes
49             type="text"
50             extension="inc">
51       </fileTypes>
52       <fileTypes
53             type="text"
54             extension="phtml">
55       </fileTypes>
56       <fileTypes
57             type="text"
58             extension="html">
59       </fileTypes>
60       <fileTypes
61             type="text"
62             extension="htm">
63       </fileTypes>
64    </extension>
65    <extension
66          point="org.eclipse.ui.perspectives">
67       <perspective
68             name="%perspectivePHP.name"
69             icon="icons/obj16/php.gif"
70             class="net.sourceforge.phpeclipse.PHPPerspectiveFactory"
71             id="net.sourceforge.phpeclipse.PHPPerspective">
72       </perspective>
73    </extension>
74    <extension
75          point="org.eclipse.ui.newWizards">
76       <category
77             name="%newWizardCategory.name"
78             id="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP">
79       </category>
80       <wizard
81             name="%newWizardPHPProject.name"
82             icon="icons/obj16/php.gif"
83             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
84             class="net.sourceforge.phpeclipse.wizards.NewProjectCreationWizard"
85             project="true"
86             id="net.sourceforge.phpeclipse.wizards.NewWizardProjectCreation">
87          <description>
88             Create a new PHP project.
89          </description>
90       </wizard>
91    </extension>
92 <!--   <extension
93          point="org.eclipse.ui.newWizards">
94       <category
95             name="%newWizardCategory.name"
96             id="net.sourceforge.phpeclipse.wizardCategory">
97       </category>
98       <wizard
99             name="%newWizardPHPFile.name"
100             icon="icons/obj16/phpedit.gif"
101             category="net.sourceforge.phpeclipse.wizardCategory"
102             class="net.sourceforge.phpeclipse.wizards.PHPFileWizard"
103             id="net.sourceforge.phpeclipse.wizards.PHPFileWizard">
104          <description>
105             Create a basic PHP file.
106          </description>
107       </wizard>
108    </extension> -->
109    <extension
110          point="org.eclipse.ui.projectNatureImages">
111       <image
112             icon="icons/obj16/php.gif"
113             natureId="net.sourceforge.phpeclipse.phpnature"
114             id="net.sourceforge.phpeclipse..ProjectNatureImagePHP">
115       </image>
116    </extension>
117    <extension
118          point="org.eclipse.ui.propertyPages">
119       <page
120             objectClass="org.eclipse.core.resources.IProject"
121             name="%propertyPagePHPProject.name"
122             class="net.sourceforge.phpeclipse.preferences.PHPProjectPropertyPage"
123             id="net.sourceforge.phpeclipse.preferences.PropertyPagePHPProject">
124          <filter
125                name="nature"
126                value="net.sourceforge.phpeclipse.phpnature">
127          </filter>
128       </page>
129       <page
130             objectClass="net.sourceforge.phpeclipse.PHPProject"
131             name="%propertyPagePHPProject.name"
132             class="net.sourceforge.phpeclipse.preferences.PHPProjectPropertyPage"
133             id="net.sourceforge.phpeclipse.preferences.PropertyPagePHPProject">
134          <filter
135                name="nature"
136                value="net.sourceforge.phpeclipse.phpnature">
137          </filter>
138       </page>
139    </extension>
140    <extension
141          point="org.eclipse.ui.views">
142       <view
143             name="%viewPHPResources.name"
144             icon="icons/obj16/php.gif"
145             class="net.sourceforge.phpeclipse.resourcesview.PHPResourcesView"
146             id="net.sourceforge.phpeclipse.resourcesview.ViewPHPResources">
147       </view>
148    </extension>
149    <extension
150          point="org.eclipse.ui.actionSets">
151       <actionSet
152             label="PHP/Apache"
153             description="Starting MySQL and Apache."
154             visible="true"
155             id="net.sourceforge.phpeclipse.PHPActionSet">
156          <menu
157                label="PHP/Apache"
158                id="net.sourceforge.phpeclipse.PHPMenu">
159             <separator
160                   name="phpeclipse">
161             </separator>
162          </menu>
163          <action
164                label="Restart Apache"
165                icon="icons/obj16/apache_restart.gif"
166                tooltip="Restart Apache"
167                class="net.sourceforge.phpeclipse.actions.PHPRestartApacheAction"
168                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
169                toolbarPath="Normal"
170                start="true"
171                id="net.sourceforge.phpeclipse.actions.PHPRestartApacheAction">
172          </action>
173          <action
174                label="Stop Apache"
175                icon="icons/obj16/apache_stop.gif"
176                tooltip="Stop Apache"
177                class="net.sourceforge.phpeclipse.actions.PHPStopApacheAction"
178                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
179                toolbarPath="Normal"
180                start="true"
181                id="net.sourceforge.phpeclipse.actions.PHPStopApacheAction">
182          </action>
183          <action
184                label="Start Apache"
185                icon="icons/obj16/apache.gif"
186                tooltip="Start Apache"
187                class="net.sourceforge.phpeclipse.actions.PHPStartApacheAction"
188                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
189                toolbarPath="Normal"
190                start="true"
191                id="net.sourceforge.phpeclipse.actions.PHPStartApacheAction">
192          </action>
193          <action
194                label="Start MySQL"
195                icon="icons/obj16/sql.gif"
196                tooltip="Start MySQL"
197                class="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction"
198                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
199                toolbarPath="Normal"
200                start="true"
201                id="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction">
202          </action>
203       </actionSet>
204    </extension>
205 <!--  <extension
206          point="org.eclipse.ui.actionDefinitions">
207       <actionDefinition
208             id="net.sourceforge.phpeclipse.phpeditor.comment">
209       </actionDefinition>
210       <actionDefinition
211             id="net.sourceforge.phpeclipse.phpeditor.uncomment">
212       </actionDefinition>
213    </extension> 
214    <extension
215          point="org.eclipse.ui.acceleratorSets">
216       <acceleratorSet
217             scopeId="org.eclipse.ui.textEditorScope"
218             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
219          <accelerator
220                key="Ctrl+/"
221                id="net.sourceforge.phpeclipse.phpeditor.comment">
222          </accelerator>
223          <accelerator
224                key="Ctrl+\\"
225                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
226          </accelerator>
227       </acceleratorSet>
228    </extension> -->
229    <extension
230          point="org.eclipse.ui.editors">
231       <editor
232             name="%phpEditorName"
233             icon="icons/obj16/phpedit.gif"
234             extensions="php"
235             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
236             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
237             id="net.sourceforge.phpeclipse.PHPEditor">
238       </editor>
239       <editor
240             name="%phpEditorName"
241             icon="icons/obj16/phpedit.gif"
242             extensions="php3"
243             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
244             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
245             id="net.sourceforge.phpeclipse.PHPEditor">
246       </editor>
247       <editor
248             name="%phpEditorName"
249             icon="icons/obj16/phpedit.gif"
250             extensions="php4"
251             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
252             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
253             id="net.sourceforge.phpeclipse.PHPEditor">
254       </editor>
255       <editor
256             name="%phpEditorName"
257             icon="icons/obj16/phpedit.gif"
258             extensions="inc"
259             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
260             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
261             id="net.sourceforge.phpeclipse.PHPEditor">
262       </editor>
263       <editor
264             name="%phpEditorName"
265             icon="icons/obj16/phpedit.gif"
266             extensions="phtml"
267             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
268             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
269             id="net.sourceforge.phpeclipse.PHPEditor">
270       </editor>
271       <editor
272             name="%phpEditorName"
273             icon="icons/obj16/phpedit.gif"
274             extensions="htm"
275             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
276             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
277             id="net.sourceforge.phpeclipse.PHPEditor">
278       </editor>
279       <editor
280             name="%phpEditorName"
281             icon="icons/obj16/phpedit.gif"
282             extensions="html"
283             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
284             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
285             id="net.sourceforge.phpeclipse.PHPEditor">
286       </editor>
287    </extension>
288    <extension
289          point="org.eclipse.ui.popupMenus">
290       <objectContribution
291             objectClass="org.eclipse.core.resources.IFile"
292             nameFilter="*.php"
293             id="net.sourceforge.phpeclipse.actions.externalParserAction">
294          <action
295                label="Run External PHP Parser"
296                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
297                menubarPath="additions"
298                id="net.sourceforge.phpeclipse.actions.externalParserAction">
299          </action>
300       </objectContribution>
301       <objectContribution
302             objectClass="org.eclipse.core.resources.IFile"
303             nameFilter="*.php3"
304             id="net.sourceforge.phpeclipse.actions.externalParserAction">
305          <action
306                label="Run External PHP Parser"
307                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
308                menubarPath="additions"
309                id="net.sourceforge.phpeclipse.actions.externalParserAction">
310          </action>
311       </objectContribution>
312       <objectContribution
313             objectClass="org.eclipse.core.resources.IFile"
314             nameFilter="*.php4"
315             id="net.sourceforge.phpeclipse.actions.externalParserAction">
316          <action
317                label="Run External PHP Parser"
318                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
319                menubarPath="additions"
320                id="net.sourceforge.phpeclipse.actions.externalParserAction">
321          </action>
322       </objectContribution>
323       <objectContribution
324             objectClass="org.eclipse.core.resources.IFile"
325             nameFilter="*.inc"
326             id="net.sourceforge.phpeclipse.actions.externalParserAction">
327          <action
328                label="Run External PHP Parser"
329                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
330                menubarPath="additions"
331                id="net.sourceforge.phpeclipse.actions.externalParserAction">
332          </action>
333       </objectContribution>
334       <objectContribution
335             objectClass="org.eclipse.core.resources.IFile"
336             nameFilter="*.phtml"
337             id="net.sourceforge.phpeclipse.actions.externalParserAction">
338          <action
339                label="Run External PHP Parser"
340                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
341                menubarPath="additions"
342                id="net.sourceforge.phpeclipse.actions.externalParserAction">
343          </action>
344       </objectContribution>
345       <objectContribution
346             objectClass="org.eclipse.core.resources.IFile"
347             nameFilter="*.php"
348             id="net.sourceforge.phpeclipse.actions.popupShowAction">
349          <action
350                label="Open PHP Browser"
351                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
352                menubarPath="additions"
353                id="net.sourceforge.phpeclipse.actions.showAction">
354          </action>
355       </objectContribution>
356       <objectContribution
357             objectClass="org.eclipse.core.resources.IFile"
358             nameFilter="*.php3"
359             id="net.sourceforge.phpeclipse.actions.popupShowAction">
360          <action
361                label="Open PHP Browser"
362                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
363                menubarPath="additions"
364                id="net.sourceforge.phpeclipse.actions.showAction">
365          </action>
366       </objectContribution>
367       <objectContribution
368             objectClass="org.eclipse.core.resources.IFile"
369             nameFilter="*.php4"
370             id="net.sourceforge.phpeclipse.actions.popupShowAction">
371          <action
372                label="Open PHP Browser"
373                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
374                menubarPath="additions"
375                id="net.sourceforge.phpeclipse.actions.showAction">
376          </action>
377       </objectContribution>
378       <objectContribution
379             objectClass="org.eclipse.core.resources.IFile"
380             nameFilter="*.inc"
381             id="net.sourceforge.phpeclipse.actions.popupShowAction">
382          <action
383                label="Open PHP Browser"
384                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
385                menubarPath="additions"
386                id="net.sourceforge.phpeclipse.actions.showAction">
387          </action>
388       </objectContribution>
389       <objectContribution
390             objectClass="org.eclipse.core.resources.IFile"
391             nameFilter="*.phtml"
392             id="net.sourceforge.phpeclipse.actions.popupShowAction">
393          <action
394                label="Open PHP Browser"
395                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
396                menubarPath="additions"
397                id="net.sourceforge.phpeclipse.actions.showAction">
398          </action>
399       </objectContribution>
400    </extension>
401    <extension
402          point="org.eclipse.ui.preferencePages">
403       <page
404             name="PHP"
405             class="net.sourceforge.phpeclipse.PHPEclipsePreferencePage"
406             id="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage">
407       </page>
408       <page
409             name="Editor"
410             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
411             class="net.sourceforge.phpeclipse.PHPSyntaxPreferencePage"
412             id="net.sourceforge.phpeclipse.preference.PHPSyntaxPreferencePage">
413       </page>
414    </extension>
415    <extension
416          point="org.eclipse.ui.documentProviders">
417       <provider
418             extensions="%phpFileExtension"
419             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
420             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
421       </provider>
422    </extension>
423    <extension
424          point="org.eclipse.ui.documentProviders">
425       <provider
426             extensions="%php3FileExtension"
427             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
428             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
429       </provider>
430    </extension>
431    <extension
432          point="org.eclipse.ui.documentProviders">
433       <provider
434             extensions="%php4FileExtension"
435             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
436             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
437       </provider>
438    </extension>
439    <extension
440          point="org.eclipse.ui.documentProviders">
441       <provider
442             extensions="%incFileExtension"
443             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
444             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
445       </provider>
446    </extension>
447    <extension
448          point="org.eclipse.ui.documentProviders">
449       <provider
450             extensions="%phtmlFileExtension"
451             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
452             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
453       </provider>
454    </extension>
455    <extension
456          point="org.eclipse.ui.views">
457       <view
458             name="%phpConsoleView"
459             icon="icons/obj16/java.gif"
460             class="net.sourceforge.phpeclipse.views.PHPConsole"
461             id="net.sourceforge.phpeclipse.views.phpconsoleview">
462       </view>
463    </extension>
464
465 </plugin>