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