All prefs administrated in external tools plugin.
[phpeclipse.git] / net.sourceforge.phpeclipse.externaltools / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.0"?>
3 <plugin
4    id="net.sourceforge.phpeclipse.externaltools"
5    name="ExternalTools Plug-in"
6    version="1.1.5"
7    provider-name="phpeclipse.de"
8    class="net.sourceforge.phpeclipse.externaltools.ExternalToolsPlugin">
9
10    <runtime>
11       <library name="externaltools.jar">
12          <export name="*"/>
13       </library>
14    </runtime>
15
16    <requires>
17       <import plugin="org.eclipse.ui"/>
18       <import plugin="org.eclipse.ui.ide"/>
19       <import plugin="org.eclipse.core.resources"/>
20       <import plugin="org.eclipse.core.runtime"/>
21       <import plugin="org.eclipse.debug.core"/>
22       <import plugin="org.eclipse.debug.ui"/>
23       <import plugin="org.eclipse.ui.externaltools"/>
24       <import plugin="net.sourceforge.phpeclipse"/>
25       <import plugin="net.sourceforge.phpeclipse.ui"/>
26    </requires>
27
28
29 <!-- external tools -->
30
31 <!-- extension point definitions -->
32         <extension-point id="configurationDuplicationMaps" name="%ExtPoint.configurationDuplicationMaps"/>
33         <extension-point id="argumentVariables" name="%ExtPoint.argumentVariables"/>
34         <extension-point id="directoryVariables" name="%ExtPoint.directoryVariables"/>
35         <extension-point id="fileVariables" name="%ExtPoint.fileVariables"/>
36         <extension-point id="refreshVariables" name="%ExtPoint.refreshVariables"/>
37         
38 <!-- Extensions -->
39         <extension point="org.eclipse.ui.actionSets">
40                 <actionSet
41                         id="net.sourceforge.phpdt.externaltools.ExternalToolsSet"
42                         label="%ActionSet.externalTools"
43                         visible="true">
44                         <menu id="org.eclipse.ui.run" 
45                                 label="%Menu.run" 
46                                 path="additions"> 
47                                 <separator name="ExternalToolsGroup"/> 
48                         </menu> 
49         <!--            <action
50                                 id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateMenu"
51                                 label="%Action.externalTools"
52                                 menubarPath="org.eclipse.ui.run/ExternalToolsGroup"
53                                 disabledIcon="icons/full/dtool16/external_tools.gif"
54                                 icon="icons/full/etool16/external_tools.gif"
55                                 hoverIcon="icons/full/ctool16/external_tools.gif"
56                                 pulldown="true"
57                                 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
58                         </action> 
59                         <action
60                                 id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateToolbar"
61                                 label="%Action.externalTools"
62                                 toolbarPath="Normal/additions"
63                                 disabledIcon="icons/full/dtool16/external_tools.gif"
64                                 icon="icons/full/etool16/external_tools.gif"
65                                 hoverIcon="icons/full/ctool16/external_tools.gif"
66                                 tooltip="%Action.externalToolsTip"
67                                 pulldown="true"
68                                 class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
69                         </action> -->
70                 </actionSet>
71         </extension>
72
73     <!-- Launch Configuration Extensions -->
74     <extension point="org.eclipse.debug.core.launchConfigurationTypes">
75         <launchConfigurationType
76                 id = "net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
77                 name = "%Program.externalTools"
78                 delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
79                 modes = "run"
80                 category = "org.eclipse.ui.externaltools">
81         </launchConfigurationType>
82         <launchConfigurationType
83                 id = "net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
84                 name = "%Program.externalTools"
85                 delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
86                 modes = "run"
87                 category = "org.eclipse.ui.externaltools.builder">
88         </launchConfigurationType>
89     </extension>
90     
91     <extension point = "net.sourceforge.phpeclipse.externaltools.configurationDuplicationMaps">
92         <configurationMap
93                 sourceType="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
94                 builderType="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType">
95         </configurationMap>
96     </extension>
97     
98     <extension point = "org.eclipse.debug.ui.launchConfigurationTabGroups">
99                 <launchConfigurationTabGroup
100                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program"
101                         type ="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
102                         class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramTabGroup">
103                 </launchConfigurationTabGroup>
104                 <launchConfigurationTabGroup
105                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program.builder"
106                         type ="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
107                         class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramBuilderTabGroup">
108                 </launchConfigurationTabGroup>
109         </extension>
110         
111         <extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
112                 <launchConfigurationTypeImage
113                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program"
114                         configTypeID="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
115                         icon="icons/full/obj16/external_tools.gif">
116                 </launchConfigurationTypeImage> 
117                 <launchConfigurationTypeImage
118                         id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program.builder"
119                         configTypeID="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
120                         icon="icons/full/obj16/external_tools.gif">
121                 </launchConfigurationTypeImage> 
122         </extension>
123  
124         <!-- Variable Extensions --> 
125         <extension point="net.sourceforge.phpeclipse.externaltools.fileVariables">
126                 <variable
127                         tag="workspace_loc"
128                         description="Expands to the workspace root's absolute file system path."
129                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
130                 </variable>
131                 <variable
132                         tag="resource_loc"
133                         description="Expands to the resource's absolute file system path."
134                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
135                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
136                 </variable>
137         </extension>
138         
139         <extension point="net.sourceforge.phpeclipse.externaltools.argumentVariables">
140                 <variable
141                         tag="workspace_loc"
142                         description="Expands to the workspace root's absolute file system path."
143                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
144                 </variable>
145                 <variable
146                         tag="file_loc"
147                         description="Expands to the full file name"
148                         expanderClass="net.sourceforge.phpdt.externaltools.variable.FileExpander">
149                 </variable>
150                 <variable
151                         tag="file_url"
152                         description="Expands to an URL with the localhost preference settings"
153                         expanderClass="net.sourceforge.phpdt.externaltools.variable.UrlExpander">
154                 </variable>
155                 <variable
156                         tag="localhost_url"
157                         description="Expands to the localhost preference settings."
158                         expanderClass="net.sourceforge.phpdt.externaltools.variable.LocalhostExpander">
159                 </variable>
160                 <variable
161                         tag="project_loc"
162                         description="Expands to the selected resource's project absolute file system path."
163                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
164                 </variable>
165                 <variable
166                         tag="project_path"
167                         description="Expands to the full path, relative to the workspace root, of the selected project"
168                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectExpander">
169                 </variable>
170                 <variable
171                         tag="project_name"
172                         description="Expands to the name of the selected project"
173                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectNameExpander">
174                 </variable>
175                 <variable
176                         tag="resource_loc"
177                         description="Expands to the resource's absolute file system path."
178                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
179                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
180                 </variable>
181                 <variable
182                         tag="container_loc"
183                         description="Expands to the selected resource's containing folder absolute file system path."
184                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
185                 </variable>
186                 <variable
187                         tag="build_type"
188                         description="Expands to the type of build"
189                         expanderClass="net.sourceforge.phpdt.externaltools.variable.BuildTypeExpander">
190                 </variable>
191         </extension>
192
193         <extension point="net.sourceforge.phpeclipse.externaltools.directoryVariables">
194                 <variable
195                         tag="workspace_loc"
196                         description="Expands to the workspace root's absolute file system path."
197                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
198                 </variable>
199                 <variable
200                         tag="project_loc"
201                         description="Expands to the selected resource's project absolute file system path."
202                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
203                 </variable>
204                 <variable
205                         tag="container_loc"
206                         description="Expands to the selected resource's containing folder absolute file system path."
207                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
208                 </variable>
209                 <variable
210                         tag="resource_loc"
211                         description="Expands to a resource's absolute file system path."
212                         componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFolderResourceComponent"
213                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
214                 </variable>
215         </extension>
216  
217         <extension point="net.sourceforge.phpeclipse.externaltools.refreshVariables">
218                 <variable
219                         tag="workspace"
220                         description="Expands to the workspace root."
221                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
222                 </variable>
223                 <variable
224                         tag="project"
225                         description="Expands to the project of the selected resource."
226                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
227                 </variable>
228                 <variable
229                         tag="container"
230                         description="Expands to the folder containing the selected resource."
231                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
232                 </variable>
233                 <variable
234                         tag="resource"
235                         description="Expands to a resource."
236                         componentClass="net.sourceforge.phpdt.externaltools.variable.ResourceComponent"
237                         expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
238                 </variable>
239                 <variable
240                         tag="working_set"
241                         description="Expands to the group of resources in a working set."
242                         expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkingSetExpander">
243                 </variable>
244         </extension>
245         
246 </plugin>