01d8353b11ea9c935702e5644e063fb8102e5e4a
[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.2"
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/java.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/java.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/java.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/java.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/java.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/java.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    </extension>
216    <extension
217          point="org.eclipse.ui.documentProviders">
218       <provider
219             extensions="%phpFileExtension"
220             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
221             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
222       </provider>
223    </extension>
224    <extension
225          point="org.eclipse.ui.documentProviders">
226       <provider
227             extensions="%php3FileExtension"
228             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
229             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
230       </provider>
231    </extension>
232    <extension
233          point="org.eclipse.ui.documentProviders">
234       <provider
235             extensions="%php4FileExtension"
236             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
237             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
238       </provider>
239    </extension>
240    <extension
241          point="org.eclipse.ui.views">
242       <view
243             name="%phpConsoleView"
244             icon="icons/obj16/java.gif"
245             class="net.sourceforge.phpeclipse.views.PHPConsole"
246             id="net.sourceforge.phpeclipse.views.phpconsoleview">
247       </view>
248    </extension>
249    <extension
250          point="org.eclipse.ui.newWizards">
251       <category
252             name="PHP"
253             id="net.sourceforge.phpeclipse.wizardCategory">
254       </category>
255       <wizard
256             name="PHP File"
257             icon="icons/obj16/java.gif"
258             category="net.sourceforge.phpeclipse.wizardCategory"
259             class="net.sourceforge.phpeclipse.wizards.PHPFileWizard"
260             id="net.sourceforge.phpeclipse.wizards.PHPFileWizard">
261       </wizard>
262    </extension>
263    <extension
264          point="org.eclipse.help.toc">
265       <toc
266             file="phphelp.xml"
267             primary="true">
268       </toc>
269    </extension>
270
271 </plugin>