1) Added missing strings for italic, underline and strike through.
[phpeclipse.git] / net.sourceforge.phpeclipse.externaltools / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.2"?>
3 <plugin>
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"/>
10
11 <!-- Extensions -->
12
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"
19                         modes = "run"
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"
26                         modes = "run"
27                         category = "org.eclipse.ui.externaltools.builder">
28                 </launchConfigurationType>
29         </extension>
30
31         <extension point = "net.sourceforge.phpeclipse.externaltools.configurationDuplicationMaps">
32                 <configurationMap
33                         sourceType="net.sourceforge.phpeclipse.externaltools.ProgramLaunchConfigurationType"
34                         builderType="net.sourceforge.phpeclipse.externaltools.ProgramBuilderLaunchConfigurationType">
35                 </configurationMap>
36         </extension>
37
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>
49         </extension>
50
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>
62         </extension>
63
64         <!-- Variable Extensions -->
65         <extension point="net.sourceforge.phpeclipse.externaltools.fileVariables">
66                 <variable
67                         tag="workspace_loc"
68                         description="Expands to the workspace root's absolute file system path."
69                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
70                 </variable>
71                 <variable
72                         tag="resource_loc"
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">
76                 </variable>
77         </extension>
78
79         <extension point="net.sourceforge.phpeclipse.externaltools.argumentVariables">
80                 <variable
81                         tag="workspace_loc"
82                         description="Expands to the workspace root's absolute file system path."
83                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
84                 </variable>
85                 <variable
86                         tag="file_loc"
87                         description="Expands to the full file name"
88                         expanderClass="net.sourceforge.phpdt.externaltools.variable.FileExpander">
89                 </variable>
90                 <variable
91                         tag="file_url"
92                         description="Expands to an URL with the localhost preference settings"
93                         expanderClass="net.sourceforge.phpdt.externaltools.variable.UrlExpander">
94                 </variable>
95                 <variable
96                         tag="localhost_url"
97                         description="Expands to the localhost preference settings."
98                         expanderClass="net.sourceforge.phpdt.externaltools.variable.LocalhostExpander">
99                 </variable>
100                 <variable
101                         tag="project_loc"
102                         description="Expands to the selected resource's project absolute file system path."
103                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
104                 </variable>
105                 <variable
106                         tag="project_path"
107                         description="Expands to the full path, relative to the workspace root, of the selected project"
108                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectExpander">
109                 </variable>
110                 <variable
111                         tag="project_name"
112                         description="Expands to the name of the selected project"
113                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectNameExpander">
114                 </variable>
115                 <variable
116                         tag="resource_loc"
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">
120                 </variable>
121                 <variable
122                         tag="container_loc"
123                         description="Expands to the selected resource's containing folder absolute file system path."
124                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
125                 </variable>
126                 <variable
127                         tag="build_type"
128                         description="Expands to the type of build"
129                         expanderClass="net.sourceforge.phpdt.externaltools.variable.BuildTypeExpander">
130                 </variable>
131         </extension>
132
133         <extension point="net.sourceforge.phpeclipse.externaltools.directoryVariables">
134                 <variable
135                         tag="workspace_loc"
136                         description="Expands to the workspace root's absolute file system path."
137                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
138                 </variable>
139                 <variable
140                         tag="project_loc"
141                         description="Expands to the selected resource's project absolute file system path."
142                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
143                 </variable>
144                 <variable
145                         tag="container_loc"
146                         description="Expands to the selected resource's containing folder absolute file system path."
147                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
148                 </variable>
149                 <variable
150                         tag="resource_loc"
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">
154                 </variable>
155         </extension>
156
157         <extension point="net.sourceforge.phpeclipse.externaltools.refreshVariables">
158                 <variable
159                         tag="workspace"
160                         description="Expands to the workspace root."
161                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
162                 </variable>
163                 <variable
164                         tag="project"
165                         description="Expands to the project of the selected resource."
166                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
167                 </variable>
168                 <variable
169                         tag="container"
170                         description="Expands to the folder containing the selected resource."
171                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
172                 </variable>
173                 <variable
174                         tag="resource"
175                         description="Expands to a resource."
176                         componentClass="net.sourceforge.phpdt.externaltools.variable.ResourceComponent"
177                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
178                 </variable>
179                 <variable
180                         tag="working_set"
181                         description="Expands to the group of resources in a working set."
182                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkingSetExpander">
183                 </variable>
184         </extension>
185         <extension
186                  point="org.eclipse.ui.preferencePages">
187           <page
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">
192           </page>
193           <page
194                         category="net.sourceforge.phpdt.externaltools.preferences"
195                         class="net.sourceforge.phpdt.externaltools.preferences.XamppPrefencePage"
196                         id="net.sourceforge.phpeclipse.externaltools.xampp.preferences"
197                         name="XAMPP"/>
198           <page
199                         category="net.sourceforge.phpdt.externaltools.preferences"
200                         class="net.sourceforge.phpdt.externaltools.preferences.MySQLPreferencePage"
201                         id="net.sourceforge.phpeclipse.externaltools.mysql.preferences"
202                         name="MySQL"/>
203           <page
204                         category="net.sourceforge.phpdt.externaltools.preferences"
205                         class="net.sourceforge.phpdt.externaltools.preferences.ApachePrefencePage"
206                         id="net.sourceforge.phpeclipse.externaltools.apache.preferences"
207                         name="Apache"/>
208         </extension>
209
210         <extension
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>
220    </extension>
221
222    <extension
223                  point="org.eclipse.ui.actionSets">
224           <actionSet
225                         label="PHP/Apache"
226                         visible="false"
227                         id="net.sourceforge.phpeclipse.PHPActionSet">
228                  <menu
229                            label="PHP/Apache"
230                            id="net.sourceforge.phpeclipse.PHPMenu">
231                         <separator
232                                   name="phpeclipse">
233                         </separator>
234                  </menu>
235                  <action
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"
241                            toolbarPath="Normal"
242                            id="net.sourceforge.phpdt.externaltools.actions.PHPRestartApacheAction">
243                  </action>
244                  <action
245                            label="Stop Apache"
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"
250                            toolbarPath="Normal"
251                            id="net.sourceforge.phpdt.externaltools.actions.PHPStopApacheAction">
252                  </action>
253                  <action
254                            label="Start Apache"
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"
259                            toolbarPath="Normal"
260                            id="net.sourceforge.phpdt.externaltools.actions.PHPStartApacheAction">
261                  </action>
262                  <action
263                            label="Start MySQL"
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"
268                            toolbarPath="Normal"
269                            id="net.sourceforge.phpdt.externaltools.actions.PHPStartMySQLAction">
270                  </action>
271                  <action
272                            label="Stop XAMPP"
273                            icon="icons/obj16/xampp_stop.gif"
274                            tooltip="Stop XAMPP"
275                            class="net.sourceforge.phpdt.externaltools.actions.PHPStopXAMPPAction"
276                            menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
277                            toolbarPath="Normal"
278                            id="net.sourceforge.phpdt.externaltools.actions.PHPStopXAMPPAction">
279                  </action>
280                  <action
281                            label="Start XAMPP"
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"
286                            toolbarPath="Normal"
287                            id="net.sourceforge.phpdt.externaltools.actions.PHPStartXAMPPAction">
288                  </action>
289           </actionSet>
290         </extension>
291
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-->
294         <extension
295                  point="org.eclipse.ui.popupMenus">
296           <objectContribution
297                         objectClass="org.eclipse.core.resources.IFile"
298                         nameFilter="*.php*"
299                         id="net.sourceforge.phpdt.externaltools.actions.externalParserAction.phpS">
300                  <action
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">
305                  </action>
306           </objectContribution>
307           <objectContribution
308                         objectClass="org.eclipse.core.resources.IFile"
309                         nameFilter="*.ctp"
310                         id="net.sourceforge.phpdt.externaltools.actions.externalParserAction.ctp">
311                  <action
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">
316                  </action>
317           </objectContribution>
318           <objectContribution
319                         objectClass="org.eclipse.core.resources.IFile"
320                         nameFilter="*.phtml"
321                         id="net.sourceforge.phpdt.externaltools.actions.externalParserAction.phtml">
322                  <action
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">
327                  </action>
328           </objectContribution>
329           <objectContribution
330                         objectClass="org.eclipse.core.resources.IFile"
331                         nameFilter="*.module"
332                         id="net.sourceforge.phpdt.externaltools.actions.externalParserAction.module">
333                  <action
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">
338                  </action>
339           </objectContribution>
340           <objectContribution
341                         objectClass="org.eclipse.core.resources.IFile"
342                         nameFilter="*.inc"
343                         id="net.sourceforge.phpdt.externaltools.actions.externalParserAction.inc">
344                  <action
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">
349                  </action>
350           </objectContribution>
351         </extension>
352 </plugin>