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"/>
40 <extension point="org.eclipse.ui.actionSets">
42 id="net.sourceforge.phpdt.externaltools.ExternalToolsSet"
43 label="%ActionSet.externalTools"
45 <menu id="org.eclipse.ui.run"
48 <separator name="ExternalToolsGroup"/>
51 id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateMenu"
52 label="%Action.externalTools"
53 menubarPath="org.eclipse.ui.run/ExternalToolsGroup"
54 disabledIcon="icons/full/dtool16/external_tools.gif"
55 icon="icons/full/etool16/external_tools.gif"
56 hoverIcon="icons/full/ctool16/external_tools.gif"
58 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
61 id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateToolbar"
62 label="%Action.externalTools"
63 toolbarPath="Normal/additions"
64 disabledIcon="icons/full/dtool16/external_tools.gif"
65 icon="icons/full/etool16/external_tools.gif"
66 hoverIcon="icons/full/ctool16/external_tools.gif"
67 tooltip="%Action.externalToolsTip"
69 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
74 <!-- Launch Configuration Extensions -->
75 <extension point="org.eclipse.debug.core.launchConfigurationTypes">
76 <launchConfigurationType
77 id = "net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
78 name = "%Program.externalTools"
79 delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
81 category = "org.eclipse.ui.externaltools">
82 </launchConfigurationType>
83 <launchConfigurationType
84 id = "net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
85 name = "%Program.externalTools"
86 delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
88 category = "org.eclipse.ui.externaltools.builder">
89 </launchConfigurationType>
92 <extension point = "net.sourceforge.phpeclipse.externaltools.configurationDuplicationMaps">
94 sourceType="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
95 builderType="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType">
99 <extension point = "org.eclipse.debug.ui.launchConfigurationTabGroups">
100 <launchConfigurationTabGroup
101 id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program"
102 type ="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
103 class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramTabGroup">
104 </launchConfigurationTabGroup>
105 <launchConfigurationTabGroup
106 id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program.builder"
107 type ="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
108 class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramBuilderTabGroup">
109 </launchConfigurationTabGroup>
112 <extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
113 <launchConfigurationTypeImage
114 id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program"
115 configTypeID="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
116 icon="icons/full/obj16/external_tools.gif">
117 </launchConfigurationTypeImage>
118 <launchConfigurationTypeImage
119 id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program.builder"
120 configTypeID="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
121 icon="icons/full/obj16/external_tools.gif">
122 </launchConfigurationTypeImage>
125 <!-- Variable Extensions -->
126 <extension point="net.sourceforge.phpeclipse.externaltools.fileVariables">
129 description="Expands to the workspace root's absolute file system path."
130 expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
134 description="Expands to the resource's absolute file system path."
135 componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
136 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
140 <extension point="net.sourceforge.phpeclipse.externaltools.argumentVariables">
143 description="Expands to the workspace root's absolute file system path."
144 expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
148 description="Expands to the full file name"
149 expanderClass="net.sourceforge.phpdt.externaltools.variable.FileExpander">
153 description="Expands to an URL with the localhost preference settings"
154 expanderClass="net.sourceforge.phpdt.externaltools.variable.UrlExpander">
158 description="Expands to the localhost preference settings."
159 expanderClass="net.sourceforge.phpdt.externaltools.variable.LocalhostExpander">
163 description="Expands to the selected resource's project absolute file system path."
164 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
168 description="Expands to the full path, relative to the workspace root, of the selected project"
169 expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectExpander">
173 description="Expands to the name of the selected project"
174 expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectNameExpander">
178 description="Expands to the resource's absolute file system path."
179 componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
180 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
184 description="Expands to the selected resource's containing folder absolute file system path."
185 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
189 description="Expands to the type of build"
190 expanderClass="net.sourceforge.phpdt.externaltools.variable.BuildTypeExpander">
194 <extension point="net.sourceforge.phpeclipse.externaltools.directoryVariables">
197 description="Expands to the workspace root's absolute file system path."
198 expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
202 description="Expands to the selected resource's project absolute file system path."
203 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
207 description="Expands to the selected resource's containing folder absolute file system path."
208 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
212 description="Expands to a resource's absolute file system path."
213 componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFolderResourceComponent"
214 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
218 <extension point="net.sourceforge.phpeclipse.externaltools.refreshVariables">
221 description="Expands to the workspace root."
222 expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
226 description="Expands to the project of the selected resource."
227 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
231 description="Expands to the folder containing the selected resource."
232 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
236 description="Expands to a resource."
237 componentClass="net.sourceforge.phpdt.externaltools.variable.ResourceComponent"
238 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
242 description="Expands to the group of resources in a working set."
243 expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkingSetExpander">
247 point="org.eclipse.ui.preferencePages">
249 name="PHP External Tools"
250 category="net.sourceforge.phpeclipse.ui.preferencePage"
251 class="net.sourceforge.phpdt.externaltools.preferences.PHPExternalToolsPreferencePage"
252 id="net.sourceforge.phpdt.externaltools.preferences.PHPExternalToolsPreferencePage">
257 point="org.eclipse.ui.perspectiveExtensions">
258 <perspectiveExtension
259 targetID="net.sourceforge.phpeclipse.PHPPerspective">
260 <actionSet id="net.sourceforge.phpeclipse.PHPActionSet"/>
261 </perspectiveExtension>
262 <perspectiveExtension
263 targetID="net.sourceforge.phpeclipse.PHPPerspective">
264 <actionSet id="net.sf.eclipsetidy.ActionSet"/>
265 </perspectiveExtension>
269 point="org.eclipse.ui.actionSets">
273 id="net.sourceforge.phpeclipse.PHPActionSet">
276 id="net.sourceforge.phpeclipse.PHPMenu">
282 label="Restart Apache"
283 icon="icons/obj16/apache_restart.gif"
284 tooltip="Restart Apache"
285 class="net.sourceforge.phpdt.externaltools.actions.PHPRestartApacheAction"
286 menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
288 id="net.sourceforge.phpdt.externaltools.actions.PHPRestartApacheAction">
292 icon="icons/obj16/apache_stop.gif"
293 tooltip="Stop Apache"
294 class="net.sourceforge.phpdt.externaltools.actions.PHPStopApacheAction"
295 menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
297 id="net.sourceforge.phpdt.externaltools.actions.PHPStopApacheAction">
301 icon="icons/obj16/apache.gif"
302 tooltip="Start Apache"
303 class="net.sourceforge.phpdt.externaltools.actions.PHPStartApacheAction"
304 menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
306 id="net.sourceforge.phpdt.externaltools.actions.PHPStartApacheAction">
310 icon="icons/obj16/sql.gif"
311 tooltip="Start MySQL"
312 class="net.sourceforge.phpdt.externaltools.actions.PHPStartMySQLAction"
313 menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
315 id="net.sourceforge.phpdt.externaltools.actions.PHPStartMySQLAction">
319 icon="icons/obj16/xampp_stop.gif"
321 class="net.sourceforge.phpdt.externaltools.actions.PHPStopXAMPPAction"
322 menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
324 id="net.sourceforge.phpdt.externaltools.actions.PHPStopXAMPPAction">
328 icon="icons/obj16/xampp_start.gif"
329 tooltip="Start XAMPP"
330 class="net.sourceforge.phpdt.externaltools.actions.PHPStartXAMPPAction"
331 menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
333 id="net.sourceforge.phpdt.externaltools.actions.PHPStartXAMPPAction">
339 point="org.eclipse.ui.popupMenus">
341 objectClass="org.eclipse.core.resources.IFile"
343 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
345 label="Run External PHP Parser"
346 class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
347 menubarPath="additions"
348 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
350 </objectContribution>
352 objectClass="org.eclipse.core.resources.IFile"
354 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
356 label="Run External PHP Parser"
357 class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
358 menubarPath="additions"
359 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
361 </objectContribution>
363 objectClass="org.eclipse.core.resources.IFile"
365 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
367 label="Run External PHP Parser"
368 class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
369 menubarPath="additions"
370 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
372 </objectContribution>
374 objectClass="org.eclipse.core.resources.IFile"
376 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
378 label="Run External PHP Parser"
379 class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
380 menubarPath="additions"
381 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
383 </objectContribution>
385 objectClass="org.eclipse.core.resources.IFile"
386 nameFilter="*.module"
387 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
389 label="Run External PHP Parser"
390 class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
391 menubarPath="additions"
392 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
394 </objectContribution>
396 objectClass="org.eclipse.core.resources.IFile"
398 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
400 label="Run External PHP Parser"
401 class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
402 menubarPath="additions"
403 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
405 </objectContribution>