|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <?eclipse version="3.4"?> |
|
3 <plugin> |
|
4 <extension-point id="deploymentTargetType" name="Provides targets for project deployments" schema="schema/deploymentTargetType.exsd"/> |
|
5 <extension-point id="targetPresentation" name="Deployment Target Presentation" schema="schema/targetPresentation.exsd"/> |
|
6 <extension-point id="projectTemplate" name="Mobile Application Project Templates" schema="schema/projectTemplate.exsd"/> |
|
7 <extension-point id="wizardPages" name="Extensions for the New Application Wizard" schema="schema/wizardPages.exsd"/> |
|
8 <!-- Navigator Extensions --> |
|
9 <extension point="org.eclipse.ui.navigator.viewer"> |
|
10 <viewerActionBinding |
|
11 viewerId="org.eclipse.ui.navigator.ProjectExplorer"> |
|
12 <includes> |
|
13 <actionExtension |
|
14 pattern="org.symbian.mtw.ui.navigator.MoveRename"> |
|
15 </actionExtension> |
|
16 </includes> |
|
17 </viewerActionBinding> |
|
18 </extension> |
|
19 <extension |
|
20 point="org.eclipse.ui.navigator.navigatorContent"> |
|
21 <commonWizard |
|
22 associatedExtensionId="org.eclipse.wst.jsdt.java.ui.javaContent" |
|
23 type="import" |
|
24 wizardId="org.symbian.tools.wrttools.importwgz"> |
|
25 <enablement> |
|
26 <or> |
|
27 <adapt |
|
28 type="org.eclipse.core.resources.IResource"> |
|
29 </adapt> |
|
30 <adapt |
|
31 type="java.util.Collection"> |
|
32 </adapt> |
|
33 </or> |
|
34 </enablement> |
|
35 </commonWizard> |
|
36 <commonWizard |
|
37 associatedExtensionId="org.eclipse.wst.jsdt.java.ui.javaContent" |
|
38 menuGroupId="group.new.z" |
|
39 type="new" |
|
40 wizardId="org.symbian.tools.wrttools.core.wrtwidgetwizard"> |
|
41 <enablement> |
|
42 <or> |
|
43 <adapt |
|
44 type="org.eclipse.core.resources.IResource"> |
|
45 </adapt> |
|
46 <adapt |
|
47 type="java.util.Collection"> |
|
48 </adapt> |
|
49 </or> |
|
50 </enablement> |
|
51 </commonWizard> |
|
52 <commonWizard |
|
53 associatedExtensionId="org.eclipse.wst.jsdt.java.ui.javaContent" |
|
54 menuGroupId="org.eclipse.wst.jsdt.ui.java" |
|
55 type="new" |
|
56 wizardId="org.eclipse.wst.html.ui.internal.wizard.NewHTMLWizard"> |
|
57 <enablement> |
|
58 <adapt |
|
59 type="org.eclipse.core.resources.IResource"> |
|
60 </adapt> |
|
61 </enablement> |
|
62 </commonWizard> |
|
63 <commonWizard |
|
64 associatedExtensionId="org.eclipse.wst.jsdt.java.ui.javaContent" |
|
65 menuGroupId="org.eclipse.wst.jsdt.ui.java" |
|
66 type="new" |
|
67 wizardId="org.eclipse.wst.css.ui.internal.wizard.NewCSSWizard"> |
|
68 <enablement> |
|
69 <adapt |
|
70 type="org.eclipse.core.resources.IResource"> |
|
71 </adapt> |
|
72 </enablement> |
|
73 </commonWizard> |
|
74 <commonWizard |
|
75 associatedExtensionId="org.eclipse.wst.jsdt.java.ui.javaContent" |
|
76 type="import" |
|
77 wizardId="org.symbian.tools.wrttools.import.projectImport"> |
|
78 <enablement> |
|
79 <or> |
|
80 <adapt |
|
81 type="org.eclipse.core.resources.IResource"> |
|
82 </adapt> |
|
83 <adapt |
|
84 type="java.util.Collection"> |
|
85 </adapt> |
|
86 </or> |
|
87 </enablement> |
|
88 </commonWizard> |
|
89 <commonWizard |
|
90 associatedExtensionId="org.eclipse.wst.jsdt.java.ui.javaContent" |
|
91 menuGroupId="org.eclipse.wst.jsdt.ui.java" |
|
92 type="new" |
|
93 wizardId="org.eclipse.wst.jsdt.ui.NewJSWizard"> |
|
94 <enablement> |
|
95 <or> |
|
96 <adapt |
|
97 type="org.eclipse.core.resources.IFolder"> |
|
98 <test |
|
99 property="org.eclipse.core.resources.projectNature" |
|
100 value="org.eclipse.wst.jsdt.core.jsNature"> |
|
101 </test> |
|
102 </adapt> |
|
103 </or> |
|
104 </enablement> |
|
105 </commonWizard> |
|
106 <actionProvider |
|
107 class="org.symbian.tools.tmw.ui.navigator.RenameMoveActionProvider" |
|
108 id="org.symbian.mtw.ui.navigator.MoveRename" |
|
109 overrides="org.eclipse.wst.jsdt.ui.navigator.actions.RefactorActions" |
|
110 priority="highest"> |
|
111 <enablement> |
|
112 <and> |
|
113 <adapt |
|
114 type="org.eclipse.core.resources.IProject"> |
|
115 </adapt> |
|
116 </and> |
|
117 </enablement> |
|
118 </actionProvider> |
|
119 </extension> |
|
120 <extension |
|
121 point="org.eclipse.ui.views"> |
|
122 <category |
|
123 id="org.symbian.tools.mtw" |
|
124 name="Tools for Mobile Web"> |
|
125 </category> |
|
126 </extension> |
|
127 <extension |
|
128 point="org.eclipse.ui.handlers"> |
|
129 <handler |
|
130 class="org.symbian.tools.tmw.ui.commands.DeployHandler" |
|
131 commandId="org.symbian.tools.wrttools.commands.deploy"> |
|
132 <enabledWhen> |
|
133 <reference |
|
134 definitionId="org.symbian.tools.tmwprojectselected"> |
|
135 </reference> |
|
136 </enabledWhen> |
|
137 </handler> |
|
138 </extension> |
|
139 <extension |
|
140 point="org.symbian.tools.tmw.ui.deploymentTargetType"> |
|
141 <deployment-target-type |
|
142 class="org.symbian.tools.tmw.ui.deployment.bluetooth.BluetoothTargetType" |
|
143 icon="icons/full/obj16/bluetooth.gif" |
|
144 id="org.symbian.tools.mtw.bluetooth" |
|
145 long-running="true" |
|
146 priority="10"> |
|
147 </deployment-target-type> |
|
148 <deployment-target-type |
|
149 class="org.symbian.tools.tmw.internal.ui.deployment.targets.ExternalApplicationDeploymentType" |
|
150 id="org.symbian.tools.mtw.externalApp" |
|
151 priority="1000"> |
|
152 </deployment-target-type> |
|
153 <deployment-target-type |
|
154 class="org.symbian.tools.tmw.internal.ui.deployment.targets.FilesystemDeploymentTarget" |
|
155 icon="icons/full/obj16/folder.gif" |
|
156 id="org.symbian.tools.mtw.fileSystem" |
|
157 priority="900"> |
|
158 </deployment-target-type> |
|
159 </extension> |
|
160 <extension |
|
161 point="org.eclipse.core.runtime.adapters"> |
|
162 <factory |
|
163 adaptableType="org.symbian.tools.tmw.ui.deployment.bluetooth.BluetoothTarget" |
|
164 class="org.symbian.tools.tmw.ui.deployment.bluetooth.BluetoothTargetAdapterFactory"> |
|
165 <adapter |
|
166 type="org.eclipse.ui.model.IWorkbenchAdapter"> |
|
167 </adapter> |
|
168 <adapter |
|
169 type="org.eclipse.ui.model.IWorkbenchAdapter2"> |
|
170 </adapter> |
|
171 </factory> |
|
172 <factory |
|
173 adaptableType="org.symbian.tools.tmw.internal.ui.deployment.targets.ExternalApplicationDeploymentType" |
|
174 class="org.symbian.tools.tmw.internal.ui.deployment.targets.AdapterFactory"> |
|
175 <adapter |
|
176 type="org.eclipse.ui.model.IWorkbenchAdapter"> |
|
177 </adapter> |
|
178 </factory> |
|
179 </extension> |
|
180 <extension |
|
181 point="org.symbian.tools.tmw.ui.targetPresentation"> |
|
182 <targetPresentation |
|
183 detailsPane="org.symbian.tools.tmw.internal.ui.deployment.targets.LocalFileSystemPane" |
|
184 targetTypeId="org.symbian.tools.mtw.fileSystem"> |
|
185 </targetPresentation> |
|
186 </extension> |
|
187 <extension |
|
188 point="org.eclipse.wst.jsdt.ui.JsGlobalScopeUIInitializer"> |
|
189 <JsGlobalScopeUIInitializer |
|
190 class="org.symbian.tools.tmw.internal.ui.libraries.TMWGlobalScopeContainerUI" |
|
191 id="org.symbian.tools.tmw.core.mobileWebLibrary"> |
|
192 </JsGlobalScopeUIInitializer> |
|
193 </extension> |
|
194 <extension |
|
195 point="org.eclipse.wst.jsdt.ui.JsGlobalScopeContainerPage"> |
|
196 <JsGlobalScopeContainerPage |
|
197 class="org.symbian.tools.tmw.internal.ui.libraries.TMWContainerPage" |
|
198 id="org.symbian.tools.tmw.core.mobileWebLibrary" |
|
199 name="Tools for Mobile Web"> |
|
200 </JsGlobalScopeContainerPage> |
|
201 </extension> |
|
202 <extension |
|
203 point="org.eclipse.core.expressions.definitions"> |
|
204 <definition |
|
205 id="org.symbian.tools.tmwprojectselected"> |
|
206 <or> |
|
207 <with |
|
208 variable="selection"> |
|
209 <and> |
|
210 <count |
|
211 value="1"> |
|
212 </count> |
|
213 <iterate> |
|
214 <adapt |
|
215 type="org.eclipse.core.resources.IResource"> |
|
216 <test |
|
217 property="org.symbian.tools.tmw.istmwproject"> |
|
218 </test> |
|
219 </adapt> |
|
220 </iterate> |
|
221 </and> |
|
222 </with> |
|
223 <and> |
|
224 <with |
|
225 variable="activePart"> |
|
226 <instanceof |
|
227 value="org.eclipse.ui.IEditorPart"> |
|
228 </instanceof> |
|
229 </with> |
|
230 <with |
|
231 variable="activeEditorInput"> |
|
232 <adapt |
|
233 type="org.eclipse.core.resources.IResource"> |
|
234 <test |
|
235 property="org.symbian.tools.tmw.ismtwproject"> |
|
236 </test> |
|
237 </adapt> |
|
238 </with> |
|
239 </and> |
|
240 </or> |
|
241 </definition> |
|
242 </extension> |
|
243 <extension |
|
244 point="org.eclipse.ui.newWizards"> |
|
245 <category |
|
246 id="org.symbian.tools.tmw" |
|
247 name="Tools for Mobile Web"> |
|
248 </category> |
|
249 <wizard |
|
250 canFinishEarly="false" |
|
251 category="org.symbian.tools.tmw" |
|
252 class="org.symbian.tools.tmw.internal.ui.wizard.NewApplicationWizard" |
|
253 hasPages="true" |
|
254 icon="icons/full/etool16/newproject.png" |
|
255 id="org.symbian.tools.tmw.newproject" |
|
256 name="New Mobile Web Application Project" |
|
257 project="true"> |
|
258 </wizard> |
|
259 </extension> |
|
260 </plugin> |