1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.2"?>
4 <!-- extension point definitions -->
5 <extension-point id="configurationDuplicationMaps" name="%ExtPoint.configurationDuplicationMaps"/>
6 <extension-point id="argumentVariables" name="%ExtPoint.argumentVariables"/>
7 <extension-point id="directoryVariables" name="%ExtPoint.directoryVariables"/>
8 <extension-point id="fileVariables" name="%ExtPoint.fileVariables"/>
9 <extension-point id="refreshVariables" name="%ExtPoint.refreshVariables"/>
13 <!-- Launch Configuration Extensions -->
14 <extension point="org.eclipse.debug.core.launchConfigurationTypes">
15 <launchConfigurationType
16 id = "net.sourceforge.phpeclipse.externaltools.ProgramLaunchConfigurationType"
17 name = "%Program.externalTools"
18 delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
20 category = "org.eclipse.ui.externaltools">
21 </launchConfigurationType>
22 <launchConfigurationType
23 id = "net.sourceforge.phpeclipse.externaltools.ProgramBuilderLaunchConfigurationType"
24 name = "%Program.externalTools"
25 delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
27 category = "org.eclipse.ui.externaltools.builder">
28 </launchConfigurationType>
31 <extension point = "net.sourceforge.phpeclipse.externaltools.configurationDuplicationMaps">
33 sourceType="net.sourceforge.phpeclipse.externaltools.ProgramLaunchConfigurationType"
34 builderType="net.sourceforge.phpeclipse.externaltools.ProgramBuilderLaunchConfigurationType">
38 <extension point = "org.eclipse.debug.ui.launchConfigurationTabGroups">
39 <launchConfigurationTabGroup
40 id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program"
41 type ="net.sourceforge.phpeclipse.externaltools.ProgramLaunchConfigurationType"
42 class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramTabGroup">
43 </launchConfigurationTabGroup>
44 <launchConfigurationTabGroup
45 id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program.builder"
46 type ="net.sourceforge.phpeclipse.externaltools.ProgramBuilderLaunchConfigurationType"
47 class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramBuilderTabGroup">
48 </launchConfigurationTabGroup>
51 <extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
52 <launchConfigurationTypeImage
53 id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program"
54 configTypeID="net.sourceforge.phpeclipse.externaltools.ProgramLaunchConfigurationType"
55 icon="icons/full/obj16/external_tools.gif">
56 </launchConfigurationTypeImage>
57 <launchConfigurationTypeImage
58 id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program.builder"
59 configTypeID="net.sourceforge.phpeclipse.externaltools.ProgramBuilderLaunchConfigurationType"
60 icon="icons/full/obj16/external_tools.gif">
61 </launchConfigurationTypeImage>
64 <!-- Variable Extensions -->
65 <extension point="net.sourceforge.phpeclipse.externaltools.fileVariables">
68 description="Expands to the workspace root's absolute file system path."
69 expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
73 description="Expands to the resource's absolute file system path."
74 componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
75 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
79 <extension point="net.sourceforge.phpeclipse.externaltools.argumentVariables">
82 description="Expands to the workspace root's absolute file system path."
83 expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
87 description="Expands to the full file name"
88 expanderClass="net.sourceforge.phpdt.externaltools.variable.FileExpander">
92 description="Expands to an URL with the localhost preference settings"
93 expanderClass="net.sourceforge.phpdt.externaltools.variable.UrlExpander">
97 description="Expands to the localhost preference settings."
98 expanderClass="net.sourceforge.phpdt.externaltools.variable.LocalhostExpander">
102 description="Expands to the selected resource's project absolute file system path."
103 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
107 description="Expands to the full path, relative to the workspace root, of the selected project"
108 expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectExpander">
112 description="Expands to the name of the selected project"
113 expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectNameExpander">
117 description="Expands to the resource's absolute file system path."
118 componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
119 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
123 description="Expands to the selected resource's containing folder absolute file system path."
124 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
128 description="Expands to the type of build"
129 expanderClass="net.sourceforge.phpdt.externaltools.variable.BuildTypeExpander">
133 <extension point="net.sourceforge.phpeclipse.externaltools.directoryVariables">
136 description="Expands to the workspace root's absolute file system path."
137 expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
141 description="Expands to the selected resource's project absolute file system path."
142 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
146 description="Expands to the selected resource's containing folder absolute file system path."
147 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
151 description="Expands to a resource's absolute file system path."
152 componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFolderResourceComponent"
153 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
157 <extension point="net.sourceforge.phpeclipse.externaltools.refreshVariables">
160 description="Expands to the workspace root."
161 expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
165 description="Expands to the project of the selected resource."
166 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
170 description="Expands to the folder containing the selected resource."
171 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
175 description="Expands to a resource."
176 componentClass="net.sourceforge.phpdt.externaltools.variable.ResourceComponent"
177 expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
181 description="Expands to the group of resources in a working set."
182 expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkingSetExpander">
186 point="org.eclipse.ui.preferencePages">
188 name="PHP External Tools"
189 category="net.sourceforge.phpeclipse.ui.preferencePage"
190 class="net.sourceforge.phpdt.externaltools.preferences.PHPExternalToolsPreferencePage"
191 id="net.sourceforge.phpdt.externaltools.preferences">
194 category="net.sourceforge.phpdt.externaltools.preferences"
195 class="net.sourceforge.phpdt.externaltools.preferences.XamppPrefencePage"
196 id="net.sourceforge.phpeclipse.externaltools.xampp.preferences"
199 category="net.sourceforge.phpdt.externaltools.preferences"
200 class="net.sourceforge.phpdt.externaltools.preferences.MySQLPreferencePage"
201 id="net.sourceforge.phpeclipse.externaltools.mysql.preferences"
204 category="net.sourceforge.phpdt.externaltools.preferences"
205 class="net.sourceforge.phpdt.externaltools.preferences.ApachePrefencePage"
206 id="net.sourceforge.phpeclipse.externaltools.apache.preferences"
211 point="org.eclipse.ui.perspectiveExtensions">
212 <perspectiveExtension
213 targetID="net.sourceforge.phpeclipse.PHPPerspective">
214 <actionSet id="net.sourceforge.phpeclipse.PHPActionSet"/>
215 </perspectiveExtension>
216 <perspectiveExtension
217 targetID="net.sourceforge.phpeclipse.PHPPerspective">
218 <actionSet id="net.sf.eclipsetidy.ActionSet"/>
219 </perspectiveExtension>
223 point="org.eclipse.ui.actionSets">
227 id="net.sourceforge.phpeclipse.PHPActionSet">
230 id="net.sourceforge.phpeclipse.PHPMenu">
236 label="Restart Apache"
237 icon="icons/obj16/apache_restart.gif"
238 tooltip="Restart Apache"
239 class="net.sourceforge.phpdt.externaltools.actions.PHPRestartApacheAction"
240 menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
242 id="net.sourceforge.phpdt.externaltools.actions.PHPRestartApacheAction">
246 icon="icons/obj16/apache_stop.gif"
247 tooltip="Stop Apache"
248 class="net.sourceforge.phpdt.externaltools.actions.PHPStopApacheAction"
249 menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
251 id="net.sourceforge.phpdt.externaltools.actions.PHPStopApacheAction">
255 icon="icons/obj16/apache.gif"
256 tooltip="Start Apache"
257 class="net.sourceforge.phpdt.externaltools.actions.PHPStartApacheAction"
258 menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
260 id="net.sourceforge.phpdt.externaltools.actions.PHPStartApacheAction">
264 icon="icons/obj16/sql.gif"
265 tooltip="Start MySQL"
266 class="net.sourceforge.phpdt.externaltools.actions.PHPStartMySQLAction"
267 menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
269 id="net.sourceforge.phpdt.externaltools.actions.PHPStartMySQLAction">
273 icon="icons/obj16/xampp_stop.gif"
275 class="net.sourceforge.phpdt.externaltools.actions.PHPStopXAMPPAction"
276 menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
278 id="net.sourceforge.phpdt.externaltools.actions.PHPStopXAMPPAction">
282 icon="icons/obj16/xampp_start.gif"
283 tooltip="Start XAMPP"
284 class="net.sourceforge.phpdt.externaltools.actions.PHPStartXAMPPAction"
285 menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
287 id="net.sourceforge.phpdt.externaltools.actions.PHPStartXAMPPAction">
292 <!-- FIXME: there is too much duplication of contributions pointing to the same action. we should find a better way-->
293 <!-- php, phpc,php3,php4,php5,phpt-->
295 point="org.eclipse.ui.popupMenus">
297 objectClass="org.eclipse.core.resources.IFile"
299 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction.phpS">
301 label="Run External PHP Parser"
302 class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
303 menubarPath="additions"
304 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
306 </objectContribution>
308 objectClass="org.eclipse.core.resources.IFile"
310 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction.ctp">
312 label="Run External PHP Parser"
313 class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
314 menubarPath="additions"
315 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
317 </objectContribution>
319 objectClass="org.eclipse.core.resources.IFile"
321 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction.phtml">
323 label="Run External PHP Parser"
324 class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
325 menubarPath="additions"
326 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
328 </objectContribution>
330 objectClass="org.eclipse.core.resources.IFile"
331 nameFilter="*.module"
332 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction.module">
334 label="Run External PHP Parser"
335 class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
336 menubarPath="additions"
337 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
339 </objectContribution>
341 objectClass="org.eclipse.core.resources.IFile"
343 id="net.sourceforge.phpdt.externaltools.actions.externalParserAction.inc">
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>