1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.0"?>
4 id="net.sourceforge.phpeclipse.externaltools"
5 name="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.phpdt.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.phpdt.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.phpdt.externaltools.ProgramLaunchConfigurationType"
97 builderType="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType">
101 <extension point = "org.eclipse.debug.ui.launchConfigurationTabGroups">
102 <launchConfigurationTabGroup
103 id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program"
104 type ="net.sourceforge.phpdt.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.phpdt.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.phpdt.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.phpdt.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.PHPExternalToolsPreferencePage">
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>
271 point="org.eclipse.ui.actionSets">
275 id="net.sourceforge.phpeclipse.PHPActionSet">
278 id="net.sourceforge.phpeclipse.PHPMenu">
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"
290 id="net.sourceforge.phpdt.externaltools.actions.PHPRestartApacheAction">
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"
299 id="net.sourceforge.phpdt.externaltools.actions.PHPStopApacheAction">
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"
308 id="net.sourceforge.phpdt.externaltools.actions.PHPStartApacheAction">
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"
317 id="net.sourceforge.phpdt.externaltools.actions.PHPStartMySQLAction">
321 icon="icons/obj16/xampp_stop.gif"
323 class="net.sourceforge.phpdt.externaltools.actions.PHPStopXAMPPAction"
324 menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
326 id="net.sourceforge.phpdt.externaltools.actions.PHPStopXAMPPAction">
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"
335 id="net.sourceforge.phpdt.externaltools.actions.PHPStartXAMPPAction">
341 point="org.eclipse.ui.popupMenus">
343 objectClass="org.eclipse.core.resources.IFile"
345 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
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">
352 </objectContribution>
354 objectClass="org.eclipse.core.resources.IFile"
356 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
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">
363 </objectContribution>
365 objectClass="org.eclipse.core.resources.IFile"
367 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
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">
374 </objectContribution>
376 objectClass="org.eclipse.core.resources.IFile"
378 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
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">
385 </objectContribution>
387 objectClass="org.eclipse.core.resources.IFile"
388 nameFilter="*.module"
389 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
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">
396 </objectContribution>
398 objectClass="org.eclipse.core.resources.IFile"
400 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
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">
407 </objectContribution>