369460f6ac9d8bc3163bb17d770c6ca353f37349
[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    </runtime>
12    <requires>
13       <import plugin="org.eclipse.core.resources"/>
14       <import plugin="org.eclipse.ui"/>
15       <import plugin="org.eclipse.help"/>
16       <import plugin="org.eclipse.swt"/>
17    </requires>
18
19    <extension
20          point="org.eclipse.ui.actionSets">
21       <actionSet
22             label="PHP/Apache"
23             description="Starting MySQL and Apache."
24             visible="true"
25             id="net.sourceforge.phpeclipse.PHPActionSet">
26          <menu
27                label="PHP/Apache"
28                id="net.sourceforge.phpeclipse.PHPMenu">
29             <separator
30                   name="phpeclipse">
31             </separator>
32          </menu>
33          <action
34                label="Restart Apache"
35                icon="icons/obj16/apache.gif"
36                tooltip="Restart Apache"
37                class="net.sourceforge.phpeclipse.actions.PHPRestartApacheAction"
38                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
39                toolbarPath="Normal"
40                start="true"
41                id="net.sourceforge.phpeclipse.actions.PHPRestartApacheAction">
42          </action>
43          <action
44                label="Stop Apache"
45                icon="icons/obj16/apache.gif"
46                tooltip="Stop Apache"
47                class="net.sourceforge.phpeclipse.actions.PHPStopApacheAction"
48                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
49                toolbarPath="Normal"
50                start="true"
51                id="net.sourceforge.phpeclipse.actions.PHPStopApacheAction">
52          </action>
53          <action
54                label="Start Apache"
55                icon="icons/obj16/apache.gif"
56                tooltip="Start Apache"
57                class="net.sourceforge.phpeclipse.actions.PHPStartApacheAction"
58                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
59                toolbarPath="Normal"
60                start="true"
61                id="net.sourceforge.phpeclipse.actions.PHPStartApacheAction">
62          </action>
63          <action
64                label="Start MySQL"
65                icon="icons/obj16/apache.gif"
66                tooltip="Start MySQL"
67                class="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction"
68                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
69                toolbarPath="Normal"
70                start="true"
71                id="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction">
72          </action>
73       </actionSet>
74    </extension>
75    <extension
76          point="org.eclipse.ui.editors">
77       <editor
78             name="%phpEditorName"
79             icon="icons/obj16/php.gif"
80             extensions="php"
81             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
82             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
83             id="net.sourceforge.phpeclipse.PHPEditor">
84       </editor>
85       <editor
86             name="%phpEditorName"
87             icon="icons/obj16/php.gif"
88             extensions="php3"
89             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
90             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
91             id="net.sourceforge.phpeclipse.PHPEditor">
92       </editor>
93       <editor
94             name="%phpEditorName"
95             icon="icons/obj16/php.gif"
96             extensions="php4"
97             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
98             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
99             id="net.sourceforge.phpeclipse.PHPEditor">
100       </editor>
101       <editor
102             name="%phpEditorName"
103             icon="icons/obj16/php.gif"
104             extensions="inc"
105             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
106             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
107             id="net.sourceforge.phpeclipse.PHPEditor">
108       </editor>   
109       <editor
110             name="%phpEditorName"
111             icon="icons/obj16/php.gif"
112             extensions="htm"
113             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
114             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
115             id="net.sourceforge.phpeclipse.PHPEditor">
116       </editor>   
117       <editor
118             name="%phpEditorName"
119             icon="icons/obj16/php.gif"
120             extensions="html"
121             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
122             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
123             id="net.sourceforge.phpeclipse.PHPEditor">
124       </editor>   
125    </extension>
126    <extension
127          point="org.eclipse.ui.popupMenus">
128       
129       <objectContribution
130             objectClass="org.eclipse.core.resources.IFile"
131             nameFilter="*.php"
132             id="net.sourceforge.phpeclipse.actions.externalParserAction">
133          <action
134                label="Run External PHP Parser"
135                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
136                menubarPath="additions"
137                id="net.sourceforge.phpeclipse.actions.externalParserAction">
138          </action>
139       </objectContribution>
140       <objectContribution
141             objectClass="org.eclipse.core.resources.IFile"
142             nameFilter="*.php3"
143             id="net.sourceforge.phpeclipse.actions.externalParserAction">
144          <action
145                label="Run External PHP Parser"
146                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
147                menubarPath="additions"
148                id="net.sourceforge.phpeclipse.actions.externalParserAction">
149          </action>
150       </objectContribution>
151       <objectContribution
152             objectClass="org.eclipse.core.resources.IFile"
153             nameFilter="*.php4"
154             id="net.sourceforge.phpeclipse.actions.externalParserAction">
155          <action
156                label="Run External PHP Parser"
157                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
158                menubarPath="additions"
159                id="net.sourceforge.phpeclipse.actions.externalParserAction">
160          </action>
161       </objectContribution>
162       
163       <objectContribution
164             objectClass="org.eclipse.core.resources.IFile"
165             nameFilter="*.php"
166             id="net.sourceforge.phpeclipse.actions.popupShowAction">
167          <action
168                label="Open PHP Browser"
169                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
170                menubarPath="additions"
171                id="net.sourceforge.phpeclipse.actions.showAction">
172          </action>
173       </objectContribution>
174       <objectContribution
175             objectClass="org.eclipse.core.resources.IFile"
176             nameFilter="*.php3"
177             id="net.sourceforge.phpeclipse.actions.popupShowAction">
178          <action
179                label="Open PHP Browser"
180                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
181                menubarPath="additions"
182                id="net.sourceforge.phpeclipse.actions.showAction">
183          </action>
184       </objectContribution>
185       <objectContribution
186             objectClass="org.eclipse.core.resources.IFile"
187             nameFilter="*.php4"
188             id="net.sourceforge.phpeclipse.actions.popupShowAction">
189          <action
190                label="Open PHP Browser"
191                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
192                menubarPath="additions"
193                id="net.sourceforge.phpeclipse.actions.showAction">
194          </action>
195       </objectContribution>
196       
197       <viewerContribution
198             targetID="#PHPEditorContext"
199             id="net.sourceforge.phpeclipse.actions.popup.editor">
200          <action
201                label="PHP Help"
202                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowContextHelp"
203                menubarPath="additions"
204                id="net.sourceforge.phpeclipse.actions.editor.contexthelp">
205          </action>
206       </viewerContribution>
207    </extension>
208    <extension
209          point="org.eclipse.ui.preferencePages">
210       <page
211             name="PHP"
212             class="net.sourceforge.phpeclipse.PHPEclipsePreferencePage"
213             id="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage">
214       </page>
215       <page
216             name="PHP Editor"
217             class="net.sourceforge.phpeclipse.PHPSyntaxPreferencePage"
218             id="net.sourceforge.phpeclipse.preference.PHPSyntaxPreferencePage"
219             category= "net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage">
220       </page>
221    </extension>
222    <extension
223          point="org.eclipse.ui.documentProviders">
224       <provider
225             extensions="%phpFileExtension"
226             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
227             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
228       </provider>
229    </extension>
230    <extension
231          point="org.eclipse.ui.documentProviders">
232       <provider
233             extensions="%php3FileExtension"
234             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
235             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
236       </provider>
237    </extension>
238    <extension
239          point="org.eclipse.ui.documentProviders">
240       <provider
241             extensions="%php4FileExtension"
242             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
243             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
244       </provider>
245    </extension>
246    <extension
247          point="org.eclipse.ui.views">
248       <view
249             name="%phpConsoleView"
250             icon="icons/obj16/java.gif"
251             class="net.sourceforge.phpeclipse.views.PHPConsole"
252             id="net.sourceforge.phpeclipse.views.phpconsoleview">
253       </view>
254    </extension>
255    <extension
256          point="org.eclipse.ui.newWizards">
257       <category
258             name="PHP"
259             id="net.sourceforge.phpeclipse.wizardCategory">
260       </category>
261       <wizard
262             name="PHP File"
263             icon="icons/obj16/java.gif"
264             category="net.sourceforge.phpeclipse.wizardCategory"
265             class="net.sourceforge.phpeclipse.wizards.PHPFileWizard"
266             id="net.sourceforge.phpeclipse.wizards.PHPFileWizard">
267       </wizard>
268    </extension>
269    <extension
270          point="org.eclipse.help.toc">
271       <toc
272             file="phphelp.xml"
273             primary="true">
274       </toc>
275    </extension>
276
277 </plugin>