1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <?eclipse version="3.4"?> |
|
3 <plugin> |
|
4 |
|
5 <!-- Generic Project Builder and Project Natures --> |
|
6 <extension id="PropertiesFileAuditor" name="Properties File Auditor Project Builder" |
|
7 point="org.eclipse.core.resources.builders"> |
|
8 <builder hasNature="true"> |
|
9 <run class="org.symbian.tools.wrttools.builder.PropertiesFileAuditor"> |
|
10 </run> |
|
11 </builder> |
|
12 </extension> |
|
13 <extension id="PropertiesAuditorNature" name="Properties Auditor Nature" |
|
14 point="org.eclipse.core.resources.natures"> |
|
15 <runtime> |
|
16 <run class="org.symbian.tools.wrttools.builder.PropertiesAuditorNature"> |
|
17 </run> |
|
18 </runtime> |
|
19 <requires-nature id="org.eclipse.wst.jsdt.core.jsNature" /> |
|
20 <requires-nature id="org.eclipse.pde.PluginNature" /> |
|
21 <builder id="org.symbian.tools.wrttools.PropertiesFileAuditor"> |
|
22 </builder> |
|
23 </extension> |
|
24 |
|
25 <!-- Widget Project Nature --> |
|
26 <extension |
|
27 id="WidgetProjectNature" |
|
28 point="org.eclipse.core.resources.natures"> |
|
29 <runtime> |
|
30 <run class="org.symbian.tools.wrttools.WidgetProjectNature"/> |
|
31 </runtime> |
|
32 </extension> |
|
33 |
|
34 <!-- Widget Project Nature Images --> |
|
35 <extension |
|
36 point="org.eclipse.ui.ide.projectNatureImages"> |
|
37 <image |
|
38 icon="icons/WRT_main_16.png" |
|
39 id="org.symbian.tools.wrttools.natureImage" |
|
40 natureId="org.symbian.tools.wrttools.WidgetProjectNature"> |
|
41 </image> |
|
42 </extension> |
|
43 |
|
44 <!-- WRT Validators --> |
|
45 <!-- <extension |
|
46 point="org.eclipse.wst.validation.validatorV2" |
|
47 id="org.symbian.tools.wrttools.core.validator" |
|
48 name="%VALIDATOR.Name"> |
|
49 <validator class="org.symbian.tools.wrttools.core.validator.ValidateAction"> |
|
50 <include> |
|
51 <rules> |
|
52 <fileext ext="plist"/> |
|
53 </rules> |
|
54 </include> |
|
55 </validator> |
|
56 </extension> --> |
|
57 |
|
58 <!-- Validator Marker --> |
|
59 |
|
60 <extension |
|
61 id="org.symbian.tools.wrttools.core.validator.marker" |
|
62 name="Validator Marker" |
|
63 point="org.eclipse.core.resources.markers"> |
|
64 <super type="org.eclipse.core.resources.problemmarker"/> |
|
65 <persistent value ="true"/> |
|
66 </extension> |
|
67 |
|
68 <!-- Web Runtime Preferences --> |
|
69 <extension |
|
70 point="org.eclipse.core.runtime.preferences"> |
|
71 <initializer class="org.symbian.tools.wrttools.core.deploy.PreferenceInitializer"/> |
|
72 </extension> |
|
73 <extension |
|
74 point="org.eclipse.ui.preferencePages"> |
|
75 <page |
|
76 class="org.symbian.tools.wrttools.core.deploy.DeployPreferencePage" |
|
77 id="org.symbian.tools.wrttools.core.deploy.DeployPreferencePage" |
|
78 category="org.symbian.tools.wrttools.WrtRootPreferences" |
|
79 name="Deployment "/> |
|
80 <page |
|
81 class="org.symbian.tools.wrttools.WrtRootPreferences" |
|
82 id="org.symbian.tools.wrttools.WrtRootPreferences" |
|
83 name="Web Runtime"> |
|
84 </page> |
|
85 </extension> |
|
86 |
|
87 <!-- WRT Tool Integration (Package, Validate, Include, Exclude Settings)--> |
|
88 <extension |
|
89 point="org.eclipse.ui.popupMenus"> |
|
90 <objectContribution |
|
91 objectClass="org.eclipse.core.resources.IResource" |
|
92 id="org.symbian.tools.wrttools.widget.wrttool.deployment.setttings"> |
|
93 <filter |
|
94 name="projectNature" |
|
95 value="org.symbian.tools.wrttools.WidgetProjectNature"/> |
|
96 <action |
|
97 class="org.symbian.tools.wrttools.core.deploy.WrtDeploymentSettingsActionDelegate" |
|
98 icon="icons/deploy_settings.gif" |
|
99 id="org.symbian.tools.wrttools.core.deploy.WrtDeploymentSettingsActionDelegate" |
|
100 label="Deployment Settings for WRT Application" |
|
101 menubarPath="org.symbian.tools.wrttools.contextMenuGroupMarker"> |
|
102 </action> |
|
103 </objectContribution> |
|
104 |
|
105 <objectContribution |
|
106 objectClass="org.eclipse.core.resources.IResource" |
|
107 id="org.symbian.tools.wrttools.widget.wrttool.deploy"> |
|
108 <filter |
|
109 name="projectNature" |
|
110 value="org.symbian.tools.wrttools.WidgetProjectNature"/> |
|
111 |
|
112 <action |
|
113 class="org.symbian.tools.wrttools.core.deploy.WrtDeployActionDelegate" |
|
114 enablesFor="+" |
|
115 icon="icons/deploy_widget.gif" |
|
116 id="org.symbian.tools.wrttools.widget.deploy.WrtProjectDeployActionDelegate" |
|
117 label="Deploy WRT Application" |
|
118 menubarPath="org.symbian.tools.wrttools.contextMenuGroupMarker"> |
|
119 </action> |
|
120 </objectContribution> |
|
121 |
|
122 <objectContribution |
|
123 objectClass="org.eclipse.core.resources.IResource" |
|
124 adaptable="true" |
|
125 id="org.symbian.tools.wrttools.widget.wrttool"> |
|
126 <filter |
|
127 name="projectNature" |
|
128 value="org.symbian.tools.wrttools.WidgetProjectNature"/> |
|
129 <action |
|
130 class="org.symbian.tools.wrttools.core.packager.WrtPackageActionDelegate" |
|
131 enablesFor="+" |
|
132 icon="icons/package_widget.gif" |
|
133 id="org.symbian.tools.wrttools.widget.package.WrtPackageActionDelegate" |
|
134 label="Package WRT Application" |
|
135 menubarPath="org.symbian.tools.wrttools.contextMenuGroupMarker"> |
|
136 </action> |
|
137 </objectContribution> |
|
138 <objectContribution |
|
139 objectClass="org.eclipse.core.resources.IResource" |
|
140 id="org.symbian.tools.wrttools.widget.wrttool.packageoptions"> |
|
141 <visibility> |
|
142 <not> |
|
143 <or> |
|
144 <objectState name="persistentProperty" value="org.symbian.tools.wrttools.packager.exclude"/> |
|
145 <objectState name="extension" value="plist"/> |
|
146 <objectClass name="org.eclipse.core.resources.IProject"/> |
|
147 </or> |
|
148 </not> |
|
149 </visibility> |
|
150 <filter |
|
151 name="projectNature" |
|
152 value="org.symbian.tools.wrttools.WidgetProjectNature"/> |
|
153 <action |
|
154 class="org.symbian.tools.wrttools.core.packager.ExcludeFileAction" |
|
155 icon="icons/exclude_archive.gif" |
|
156 id="org.symbian.tools.wrttools.widget.wrttool.packageoptions.ExcludeFileAction" |
|
157 label="Exclude From WRT Archive" |
|
158 menubarPath="org.symbian.tools.wrttools.contextMenuGroupMarker"> |
|
159 </action> |
|
160 </objectContribution> |
|
161 <objectContribution |
|
162 objectClass="org.eclipse.core.resources.IResource" |
|
163 id="org.symbian.tools.wrttools.widget.wrttool.packageoptions"> |
|
164 <visibility> |
|
165 <and> |
|
166 <not> |
|
167 <objectState name="extension" value="wgz"/> |
|
168 </not> |
|
169 <and> |
|
170 <objectState name="persistentProperty" value="org.symbian.tools.wrttools.packager.exclude"/> |
|
171 <objectState name="projectNature" value="org.symbian.tools.wrttools.WidgetProjectNature"/> |
|
172 </and> |
|
173 </and> |
|
174 </visibility> |
|
175 <action |
|
176 class="org.symbian.tools.wrttools.core.packager.IncludeFileAction" |
|
177 icon="icons/include_archive.gif" |
|
178 id="org.symbian.tools.wrttools.widget.wrttool.packageoptions.IncludeFileAction" |
|
179 label="Include in WRT Archive" |
|
180 menubarPath="org.symbian.tools.wrttools.contextMenuGroupMarker"> |
|
181 </action> |
|
182 </objectContribution> |
|
183 </extension> |
|
184 |
|
185 <!-- WRT Project Templates - CSS Validator --> |
|
186 <extension-point id="projectTemplates" name="WRT application project templates" schema="schema/projectTemplates.exsd"/> |
|
187 <extension id="org.symbian.tools.wrttools.core.cssvalidator" |
|
188 name="CSS Validator" point="org.eclipse.wst.validation.validatorV2"> |
|
189 <validator build="true" |
|
190 class="org.symbian.tools.wrttools.core.internal.validation.CssBuildValidator" |
|
191 manual="true" markerId="org.symbian.tools.wrttools.core.cssValidationMarker" |
|
192 version="0.0.1"> |
|
193 <include> |
|
194 <rules> |
|
195 <contentType exactMatch="false" |
|
196 id="org.eclipse.wst.css.core.csssource"> |
|
197 </contentType> |
|
198 </rules> |
|
199 </include> |
|
200 </validator> |
|
201 </extension> |
|
202 |
|
203 <!-- WRT WidgetWizard and AptanaProjectImportWizard --> |
|
204 <extension point="org.eclipse.ui.newWizards"> |
|
205 <category id="org.symbian.tools.wrttools.core.category" name="Web Runtime(WRT)"> |
|
206 </category> |
|
207 <wizard category="org.symbian.tools.wrttools.core.category" |
|
208 class="org.symbian.tools.wrttools.wizards.WrtWidgetWizard" |
|
209 finalPerspective="org.symbian.tools.wrttools.mainPerspective" |
|
210 hasPages="true" icon="icons/WRT_main_16.png" |
|
211 id="org.symbian.tools.wrttools.core.wrtwidgetwizard" name="Web Runtime Application" |
|
212 project="true"> |
|
213 <description> |
|
214 Creates a new Symbian WRT application project using one of the provided |
|
215 templates |
|
216 </description> |
|
217 </wizard> |
|
218 <wizard category="org.symbian.tools.wrttools.core.category" |
|
219 class="org.symbian.tools.wrttools.wizards.AptanaProjectsImportWizard" |
|
220 finalPerspective="org.symbian.tools.wrttools.mainPerspective" |
|
221 hasPages="true" icon="icons/import_aptana_project.gif" |
|
222 id="org.symbian.tools.wrttools.newImportAptanaProject" name="Import Aptana IDE WRT Project" |
|
223 project="true"> |
|
224 </wizard> |
|
225 </extension> |
|
226 |
|
227 <!-- WRT Project Templates --> |
|
228 <extension point="org.symbian.tools.wrttools.projectTemplates"> |
|
229 <!-- |
|
230 <projectTemplate |
|
231 name="Basic Widget Project" |
|
232 archive="projecttemplates/basic.zip" |
|
233 default-css-name="basic" |
|
234 default-html-name="index" |
|
235 default-js-name="basic" |
|
236 icon="icons/main16.gif" |
|
237 id-pattern="com.{0}.basic.widget"> |
|
238 <description> |
|
239 This wizard generates an empty widget project with a minimal Info.plist, html,css and js. |
|
240 </description> |
|
241 </projectTemplate> |
|
242 --> |
|
243 |
|
244 <projectTemplate |
|
245 name="Hello Application Project with WRTKit Support" |
|
246 archive="projecttemplates/helloWithWRTKit.zip" |
|
247 default-css-name="HelloWithWRTKit" |
|
248 default-html-name="index" |
|
249 default-js-name="HelloWithWRTKit" |
|
250 icon="icons/WRT_main_16.png" |
|
251 id-pattern="com.{0}.helloWithWRTKit.widget" |
|
252 wizard-page-factory="org.symbian.tools.wrttools.wizards.HelloWithWRTKitProjectDetailsWizardPage$Factory"> |
|
253 <description> |
|
254 This wizard generates a basic Hello project with a minimal Info.plist, html,css and js along with WRTKit. |
|
255 </description> |
|
256 <requires-library>org.symbian.wrtkit</requires-library> |
|
257 </projectTemplate> |
|
258 |
|
259 <projectTemplate |
|
260 name="Flickr Application Project" |
|
261 archive="projecttemplates/flickr.zip" |
|
262 default-css-name="Flickr" |
|
263 default-html-name="index" |
|
264 default-js-name="Flickr" |
|
265 icon="icons/flickr.gif" |
|
266 id-pattern="com.{0}.flickr.widget" |
|
267 wizard-page-factory="org.symbian.tools.wrttools.wizards.FlickrProjectDetailsWizardPage$Factory"> |
|
268 <description> |
|
269 This wizard generates an Flickr project with a minimal Info.plist, html,css and js and WRTKit. |
|
270 </description> |
|
271 <requires-library>org.symbian.wrtkit</requires-library> |
|
272 </projectTemplate> |
|
273 |
|
274 <projectTemplate |
|
275 name="RSS Reader Application Project" |
|
276 archive="projecttemplates/rssreader.zip" |
|
277 default-css-name="RSSReader" |
|
278 default-html-name="index" |
|
279 default-js-name="RSSReader" |
|
280 icon="icons/rss.gif" |
|
281 id-pattern="com.{0}.rssreader.widget" |
|
282 wizard-page-factory="org.symbian.tools.wrttools.wizards.RssReaderProjectDetailsWizardPage$Factory"> |
|
283 <description> |
|
284 This wizard generates an RSS Reader project with a minimal Info.plist, html,css and js and WRTKit. |
|
285 </description> |
|
286 <requires-library>org.symbian.wrtkit</requires-library> |
|
287 </projectTemplate> |
|
288 </extension> |
|
289 |
|
290 <!-- Import Wizard --> |
|
291 <extension point="org.eclipse.ui.importWizards"> |
|
292 <category id="org.symbian.tools.wrttools.import" name="Web Runtime(WRT)"> |
|
293 </category> |
|
294 <wizard category="org.symbian.tools.wrttools.import" |
|
295 class="org.symbian.tools.wrttools.wizards.AptanaProjectsImportWizard" |
|
296 icon="icons/import_aptana_project.gif" id="org.symbian.tools.wrttools.import.aptanaImport" |
|
297 name="Aptana IDE WRT Project"> |
|
298 </wizard> |
|
299 <wizard |
|
300 category="org.symbian.tools.wrttools.import" |
|
301 class="org.symbian.tools.wrttools.wizards.WgzImportWizard" |
|
302 icon="icons/WRTImport.gif" |
|
303 id="org.symbian.tools.wrttools.importwgz" |
|
304 name="Import WRT Application Archive"> |
|
305 </wizard> |
|
306 </extension> |
|
307 |
|
308 <!-- Problem Markers --> |
|
309 <extension id="org.symbian.tools.wrt.xmlProblem" name="XML Problem" |
|
310 point="org.eclipse.core.resources.markers"> |
|
311 <super type="org.eclipse.core.resources.problemmarker"> |
|
312 </super> |
|
313 <persistent value="true"> |
|
314 </persistent> |
|
315 </extension> |
|
316 <extension id="org.symbian.tools.wrt.jsProblem" name="JSProblem" |
|
317 point="org.eclipse.core.resources.markers"> |
|
318 <super type="org.eclipse.core.resources.problemmarker"> |
|
319 </super> |
|
320 <persistent value="true"> |
|
321 </persistent> |
|
322 </extension> |
|
323 |
|
324 <!-- WRT Content Descriptor (.plist) file --> |
|
325 <extension point="org.eclipse.core.contenttype.contentTypes"> |
|
326 <content-type base-type="org.eclipse.core.runtime.xml" |
|
327 file-extensions="plist" id="org.symbian.tools.wrttools.contenttype.plist" |
|
328 name="WebRuntime Descriptor File" priority="normal"> |
|
329 </content-type> |
|
330 </extension> |
|
331 |
|
332 <!-- Perspective Extensions --> |
|
333 <extension point="org.eclipse.ui.perspectiveExtensions"> |
|
334 <perspectiveExtension targetID="org.eclipse.wst.jsdt.ui.JavaPerspective"> |
|
335 <newWizardShortcut id="org.symbian.tools.wrttools.core.wrtwidgetwizard"> |
|
336 </newWizardShortcut> |
|
337 </perspectiveExtension> |
|
338 <perspectiveExtension targetID="org.eclipse.debug.ui.DebugPerspective"> |
|
339 <newWizardShortcut id="org.symbian.tools.wrttools.core.wrtwidgetwizard"> |
|
340 </newWizardShortcut> |
|
341 </perspectiveExtension> |
|
342 </extension> |
|
343 |
|
344 <!-- Navigator Extensions --> |
|
345 <extension point="org.eclipse.ui.views"> |
|
346 <view allowMultiple="false" category="org.symbian.tools.wrttools.views" |
|
347 class="org.eclipse.ui.navigator.CommonNavigator" icon="icons/main16.gif" |
|
348 id="org.symbian.tools.wrttools.wrtnavigator" name="WRT Navigator" |
|
349 restorable="true"> |
|
350 </view> |
|
351 <category id="org.symbian.tools.wrttools.views" name="WRT Tools"> |
|
352 </category> |
|
353 </extension> |
|
354 <extension point="org.eclipse.ui.navigator.viewer"> |
|
355 <viewer viewerId="org.symbian.tools.wrttools.wrtnavigator"> |
|
356 <popupMenu allowsPlatformContributions="true" |
|
357 id="org.eclipse.ui.navigator.ProjectExplorer#PopupMenu"> |
|
358 <insertionPoint name="group.new" /> |
|
359 <insertionPoint name="group.open" separator="true" /> |
|
360 <insertionPoint name="group.openWith" /> |
|
361 <insertionPoint name="group.edit" separator="true" /> |
|
362 <insertionPoint name="group.reorganize" separator="true" /> |
|
363 <insertionPoint name="group.port" separator="true" /> |
|
364 <insertionPoint name="group.build" separator="true" /> |
|
365 <insertionPoint name="group.generate" separator="true" /> |
|
366 <insertionPoint name="group.search" separator="true" /> |
|
367 <insertionPoint name="additions" separator="true" /> |
|
368 <insertionPoint name="group.properties" separator="true" /> |
|
369 </popupMenu> |
|
370 </viewer> |
|
371 <viewerContentBinding viewerId="org.symbian.tools.wrttools.wrtnavigator"> |
|
372 <includes> |
|
373 <contentExtension |
|
374 isRoot="true" |
|
375 pattern="org.symbian.tools.wrttools.navigatorcontent"/> |
|
376 <contentExtension pattern="org.eclipse.ui.navigator.resources.filters.*" /> |
|
377 <contentExtension pattern="org.eclipse.ui.navigator.resources.linkHelper" /> |
|
378 </includes> |
|
379 </viewerContentBinding> |
|
380 <viewerActionBinding viewerId="org.symbian.tools.wrttools.wrtnavigator"> |
|
381 <includes> |
|
382 <actionExtension pattern="org.eclipse.ui.navigator.resources.PortingActions" /> |
|
383 <actionExtension pattern="org.eclipse.ui.navigator.resources.GotoActions" /> |
|
384 <actionExtension pattern="org.eclipse.ui.navigator.resources.GoIntoActions" /> |
|
385 <actionExtension pattern="org.eclipse.ui.navigator.resources.NewActions" /> |
|
386 <actionExtension pattern="org.eclipse.ui.navigator.resources.PropertiesActionProvider" /> |
|
387 <actionExtension pattern="org.eclipse.ui.navigator.resources.WorkManagementActionProvider" /> |
|
388 <actionExtension pattern="org.eclipse.ui.navigator.resources.ResourceMgmtActions" /> |
|
389 <actionExtension pattern="org.eclipse.ui.navigator.resources.UndoRedoActionProvider" /> |
|
390 <actionExtension pattern="org.eclipse.ui.navigator.resources.WorkingSetActions" /> |
|
391 </includes> |
|
392 </viewerActionBinding> |
|
393 <dragAssistant |
|
394 class="org.eclipse.ui.navigator.resources.ResourceDragAdapterAssistant" |
|
395 viewerId="org.symbian.tools.wrttools.wrtnavigator" /> |
|
396 </extension> |
|
397 <extension |
|
398 point="org.eclipse.ui.navigator.navigatorContent"> |
|
399 <navigatorContent |
|
400 activeByDefault="true" |
|
401 contentProvider="org.symbian.tools.wrttools.navigator.WRTNavigatorContentProvider" |
|
402 icon="icons/main16.gif" |
|
403 id="org.symbian.tools.wrttools.navigatorcontent" |
|
404 labelProvider="org.eclipse.wst.jsdt.internal.ui.navigator.JavaNavigatorLabelProvider" |
|
405 name="WRT Elements" |
|
406 priority="high" |
|
407 providesSaveables="false"> |
|
408 <triggerPoints> |
|
409 <or> |
|
410 <and> |
|
411 <instanceof |
|
412 value="org.eclipse.core.resources.IResource"> |
|
413 </instanceof> |
|
414 <adapt |
|
415 type="org.eclipse.core.resources.IProject"> |
|
416 <test |
|
417 property="org.eclipse.core.resources.projectNature" |
|
418 value="org.symbian.tools.wrttools.WidgetProjectNature"> |
|
419 </test> |
|
420 </adapt> |
|
421 </and> |
|
422 <instanceof |
|
423 value="org.eclipse.wst.jsdt.core.IJavaScriptElement"> |
|
424 </instanceof> |
|
425 <instanceof |
|
426 value="org.eclipse.wst.jsdt.core.IJarEntryResource"> |
|
427 </instanceof> |
|
428 <instanceof |
|
429 value="org.eclipse.wst.jsdt.internal.ui.packageview.PackageFragmentRootContainer"> |
|
430 </instanceof> |
|
431 <instanceof |
|
432 value="org.eclipse.wst.jsdt.ui.ProjectLibraryRoot"> |
|
433 </instanceof> |
|
434 </or> |
|
435 </triggerPoints> |
|
436 <possibleChildren> |
|
437 <or> |
|
438 <instanceof |
|
439 value="org.eclipse.core.resources.IResource"> |
|
440 </instanceof> |
|
441 <instanceof |
|
442 value="org.eclipse.wst.jsdt.core.IJavaScriptElement"> |
|
443 </instanceof> |
|
444 <instanceof |
|
445 value="org.eclipse.wst.jsdt.core.IJarEntryResource"> |
|
446 </instanceof> |
|
447 <instanceof |
|
448 value="org.eclipse.wst.jsdt.ui.ProjectLibraryRoot"> |
|
449 </instanceof> |
|
450 </or> |
|
451 </possibleChildren> |
|
452 <actionProvider |
|
453 class="org.eclipse.wst.jsdt.internal.ui.navigator.JavaNavigatorActionProvider" |
|
454 id="org.eclipse.wst.jsdt.ui.navigator.actions.StandardActions"> |
|
455 </actionProvider> |
|
456 <actionProvider |
|
457 class="org.eclipse.wst.jsdt.internal.ui.navigator.JavaNavigatorRefactorActionProvider" |
|
458 id="org.eclipse.wst.jsdt.ui.navigator.actions.RefactorActions" |
|
459 overrides="org.eclipse.ui.navigator.resources.actions.RefactorActions"> |
|
460 <enablement> |
|
461 <or> |
|
462 <adapt |
|
463 type="java.util.Collection"> |
|
464 <count |
|
465 value="0"> |
|
466 </count> |
|
467 </adapt> |
|
468 <and> |
|
469 <or> |
|
470 <instanceof |
|
471 value="org.eclipse.wst.jsdt.core.IJavaScriptElement"> |
|
472 </instanceof> |
|
473 <instanceof |
|
474 value="org.eclipse.wst.jsdt.core.IJarEntryResource"> |
|
475 </instanceof> |
|
476 </or> |
|
477 <not> |
|
478 <instanceof |
|
479 value="org.eclipse.wst.jsdt.core.ITypeRoot"> |
|
480 </instanceof> |
|
481 </not> |
|
482 </and> |
|
483 </or> |
|
484 </enablement> |
|
485 </actionProvider> |
|
486 <actionProvider |
|
487 class="org.symbian.tools.wrttools.navigator.RenameMoveActionProvider" |
|
488 id="org.symbian.wrttools.navigator.MoveRename" |
|
489 overrides="org.eclipse.ui.navigator.resources.actions.RefactorActions"> |
|
490 <enablement> |
|
491 <and> |
|
492 <adapt |
|
493 type="org.eclipse.core.resources.IResource"> |
|
494 </adapt> |
|
495 <not> |
|
496 <instanceof |
|
497 value="org.eclipse.wst.jsdt.core.IType"> |
|
498 </instanceof> |
|
499 </not> |
|
500 </and> |
|
501 </enablement> |
|
502 </actionProvider> |
|
503 <actionProvider |
|
504 class="org.eclipse.wst.jsdt.internal.ui.navigator.PackageExplorerOpenActionProvider" |
|
505 id="org.eclipse.wst.jsdt.ui.navigator.actions.OpenActions" |
|
506 overrides="org.eclipse.ui.navigator.resources.OpenActions"> |
|
507 </actionProvider> |
|
508 <override |
|
509 policy="InvokeAlwaysRegardlessOfSuppressedExt" |
|
510 suppressedExtensionId="org.eclipse.ui.navigator.resourceContent"> |
|
511 </override> |
|
512 <commonWizard |
|
513 menuGroupId="group.new" |
|
514 type="new" |
|
515 wizardId="org.symbian.tools.wrttools.core.wrtwidgetwizard"> |
|
516 <enablement> |
|
517 <or> |
|
518 <adapt |
|
519 type="org.eclipse.core.resources.IResource"> |
|
520 </adapt> |
|
521 <adapt |
|
522 type="java.util.Collection"> |
|
523 </adapt> |
|
524 </or> |
|
525 </enablement> |
|
526 </commonWizard> |
|
527 <commonWizard |
|
528 type="new" |
|
529 wizardId="org.eclipse.wst.html.ui.internal.wizard.NewHTMLWizard"> |
|
530 <enablement> |
|
531 <adapt |
|
532 type="org.eclipse.core.resources.IResource"> |
|
533 </adapt> |
|
534 </enablement> |
|
535 </commonWizard> |
|
536 <commonWizard |
|
537 type="new" |
|
538 wizardId="org.eclipse.wst.css.ui.internal.wizard.NewCSSWizard"> |
|
539 <enablement> |
|
540 <adapt |
|
541 type="org.eclipse.core.resources.IResource"> |
|
542 </adapt> |
|
543 </enablement> |
|
544 </commonWizard> |
|
545 <commonWizard |
|
546 type="new" |
|
547 wizardId="org.eclipse.wst.jsdt.ui.NewJSWizard"> |
|
548 <enablement> |
|
549 <adapt |
|
550 type="org.eclipse.core.resources.IResource"> |
|
551 </adapt> |
|
552 </enablement> |
|
553 </commonWizard> |
|
554 <commonWizard |
|
555 type="import" |
|
556 wizardId="org.symbian.tools.wrttools.import.aptanaImport"> |
|
557 <enablement> |
|
558 <or> |
|
559 <adapt |
|
560 type="org.eclipse.core.resources.IResource"> |
|
561 </adapt> |
|
562 <adapt |
|
563 type="java.util.Collection"> |
|
564 </adapt> |
|
565 </or> |
|
566 </enablement> |
|
567 </commonWizard> |
|
568 <commonWizard |
|
569 type="import" |
|
570 wizardId="org.symbian.tools.wrttools.importwgz"> |
|
571 <enablement> |
|
572 <or> |
|
573 <adapt |
|
574 type="org.eclipse.core.resources.IResource"> |
|
575 </adapt> |
|
576 <adapt |
|
577 type="java.util.Collection"> |
|
578 </adapt> |
|
579 </or> |
|
580 </enablement> |
|
581 </commonWizard> |
|
582 <dropAssistant |
|
583 class="org.eclipse.wst.jsdt.internal.ui.navigator.JavaDropAdapterAssistant" |
|
584 id="org.eclipse.wst.jsdt.ui.dropAssistant"> |
|
585 <possibleDropTargets> |
|
586 <or> |
|
587 <instanceof |
|
588 value="org.eclipse.core.resources.IResource"> |
|
589 </instanceof> |
|
590 <instanceof |
|
591 value="org.eclipse.wst.jsdt.core.IJavaScriptElement"> |
|
592 </instanceof> |
|
593 </or> |
|
594 </possibleDropTargets> |
|
595 </dropAssistant> |
|
596 <commonSorter |
|
597 class="org.symbian.tools.wrttools.navigator.NavigatorSorter" |
|
598 id="org.symbian.tools.wrttools.sorter"> |
|
599 </commonSorter> |
|
600 </navigatorContent> |
|
601 </extension> |
|
602 <extension |
|
603 point="org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer"> |
|
604 <JsGlobalScopeContainerInitializer |
|
605 class="org.symbian.tools.wrttools.core.libraries.WrtKitLibInitializer" |
|
606 id="org.symbian.wrtkit"> |
|
607 </JsGlobalScopeContainerInitializer> |
|
608 </extension> |
|
609 <extension |
|
610 point="org.eclipse.wst.jsdt.ui.JsGlobalScopeContainerPage"> |
|
611 <JsGlobalScopeContainerPage |
|
612 name="WRTKit" |
|
613 class="org.symbian.tools.wrttools.wizards.WrtKitLibraryWizardPage" |
|
614 id="org.symbian.wrtkit"> |
|
615 </JsGlobalScopeContainerPage> |
|
616 </extension> |
|
617 <extension |
|
618 id="org.symbian.tools.wrttools.core.plistvalidator" |
|
619 name="WRT Application Descriptor Validator" |
|
620 point="org.eclipse.wst.validation.validatorV2"> |
|
621 <validator |
|
622 build="true" |
|
623 class="org.symbian.tools.wrttools.core.internal.validation.WrtApplicationValidator" |
|
624 manual="true" |
|
625 markerId="org.symbian.tools.wrttools.core.cssValidationMarker" |
|
626 version="0.0.1"> |
|
627 <include> |
|
628 <rules> |
|
629 <projectNature |
|
630 id="org.symbian.tools.wrttools.WidgetProjectNature"> |
|
631 </projectNature> |
|
632 </rules> |
|
633 </include> |
|
634 </validator> |
|
635 </extension> |
|
636 </plugin> |
|