make compile in 3.2 by removing internal dependency
[phpeclipse.git] / net.sourceforge.phpeclipse.externaltools / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.0"?>
3 <plugin
4    id="net.sourceforge.phpeclipse.externaltools"
5    name="PHP ExternalTools Plug-in"
6    version="1.1.7"
7    provider-name="phpeclipse.de"
8    class="net.sourceforge.phpeclipse.externaltools.ExternalToolsPlugin">
9
10    <runtime>
11       <library name="externaltools.jar">
12          <export name="*"/>
13       </library>
14    </runtime>
15
16    <requires>
17       <import plugin="org.eclipse.ui"/>
18       <import plugin="org.eclipse.ui.console"/>
19       <import plugin="org.eclipse.ui.ide"/>
20       <import plugin="org.eclipse.ui.editors"/>
21       <import plugin="org.eclipse.core.resources"/>
22       <import plugin="org.eclipse.core.runtime"/>
23       <import plugin="org.eclipse.debug.core"/>
24       <import plugin="org.eclipse.debug.ui"/>
25       <import plugin="org.eclipse.ui.externaltools"/>
26       <import plugin="net.sourceforge.phpeclipse.ui"/>
27    </requires>
28
29
30 <!-- external tools -->
31
32 <!-- extension point definitions -->
33         <extension-point id="configurationDuplicationMaps" name="%ExtPoint.configurationDuplicationMaps"/>
34         <extension-point id="argumentVariables" name="%ExtPoint.argumentVariables"/>
35         <extension-point id="directoryVariables" name="%ExtPoint.directoryVariables"/>
36         <extension-point id="fileVariables" name="%ExtPoint.fileVariables"/>
37         <extension-point id="refreshVariables" name="%ExtPoint.refreshVariables"/>
38         
39 <!-- Extensions -->
40 <!--
41         <extension point="org.eclipse.ui.actionSets">
42                 <actionSet
43                         id="net.sourceforge.phpdt.externaltools.ExternalToolsSet"
44                         label="%ActionSet.externalTools"
45                         visible="true">
46                         <menu id="org.eclipse.ui.run" 
47                                 label="%Menu.run" 
48                                 path="additions"> 
49                                 <separator name="ExternalToolsGroup"/> 
50                         </menu> 
51                         <action
52                                 id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateMenu"
53                                 label="%Action.externalTools"
54                                 menubarPath="org.eclipse.ui.run/ExternalToolsGroup"
55                                 disabledIcon="icons/full/dtool16/external_tools.gif"
56                                 icon="icons/full/etool16/external_tools.gif"
57                                 hoverIcon="icons/full/ctool16/external_tools.gif"
58                                 pulldown="true"
59                                 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
60                         </action> 
61                         <action
62                                 id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateToolbar"
63                                 label="%Action.externalTools"
64                                 toolbarPath="Normal/additions"
65                                 disabledIcon="icons/full/dtool16/external_tools.gif"
66                                 icon="icons/full/etool16/external_tools.gif"
67                                 hoverIcon="icons/full/ctool16/external_tools.gif"
68                                 tooltip="%Action.externalToolsTip"
69                                 pulldown="true"
70                                 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
71                         </action> 
72                 </actionSet>
73         </extension>
74 -->
75
76     <!-- Launch Configuration Extensions -->
77     <extension point="org.eclipse.debug.core.launchConfigurationTypes">
78         <launchConfigurationType
79                 id = "net.sourceforge.phpeclipse.externaltools.ProgramLaunchConfigurationType"
80                 name = "%Program.externalTools"
81                 delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
82                 modes = "run"
83                 category = "org.eclipse.ui.externaltools">
84         </launchConfigurationType> 
85         <launchConfigurationType
86                 id = "net.sourceforge.phpeclipse.externaltools.ProgramBuilderLaunchConfigurationType"
87                 name = "%Program.externalTools"
88                 delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
89                 modes = "run"
90                 category = "org.eclipse.ui.externaltools.builder">
91         </launchConfigurationType>
92     </extension>
93     
94     <extension point = "net.sourceforge.phpeclipse.externaltools.configurationDuplicationMaps">
95         <configurationMap
96                 sourceType="net.sourceforge.phpeclipse.externaltools.ProgramLaunchConfigurationType"
97                 builderType="net.sourceforge.phpeclipse.externaltools.ProgramBuilderLaunchConfigurationType">
98         </configurationMap>
99     </extension>
100     
101     <extension point = "org.eclipse.debug.ui.launchConfigurationTabGroups">
102                 <launchConfigurationTabGroup
103                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program"
104                         type ="net.sourceforge.phpeclipse.externaltools.ProgramLaunchConfigurationType"
105                         class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramTabGroup">
106                 </launchConfigurationTabGroup>
107                 <launchConfigurationTabGroup
108                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program.builder"
109                         type ="net.sourceforge.phpeclipse.externaltools.ProgramBuilderLaunchConfigurationType"
110                         class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramBuilderTabGroup">
111                 </launchConfigurationTabGroup>
112         </extension>
113         
114         <extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
115                 <launchConfigurationTypeImage
116                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program"
117                         configTypeID="net.sourceforge.phpeclipse.externaltools.ProgramLaunchConfigurationType"
118                         icon="icons/full/obj16/external_tools.gif">
119                 </launchConfigurationTypeImage> 
120                 <launchConfigurationTypeImage
121                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program.builder"
122                         configTypeID="net.sourceforge.phpeclipse.externaltools.ProgramBuilderLaunchConfigurationType"
123                         icon="icons/full/obj16/external_tools.gif">
124                 </launchConfigurationTypeImage> 
125         </extension>
126  
127         <!-- Variable Extensions --> 
128         <extension point="net.sourceforge.phpeclipse.externaltools.fileVariables">
129                 <variable
130                         tag="workspace_loc"
131                         description="Expands to the workspace root's absolute file system path."
132                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
133                 </variable>
134                 <variable
135                         tag="resource_loc"
136                         description="Expands to the resource's absolute file system path."
137                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
138                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
139                 </variable>
140         </extension>
141         
142         <extension point="net.sourceforge.phpeclipse.externaltools.argumentVariables">
143                 <variable
144                         tag="workspace_loc"
145                         description="Expands to the workspace root's absolute file system path."
146                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
147                 </variable>
148                 <variable
149                         tag="file_loc"
150                         description="Expands to the full file name"
151                         expanderClass="net.sourceforge.phpdt.externaltools.variable.FileExpander">
152                 </variable>
153                 <variable
154                         tag="file_url"
155                         description="Expands to an URL with the localhost preference settings"
156                         expanderClass="net.sourceforge.phpdt.externaltools.variable.UrlExpander">
157                 </variable>
158                 <variable
159                         tag="localhost_url"
160                         description="Expands to the localhost preference settings."
161                         expanderClass="net.sourceforge.phpdt.externaltools.variable.LocalhostExpander">
162                 </variable>
163                 <variable
164                         tag="project_loc"
165                         description="Expands to the selected resource's project absolute file system path."
166                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
167                 </variable>
168                 <variable
169                         tag="project_path"
170                         description="Expands to the full path, relative to the workspace root, of the selected project"
171                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectExpander">
172                 </variable>
173                 <variable
174                         tag="project_name"
175                         description="Expands to the name of the selected project"
176                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectNameExpander">
177                 </variable>
178                 <variable
179                         tag="resource_loc"
180                         description="Expands to the resource's absolute file system path."
181                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
182                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
183                 </variable>
184                 <variable
185                         tag="container_loc"
186                         description="Expands to the selected resource's containing folder absolute file system path."
187                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
188                 </variable>
189                 <variable
190                         tag="build_type"
191                         description="Expands to the type of build"
192                         expanderClass="net.sourceforge.phpdt.externaltools.variable.BuildTypeExpander">
193                 </variable>
194         </extension>
195
196         <extension point="net.sourceforge.phpeclipse.externaltools.directoryVariables">
197                 <variable
198                         tag="workspace_loc"
199                         description="Expands to the workspace root's absolute file system path."
200                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
201                 </variable>
202                 <variable
203                         tag="project_loc"
204                         description="Expands to the selected resource's project absolute file system path."
205                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
206                 </variable>
207                 <variable
208                         tag="container_loc"
209                         description="Expands to the selected resource's containing folder absolute file system path."
210                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
211                 </variable>
212                 <variable
213                         tag="resource_loc"
214                         description="Expands to a resource's absolute file system path."
215                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFolderResourceComponent"
216                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
217                 </variable>
218         </extension>
219  
220         <extension point="net.sourceforge.phpeclipse.externaltools.refreshVariables">
221                 <variable
222                         tag="workspace"
223                         description="Expands to the workspace root."
224                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
225                 </variable>
226                 <variable
227                         tag="project"
228                         description="Expands to the project of the selected resource."
229                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
230                 </variable>
231                 <variable
232                         tag="container"
233                         description="Expands to the folder containing the selected resource."
234                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
235                 </variable>
236                 <variable
237                         tag="resource"
238                         description="Expands to a resource."
239                         componentClass="net.sourceforge.phpdt.externaltools.variable.ResourceComponent"
240                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
241                 </variable>
242                 <variable
243                         tag="working_set"
244                         description="Expands to the group of resources in a working set."
245                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkingSetExpander">
246                 </variable>
247         </extension>
248         <extension
249          point="org.eclipse.ui.preferencePages">
250       <page
251             name="PHP External Tools"
252             category="net.sourceforge.phpeclipse.ui.preferencePage"
253             class="net.sourceforge.phpdt.externaltools.preferences.PHPExternalToolsPreferencePage"
254             id="net.sourceforge.phpdt.externaltools.preferences.PHPExternalToolsPreferencePage">
255       </page>
256     </extension>
257     
258     <extension
259          point="org.eclipse.ui.perspectiveExtensions">
260       <perspectiveExtension
261             targetID="net.sourceforge.phpeclipse.PHPPerspective">
262          <actionSet id="net.sourceforge.phpeclipse.PHPActionSet"/>
263       </perspectiveExtension>
264           <perspectiveExtension
265            targetID="net.sourceforge.phpeclipse.PHPPerspective">
266                   <actionSet id="net.sf.eclipsetidy.ActionSet"/>
267           </perspectiveExtension> 
268    </extension>
269    
270    <extension
271          point="org.eclipse.ui.actionSets">
272       <actionSet
273             label="PHP/Apache"
274             visible="false"
275             id="net.sourceforge.phpeclipse.PHPActionSet">
276          <menu
277                label="PHP/Apache"
278                id="net.sourceforge.phpeclipse.PHPMenu">
279             <separator
280                   name="phpeclipse">
281             </separator>
282          </menu>
283          <action
284                label="Restart Apache"
285                icon="icons/obj16/apache_restart.gif"
286                tooltip="Restart Apache"
287                class="net.sourceforge.phpdt.externaltools.actions.PHPRestartApacheAction"
288                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
289                toolbarPath="Normal"
290                id="net.sourceforge.phpdt.externaltools.actions.PHPRestartApacheAction">
291          </action>
292          <action
293                label="Stop Apache"
294                icon="icons/obj16/apache_stop.gif"
295                tooltip="Stop Apache"
296                class="net.sourceforge.phpdt.externaltools.actions.PHPStopApacheAction"
297                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
298                toolbarPath="Normal"
299                id="net.sourceforge.phpdt.externaltools.actions.PHPStopApacheAction">
300          </action>
301          <action
302                label="Start Apache"
303                icon="icons/obj16/apache.gif"
304                tooltip="Start Apache"
305                class="net.sourceforge.phpdt.externaltools.actions.PHPStartApacheAction"
306                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
307                toolbarPath="Normal"
308                id="net.sourceforge.phpdt.externaltools.actions.PHPStartApacheAction">
309          </action>
310          <action
311                label="Start MySQL"
312                icon="icons/obj16/sql.gif"
313                tooltip="Start MySQL"
314                class="net.sourceforge.phpdt.externaltools.actions.PHPStartMySQLAction"
315                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
316                toolbarPath="Normal"
317                id="net.sourceforge.phpdt.externaltools.actions.PHPStartMySQLAction">
318          </action>
319          <action
320                label="Stop XAMPP"
321                icon="icons/obj16/xampp_stop.gif"
322                tooltip="Stop XAMPP"
323                class="net.sourceforge.phpdt.externaltools.actions.PHPStopXAMPPAction"
324                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
325                toolbarPath="Normal"
326                id="net.sourceforge.phpdt.externaltools.actions.PHPStopXAMPPAction">
327          </action>
328          <action
329                label="Start XAMPP"
330                icon="icons/obj16/xampp_start.gif"
331                tooltip="Start XAMPP"
332                class="net.sourceforge.phpdt.externaltools.actions.PHPStartXAMPPAction"
333                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
334                toolbarPath="Normal"
335                id="net.sourceforge.phpdt.externaltools.actions.PHPStartXAMPPAction">
336          </action>
337       </actionSet>  
338     </extension>
339     
340     <extension
341          point="org.eclipse.ui.popupMenus">
342       <objectContribution
343             objectClass="org.eclipse.core.resources.IFile"
344             nameFilter="*.php"
345             id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
346          <action
347                label="Run External PHP Parser"
348                class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
349                menubarPath="additions"
350                id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
351          </action>
352       </objectContribution>
353       <objectContribution
354             objectClass="org.eclipse.core.resources.IFile"
355             nameFilter="*.php3"
356             id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
357          <action
358                label="Run External PHP Parser"
359                class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
360                menubarPath="additions"
361                id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
362          </action>
363       </objectContribution>
364       <objectContribution
365             objectClass="org.eclipse.core.resources.IFile"
366             nameFilter="*.php4"
367             id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
368          <action
369                label="Run External PHP Parser"
370                class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
371                menubarPath="additions"
372                id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
373          </action>
374       </objectContribution>
375       <objectContribution
376             objectClass="org.eclipse.core.resources.IFile"
377             nameFilter="*.php5"
378             id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
379          <action
380                label="Run External PHP Parser"
381                class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
382                menubarPath="additions"
383                id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
384          </action>
385       </objectContribution>
386       <objectContribution
387             objectClass="org.eclipse.core.resources.IFile"
388             nameFilter="*.module"
389             id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
390          <action
391                label="Run External PHP Parser"
392                class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
393                menubarPath="additions"
394                id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
395          </action>
396       </objectContribution>
397       <objectContribution
398             objectClass="org.eclipse.core.resources.IFile"
399             nameFilter="*.inc"
400             id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
401          <action
402                label="Run External PHP Parser"
403                class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
404                menubarPath="additions"
405                id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
406          </action>
407       </objectContribution>
408     </extension>
409 </plugin>