author | TasneemS@US-TASNEEMS |
Thu, 07 Jan 2010 19:34:37 -0800 | |
changeset 8 | 683bdcbc3ebd |
parent 0 | ddc9cde0ba07 |
child 9 | 0e34e0f4c80e |
permissions | -rw-r--r-- |
0 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 |
<?eclipse version="3.4"?> |
|
3 |
<plugin> |
|
4 |
||
5 |
<extension |
|
6 |
point="org.eclipse.ui.commands"> |
|
7 |
<category |
|
8 |
name="Sample Category" |
|
9 |
id="org.symbian.tools.wrttools.jseditors.commands.category"> |
|
10 |
</category> |
|
11 |
<command |
|
12 |
name="Sample Command" |
|
13 |
categoryId="org.symbian.tools.wrttools.jseditors.commands.category" |
|
14 |
id="org.symbian.tools.wrttools.jseditors.commands.sampleCommand"> |
|
15 |
</command> |
|
16 |
</extension> |
|
17 |
<extension |
|
18 |
point="org.eclipse.ui.handlers"> |
|
19 |
<handler |
|
20 |
commandId="org.symbian.tools.wrttools.jseditors.commands.sampleCommand" |
|
21 |
class="org.symbian.tools.wrttools.jseditors.handlers.SampleHandler"> |
|
22 |
</handler> |
|
23 |
</extension> |
|
24 |
<extension |
|
25 |
point="org.eclipse.ui.bindings"> |
|
26 |
<key |
|
27 |
commandId="org.symbian.tools.wrttools.jseditors.commands.sampleCommand" |
|
28 |
contextId="org.eclipse.ui.contexts.window" |
|
29 |
sequence="M1+6" |
|
30 |
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> |
|
31 |
</key> |
|
32 |
</extension> |
|
33 |
<extension |
|
34 |
point="org.eclipse.ui.menus"> |
|
35 |
<menuContribution |
|
36 |
locationURI="menu:org.eclipse.ui.main.menu?after=additions"> |
|
37 |
<menu |
|
38 |
label="Sample Menu" |
|
39 |
mnemonic="M" |
|
40 |
id="org.symbian.tools.wrttools.jseditors.menus.sampleMenu"> |
|
41 |
<command |
|
42 |
commandId="org.symbian.tools.wrttools.jseditors.commands.sampleCommand" |
|
43 |
mnemonic="S" |
|
44 |
id="org.symbian.tools.wrttools.jseditors.menus.sampleCommand"> |
|
45 |
</command> |
|
46 |
</menu> |
|
47 |
</menuContribution> |
|
48 |
<menuContribution |
|
49 |
locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions"> |
|
50 |
<toolbar |
|
51 |
id="org.symbian.tools.wrttools.jseditors.toolbars.sampleToolbar"> |
|
52 |
<command |
|
53 |
commandId="org.symbian.tools.wrttools.jseditors.commands.sampleCommand" |
|
54 |
icon="icons/sample.gif" |
|
55 |
tooltip="Say hello world" |
|
56 |
id="org.symbian.tools.wrttools.jseditors.toolbars.sampleCommand"> |
|
57 |
</command> |
|
58 |
</toolbar> |
|
59 |
</menuContribution> |
|
60 |
</extension> |
|
61 |
<extension |
|
62 |
point="org.eclipse.ui.propertyPages"> |
|
63 |
<page |
|
64 |
name="Sample Page" |
|
65 |
nameFilter="*.*" |
|
66 |
class="org.symbian.tools.wrttools.jseditors.properties.SamplePropertyPage" |
|
67 |
id="org.symbian.tools.wrttools.jseditors.properties.samplePropertyPage"> |
|
68 |
<enabledWhen> |
|
69 |
<instanceof |
|
70 |
value="org.eclipse.core.resources.IFile"> |
|
71 |
</instanceof> |
|
72 |
</enabledWhen> |
|
73 |
</page> |
|
74 |
</extension> |
|
75 |
<extension |
|
76 |
point="org.eclipse.ui.editors"> |
|
77 |
<editor |
|
78 |
name="Sample XML File" |
|
79 |
extensions="xml" |
|
80 |
icon="icons/sample.gif" |
|
81 |
contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor" |
|
82 |
class="org.symbian.tools.wrttools.jseditors.editors.XMLEditor" |
|
83 |
id="org.symbian.tools.wrttools.jseditors.editors.XMLEditor"> |
|
84 |
</editor> |
|
85 |
<editor |
|
86 |
name="Sample Multi-page Editor" |
|
87 |
extensions="mpe" |
|
88 |
icon="icons/sample.gif" |
|
89 |
contributorClass="jstesteditor2.editors.MultiPageEditorContributor" |
|
90 |
class="org.symbian.tools.wrttools.jseditors.editors.MultiPageEditor" |
|
91 |
id="org.symbian.tools.wrttools.jseditors.editors.MultiPageEditor"> |
|
92 |
</editor> |
|
93 |
<editor |
|
94 |
name="Sample JavaScript File" |
|
95 |
extensions="js" |
|
96 |
icon="icons/sample.gif" |
|
97 |
contributorClass="org.symbian.tools.wrttools.jseditors.editors.JSEditorContributor" |
|
98 |
class="net.sf.wdte.js.ui.editors.JSEditor" |
|
99 |
id="net.sf.wdte.js.ui.editors.JSEditor"> |
|
100 |
</editor> |
|
101 |
</extension> |
|
102 |
<extension |
|
103 |
point="org.eclipse.ui.popupMenus"> |
|
104 |
<objectContribution |
|
105 |
objectClass="org.eclipse.core.resources.IFile" |
|
106 |
id="org.symbian.tools.wrttools.jseditors.contribution1"> |
|
107 |
<menu |
|
108 |
label="New Submenu" |
|
109 |
path="additions" |
|
110 |
id="org.symbian.tools.wrttools.jseditors.menu1"> |
|
111 |
<separator |
|
112 |
name="group1"> |
|
113 |
</separator> |
|
114 |
</menu> |
|
115 |
<action |
|
116 |
label="New Action" |
|
117 |
class="org.symbian.tools.wrttools.jseditors.popup.actions.NewAction" |
|
118 |
menubarPath="org.symbian.tools.wrttools.jseditors.menu1/group1" |
|
119 |
enablesFor="1" |
|
120 |
id="org.symbian.tools.wrttools.jseditors.newAction"> |
|
121 |
</action> |
|
122 |
</objectContribution> |
|
123 |
<objectContribution |
|
124 |
adaptable="true" |
|
125 |
objectClass="org.eclipse.core.resources.IProject" |
|
126 |
nameFilter="*" |
|
127 |
id="org.symbian.tools.wrttools.jseditors.contribution1"> |
|
128 |
<action |
|
129 |
label="Add/Remove Sample Nature" |
|
130 |
class="org.symbian.tools.wrttools.jseditors.builder.ToggleNatureAction" |
|
131 |
menubarPath="additions" |
|
132 |
enablesFor="+" |
|
133 |
id="org.symbian.tools.wrttools.jseditors.addRemoveNatureAction"> |
|
134 |
</action> |
|
135 |
</objectContribution> |
|
136 |
</extension> |
|
137 |
<extension |
|
138 |
point="org.eclipse.ui.views"> |
|
139 |
<view |
|
140 |
name="My Common Navigator" |
|
141 |
icon="icons/sample.gif" |
|
142 |
class="org.eclipse.ui.navigator.CommonNavigator" |
|
143 |
id="com.example.test"> |
|
144 |
</view> |
|
145 |
<category |
|
146 |
name="Sample Category" |
|
147 |
id="org.symbian.tools.wrttools.jseditors"> |
|
148 |
</category> |
|
149 |
<view |
|
150 |
name="Sample View" |
|
151 |
icon="icons/sample.gif" |
|
152 |
category="org.symbian.tools.wrttools.jseditors" |
|
153 |
class="org.symbian.tools.wrttools.jseditors.views.SampleView" |
|
154 |
id="org.symbian.tools.wrttools.jseditors.views.SampleView"> |
|
155 |
</view> |
|
156 |
</extension> |
|
157 |
<extension |
|
158 |
point="org.eclipse.ui.navigator.viewer"> |
|
159 |
<viewerActionBinding |
|
160 |
viewerId="com.example.test"> |
|
161 |
<includes> |
|
162 |
<actionExtension |
|
163 |
pattern="org.eclipse.ui.navigator.resources.*"> |
|
164 |
</actionExtension> |
|
165 |
</includes> |
|
166 |
</viewerActionBinding> |
|
167 |
<viewerContentBinding |
|
168 |
viewerId="com.example.test"> |
|
169 |
<includes> |
|
170 |
<contentExtension |
|
171 |
pattern="org.eclipse.ui.navigator.resourceContent"> |
|
172 |
</contentExtension> |
|
173 |
<contentExtension |
|
174 |
pattern="org.eclipse.ui.navigator.resources.filters.*"> |
|
175 |
</contentExtension> |
|
176 |
<contentExtension |
|
177 |
pattern="org.eclipse.ui.navigator.resources.linkHelper"> |
|
178 |
</contentExtension> |
|
179 |
<contentExtension |
|
180 |
pattern="org.eclipse.ui.navigator.resources.workingSets"> |
|
181 |
</contentExtension> |
|
182 |
</includes> |
|
183 |
</viewerContentBinding> |
|
184 |
</extension> |
|
185 |
<extension |
|
186 |
point="org.eclipse.ui.perspectiveExtensions"> |
|
187 |
<perspectiveExtension |
|
188 |
targetID="org.eclipse.ui.resourcePerspective"> |
|
189 |
<view |
|
190 |
ratio="0.5" |
|
191 |
relative="org.eclipse.ui.navigator.ProjectExplorer" |
|
192 |
relationship="stack" |
|
193 |
id="com.example.test"> |
|
194 |
</view> |
|
195 |
</perspectiveExtension> |
|
196 |
<perspectiveExtension |
|
197 |
targetID="org.eclipse.jdt.ui.JavaPerspective"> |
|
198 |
<view |
|
199 |
ratio="0.5" |
|
200 |
relative="org.eclipse.ui.views.TaskList" |
|
201 |
relationship="right" |
|
202 |
id="org.symbian.tools.wrttools.jseditors.views.SampleView"> |
|
203 |
</view> |
|
204 |
</perspectiveExtension> |
|
205 |
</extension> |
|
206 |
<extension |
|
207 |
point="org.eclipse.help.contexts"> |
|
208 |
<contexts |
|
209 |
file="contexts.xml"> |
|
210 |
</contexts> |
|
211 |
</extension> |
|
212 |
<extension |
|
213 |
point="org.eclipse.ui.newWizards"> |
|
214 |
<category |
|
8
683bdcbc3ebd
Added HTML Wizard. Changed category to Web Runtime(WRT). Sanitized for licenses. Fixed category for WRT files. General cleanup.
TasneemS@US-TASNEEMS
parents:
0
diff
changeset
|
215 |
id="org.symbian.tools.wrttools.jseditors.category" |
683bdcbc3ebd
Added HTML Wizard. Changed category to Web Runtime(WRT). Sanitized for licenses. Fixed category for WRT files. General cleanup.
TasneemS@US-TASNEEMS
parents:
0
diff
changeset
|
216 |
name="WRT Files"> |
0 | 217 |
</category> |
218 |
<wizard |
|
219 |
name="XML File" |
|
8
683bdcbc3ebd
Added HTML Wizard. Changed category to Web Runtime(WRT). Sanitized for licenses. Fixed category for WRT files. General cleanup.
TasneemS@US-TASNEEMS
parents:
0
diff
changeset
|
220 |
icon="icons/new_xml.gif" |
683bdcbc3ebd
Added HTML Wizard. Changed category to Web Runtime(WRT). Sanitized for licenses. Fixed category for WRT files. General cleanup.
TasneemS@US-TASNEEMS
parents:
0
diff
changeset
|
221 |
category="org.symbian.tools.wrttools.jseditors.category" |
0 | 222 |
class="org.symbian.tools.wrttools.jseditors.wizards.NewXMLWizard" |
223 |
id="org.symbian.tools.wrttools.jseditors.wizards.NewXMLWizard"> |
|
224 |
</wizard> |
|
8
683bdcbc3ebd
Added HTML Wizard. Changed category to Web Runtime(WRT). Sanitized for licenses. Fixed category for WRT files. General cleanup.
TasneemS@US-TASNEEMS
parents:
0
diff
changeset
|
225 |
<wizard |
683bdcbc3ebd
Added HTML Wizard. Changed category to Web Runtime(WRT). Sanitized for licenses. Fixed category for WRT files. General cleanup.
TasneemS@US-TASNEEMS
parents:
0
diff
changeset
|
226 |
name="HTML File" |
683bdcbc3ebd
Added HTML Wizard. Changed category to Web Runtime(WRT). Sanitized for licenses. Fixed category for WRT files. General cleanup.
TasneemS@US-TASNEEMS
parents:
0
diff
changeset
|
227 |
icon="icons/sample.gif" |
683bdcbc3ebd
Added HTML Wizard. Changed category to Web Runtime(WRT). Sanitized for licenses. Fixed category for WRT files. General cleanup.
TasneemS@US-TASNEEMS
parents:
0
diff
changeset
|
228 |
category="org.symbian.tools.wrttools.jseditors.category" |
683bdcbc3ebd
Added HTML Wizard. Changed category to Web Runtime(WRT). Sanitized for licenses. Fixed category for WRT files. General cleanup.
TasneemS@US-TASNEEMS
parents:
0
diff
changeset
|
229 |
class="org.symbian.tools.wrttools.jseditors.wizards.NewHTMLWizard" |
683bdcbc3ebd
Added HTML Wizard. Changed category to Web Runtime(WRT). Sanitized for licenses. Fixed category for WRT files. General cleanup.
TasneemS@US-TASNEEMS
parents:
0
diff
changeset
|
230 |
id="org.symbian.tools.wrttools.jseditors.wizards.NewHTMLWizard"> |
683bdcbc3ebd
Added HTML Wizard. Changed category to Web Runtime(WRT). Sanitized for licenses. Fixed category for WRT files. General cleanup.
TasneemS@US-TASNEEMS
parents:
0
diff
changeset
|
231 |
</wizard> |
0 | 232 |
<wizard |
233 |
name="JavaScript File" |
|
8
683bdcbc3ebd
Added HTML Wizard. Changed category to Web Runtime(WRT). Sanitized for licenses. Fixed category for WRT files. General cleanup.
TasneemS@US-TASNEEMS
parents:
0
diff
changeset
|
234 |
icon="icons/newjscript_wiz.gif" |
683bdcbc3ebd
Added HTML Wizard. Changed category to Web Runtime(WRT). Sanitized for licenses. Fixed category for WRT files. General cleanup.
TasneemS@US-TASNEEMS
parents:
0
diff
changeset
|
235 |
category="org.symbian.tools.wrttools.jseditors.category" |
0 | 236 |
class="org.symbian.tools.wrttools.jseditors.wizards.NewJSWizard" |
237 |
id="org.symbian.tools.wrttools.jseditors.wizards.NewJSWizard"> |
|
238 |
</wizard> |
|
239 |
</extension> |
|
240 |
<extension |
|
241 |
point="org.eclipse.ui.preferencePages"> |
|
242 |
<page |
|
243 |
name="Sample Preferences" |
|
244 |
class="org.symbian.tools.wrttools.jseditors.preferences.SamplePreferencePage" |
|
245 |
id="org.symbian.tools.wrttools.jseditors.preferences.SamplePreferencePage"> |
|
246 |
</page> |
|
247 |
</extension> |
|
248 |
<extension |
|
249 |
point="org.eclipse.core.runtime.preferences"> |
|
250 |
<initializer |
|
251 |
class="org.symbian.tools.wrttools.jseditors.preferences.PreferenceInitializer"> |
|
252 |
</initializer> |
|
253 |
</extension> |
|
254 |
<extension |
|
255 |
point="org.eclipse.help.toc"> |
|
256 |
<toc |
|
257 |
file="toc.xml"> |
|
258 |
</toc> |
|
259 |
<toc |
|
260 |
file="testToc.xml" |
|
261 |
primary="true"> |
|
262 |
</toc> |
|
263 |
</extension> |
|
264 |
<extension |
|
265 |
point="org.eclipse.ui.decorators"> |
|
266 |
<decorator |
|
267 |
lightweight="true" |
|
268 |
location="BOTTOM_RIGHT" |
|
269 |
adaptable="true" |
|
270 |
label="Resource Decorator" |
|
271 |
icon="icons/sample_decorator.gif" |
|
272 |
state="true" |
|
273 |
id="org.symbian.tools.wrttools.jseditors.decorator"> |
|
274 |
<enablement> |
|
275 |
<and> |
|
276 |
<objectClass |
|
277 |
name="org.eclipse.core.resources.IResource"> |
|
278 |
</objectClass> |
|
279 |
<or> |
|
280 |
<objectClass |
|
281 |
name="org.eclipse.core.resources.IProject"> |
|
282 |
</objectClass> |
|
283 |
<objectClass |
|
284 |
name="org.eclipse.core.resources.IFile"> |
|
285 |
</objectClass> |
|
286 |
</or> |
|
287 |
</and> |
|
288 |
</enablement> |
|
289 |
</decorator> |
|
290 |
</extension> |
|
291 |
<extension |
|
292 |
point="org.eclipse.ui.importWizards"> |
|
293 |
<category |
|
294 |
name="Sample File Import" |
|
295 |
id="org.symbian.tools.wrttools.jseditors.importWizards.sampleCategory"> |
|
296 |
</category> |
|
297 |
<wizard |
|
298 |
name="Import File" |
|
299 |
icon="icons/sample.gif" |
|
300 |
category="org.symbian.tools.wrttools.jseditors.importWizards.sampleCategory" |
|
301 |
class="org.symbian.tools.wrttools.jseditors.importWizards.ImportWizard" |
|
302 |
id="org.symbian.tools.wrttools.jseditors.importWizards.ImportWizard"> |
|
303 |
<description> |
|
304 |
Import a file from the local file system into the workspace. |
|
305 |
</description> |
|
306 |
</wizard> |
|
307 |
</extension> |
|
308 |
<extension |
|
309 |
point="org.eclipse.ui.intro.configExtension"> |
|
310 |
<configExtension |
|
311 |
content="intro/sample.xml" |
|
312 |
configId="org.eclipse.ui.intro.universalConfig"> |
|
313 |
</configExtension> |
|
314 |
</extension> |
|
315 |
<extension |
|
316 |
point="org.eclipse.ui.perspectives"> |
|
317 |
<perspective |
|
318 |
name="Release Engineering" |
|
319 |
icon="icons/releng_gears.gif" |
|
320 |
class="org.symbian.tools.wrttools.jseditors.perspectives.RelEngPerspective" |
|
321 |
id="org.symbian.tools.wrttools.jseditors.perspectives.RelEngPerspective"> |
|
322 |
</perspective> |
|
323 |
</extension> |
|
324 |
<extension |
|
325 |
id="org.symbian.tools.wrttools.jseditors.builders.SampleBuilder" |
|
326 |
name="Sample Project Builder" |
|
327 |
point="org.eclipse.core.resources.builders"> |
|
328 |
<builder |
|
329 |
hasNature="true"> |
|
330 |
<run |
|
331 |
class="org.symbian.tools.wrttools.jseditors.builder.SampleBuilder"> |
|
332 |
</run> |
|
333 |
</builder> |
|
334 |
</extension> |
|
335 |
<extension |
|
336 |
id="org.symbian.tools.wrttools.jseditors.builders.SampleNature" |
|
337 |
name="Sample Project Nature" |
|
338 |
point="org.eclipse.core.resources.natures"> |
|
339 |
<runtime> |
|
340 |
<run |
|
341 |
class="org.symbian.tools.wrttools.jseditors.builders.SampleNature"> |
|
342 |
</run> |
|
343 |
</runtime> |
|
344 |
<builder |
|
345 |
id="org.symbian.tools.wrttools.jseditors.builders.SampleBuilder"> |
|
346 |
</builder> |
|
347 |
</extension> |
|
348 |
<extension |
|
349 |
id="org.symbian.tools.wrttools.jseditors.xmlProblem" |
|
350 |
name="XML Problem" |
|
351 |
point="org.eclipse.core.resources.markers"> |
|
352 |
<super |
|
353 |
type="org.eclipse.core.resources.problemmarker"> |
|
354 |
</super> |
|
355 |
<persistent |
|
356 |
value="true"> |
|
357 |
</persistent> |
|
358 |
</extension> |
|
359 |
<extension |
|
360 |
id="org.symbian.tools.wrttools.jseditors.jsProblem" |
|
361 |
name="JS Problem" |
|
362 |
point="org.eclipse.core.resources.markers"> |
|
363 |
<super |
|
364 |
type="org.eclipse.core.resources.problemmarker"> |
|
365 |
</super> |
|
366 |
<persistent |
|
367 |
value="true"> |
|
368 |
</persistent> |
|
369 |
</extension> |
|
370 |
<extension |
|
371 |
point="org.eclipse.ui.splashHandlers"> |
|
372 |
<splashHandler |
|
373 |
class="org.symbian.tools.wrttools.jseditors.splashHandlers.InteractiveSplashHandler" |
|
374 |
id="org.symbian.tools.wrttools.jseditors.splashHandlers.interactive"> |
|
375 |
</splashHandler> |
|
376 |
<splashHandlerProductBinding |
|
377 |
splashId="org.symbian.tools.wrttools.jseditors.splashHandlers.interactive" |
|
378 |
productId="org.eclipse.epp.package.rcp.product"> |
|
379 |
</splashHandlerProductBinding> |
|
380 |
</extension> |
|
381 |
||
382 |
</plugin> |