1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.0"?>
4 id="net.sourceforge.phpeclipse.externaltools"
5 name="PHP ExternalTools Plug-in"
7 provider-name="phpeclipse.de"
8 class="net.sourceforge.phpeclipse.externaltools.ExternalToolsPlugin">
11 <library name="externaltools.jar">
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"/>
30 <!-- external tools -->
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"/>
41 <extension point="org.eclipse.ui.actionSets">
43 id="net.sourceforge.phpdt.externaltools.ExternalToolsSet"
44 label="%ActionSet.externalTools"
46 <menu id="org.eclipse.ui.run"
49 <separator name="ExternalToolsGroup"/>
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"
59 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
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"
70 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
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"
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"
90 category = "org.eclipse.ui.externaltools.builder">
91 </launchConfigurationType>
94 <extension point = "net.sourceforge.phpeclipse.externaltools.configurationDuplicationMaps">
96 sourceType="net.sourceforge.phpeclipse.externaltools.ProgramLaunchConfigurationType"
97 builderType="net.sourceforge.phpeclipse.externaltools.ProgramBuilderLaunchConfigurationType">
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>
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>
127 <!-- Variable Extensions -->
128 <extension point="net.sourceforge.phpeclipse.externaltools.fileVariables">
131 description="Expands to the workspace root's absolute file system path."
132 expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
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">
142 <extension point="net.sourceforge.phpeclipse.externaltools.argumentVariables">
145 description="Expands to the workspace root's absolute file system path."
146 expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
150 description="Expands to the full file name"
151 expanderClass="net.sourceforge.phpdt.externaltools.variable.FileExpander">
155 description="Expands to an URL with the localhost preference settings"
156 expanderClass="net.sourceforge.phpdt.externaltools.variable.UrlExpander">
160 description="Expands to the localhost preference settings."
161 expanderClass="net.sourceforge.phpdt.externaltools.variable.LocalhostExpander">
165 description="Expands to the selected resource's project absolute file system path."
166 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
170 description="Expands to the full path, relative to the workspace root, of the selected project"
171 expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectExpander">
175 description="Expands to the name of the selected project"
176 expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectNameExpander">
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">
186 description="Expands to the selected resource's containing folder absolute file system path."
187 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
191 description="Expands to the type of build"
192 expanderClass="net.sourceforge.phpdt.externaltools.variable.BuildTypeExpander">
196 <extension point="net.sourceforge.phpeclipse.externaltools.directoryVariables">
199 description="Expands to the workspace root's absolute file system path."
200 expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
204 description="Expands to the selected resource's project absolute file system path."
205 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
209 description="Expands to the selected resource's containing folder absolute file system path."
210 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
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">
220 <extension point="net.sourceforge.phpeclipse.externaltools.refreshVariables">
223 description="Expands to the workspace root."
224 expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
228 description="Expands to the project of the selected resource."
229 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
233 description="Expands to the folder containing the selected resource."
234 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
238 description="Expands to a resource."
239 componentClass="net.sourceforge.phpdt.externaltools.variable.ResourceComponent"
240 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
244 description="Expands to the group of resources in a working set."
245 expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkingSetExpander">
249 point="org.eclipse.ui.preferencePages">
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">
257 category="net.sourceforge.phpdt.externaltools.preferences"
258 class="net.sourceforge.phpdt.externaltools.preferences.XamppPrefencePage"
259 id="net.sourceforge.phpeclipse.externaltools.xampp.preferences"
262 category="net.sourceforge.phpdt.externaltools.preferences"
263 class="net.sourceforge.phpdt.externaltools.preferences.MySQLPreferencePage"
264 id="net.sourceforge.phpeclipse.externaltools.mysql.preferences"
267 category="net.sourceforge.phpdt.externaltools.preferences"
268 class="net.sourceforge.phpdt.externaltools.preferences.ApachePrefencePage"
269 id="net.sourceforge.phpeclipse.externaltools.apache.preferences"
274 point="org.eclipse.ui.perspectiveExtensions">
275 <perspectiveExtension
276 targetID="net.sourceforge.phpeclipse.PHPPerspective">
277 <actionSet id="net.sourceforge.phpeclipse.PHPActionSet"/>
278 </perspectiveExtension>
279 <perspectiveExtension
280 targetID="net.sourceforge.phpeclipse.PHPPerspective">
281 <actionSet id="net.sf.eclipsetidy.ActionSet"/>
282 </perspectiveExtension>
286 point="org.eclipse.ui.actionSets">
290 id="net.sourceforge.phpeclipse.PHPActionSet">
293 id="net.sourceforge.phpeclipse.PHPMenu">
299 label="Restart Apache"
300 icon="icons/obj16/apache_restart.gif"
301 tooltip="Restart Apache"
302 class="net.sourceforge.phpdt.externaltools.actions.PHPRestartApacheAction"
303 menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
305 id="net.sourceforge.phpdt.externaltools.actions.PHPRestartApacheAction">
309 icon="icons/obj16/apache_stop.gif"
310 tooltip="Stop Apache"
311 class="net.sourceforge.phpdt.externaltools.actions.PHPStopApacheAction"
312 menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
314 id="net.sourceforge.phpdt.externaltools.actions.PHPStopApacheAction">
318 icon="icons/obj16/apache.gif"
319 tooltip="Start Apache"
320 class="net.sourceforge.phpdt.externaltools.actions.PHPStartApacheAction"
321 menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
323 id="net.sourceforge.phpdt.externaltools.actions.PHPStartApacheAction">
327 icon="icons/obj16/sql.gif"
328 tooltip="Start MySQL"
329 class="net.sourceforge.phpdt.externaltools.actions.PHPStartMySQLAction"
330 menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
332 id="net.sourceforge.phpdt.externaltools.actions.PHPStartMySQLAction">
336 icon="icons/obj16/xampp_stop.gif"
338 class="net.sourceforge.phpdt.externaltools.actions.PHPStopXAMPPAction"
339 menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
341 id="net.sourceforge.phpdt.externaltools.actions.PHPStopXAMPPAction">
345 icon="icons/obj16/xampp_start.gif"
346 tooltip="Start XAMPP"
347 class="net.sourceforge.phpdt.externaltools.actions.PHPStartXAMPPAction"
348 menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
350 id="net.sourceforge.phpdt.externaltools.actions.PHPStartXAMPPAction">
356 point="org.eclipse.ui.popupMenus">
358 objectClass="org.eclipse.core.resources.IFile"
360 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
362 label="Run External PHP Parser"
363 class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
364 menubarPath="additions"
365 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
367 </objectContribution>
369 objectClass="org.eclipse.core.resources.IFile"
371 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
373 label="Run External PHP Parser"
374 class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
375 menubarPath="additions"
376 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
378 </objectContribution>
380 objectClass="org.eclipse.core.resources.IFile"
382 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
384 label="Run External PHP Parser"
385 class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
386 menubarPath="additions"
387 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
389 </objectContribution>
391 objectClass="org.eclipse.core.resources.IFile"
393 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
395 label="Run External PHP Parser"
396 class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
397 menubarPath="additions"
398 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
400 </objectContribution>
402 objectClass="org.eclipse.core.resources.IFile"
403 nameFilter="*.module"
404 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
406 label="Run External PHP Parser"
407 class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
408 menubarPath="additions"
409 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
411 </objectContribution>
413 objectClass="org.eclipse.core.resources.IFile"
415 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
417 label="Run External PHP Parser"
418 class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
419 menubarPath="additions"
420 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
422 </objectContribution>