Commit | Line | Data |
---|---|---|
be222f56 PT |
1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <?eclipse version="3.4"?> | |
3 | <plugin> | |
4 | <extension-point id="org.eclipse.linuxtools.tmf.ui.uml2SDLoader" name="TMF UML 2 Sequence Diagram Loader" schema="schema/org.eclipse.linuxtools.tmf.ui.uml2SDLoader.exsd"/> | |
5 | <extension-point id="org.eclipse.linuxtools.tmf.ui.tracetype" name="Tmf Trace Type" schema="schema/org.eclipse.linuxtools.tmf.ui.tracetype.exsd"/> | |
6 | ||
7 | <extension | |
8 | point="org.eclipse.ui.perspectives"> | |
9 | <perspective | |
10 | class="org.eclipse.linuxtools.tmf.ui.views.TracingPerspectiveFactory" | |
11 | icon="icons/eview16/tracing_pers.gif" | |
12 | id="org.eclipse.linuxtools.tmf.ui.perspective" | |
13 | name="%perspective.category.name"> | |
14 | </perspective> | |
15 | </extension> | |
16 | <extension | |
17 | point="org.eclipse.ui.views"> | |
18 | <category | |
19 | id="org.eclipse.linuxtools.tmf.ui.views.category" | |
20 | name="%views.category.name"> | |
21 | </category> | |
be222f56 PT |
22 | <view |
23 | category="org.eclipse.linuxtools.tmf.ui.views.category" | |
24 | class="org.eclipse.linuxtools.tmf.ui.views.timechart.TimeChartView" | |
25 | icon="icons/eview16/timechart_view.gif" | |
26 | id="org.eclipse.linuxtools.tmf.ui.views.timechart" | |
27 | name="%timechart.view.name" | |
28 | restorable="true"> | |
29 | </view> | |
30 | <view | |
31 | allowMultiple="false" | |
32 | category="org.eclipse.linuxtools.tmf.ui.views.category" | |
33 | class="org.eclipse.linuxtools.tmf.ui.views.environment.TmfEnvironmentView" | |
34 | icon="icons/eview16/events_view.gif" | |
35 | id="org.eclipse.linuxtools.tmf.ui.views.environment" | |
36 | name="%environment.view.name" | |
37 | restorable="true"> | |
38 | </view> | |
7692e512 AM |
39 | <view |
40 | allowMultiple="false" | |
41 | category="org.eclipse.linuxtools.tmf.ui.views.category" | |
42 | class="org.eclipse.linuxtools.tmf.ui.views.statesystem.TmfStateSystemExplorer" | |
43 | icon="icons/eview16/events_view.gif" | |
44 | id="org.eclipse.linuxtools.tmf.ui.views.ssvisualizer" | |
45 | name="%ssvisualizer.view.name" | |
46 | restorable="true"> | |
47 | </view> | |
be222f56 PT |
48 | <view |
49 | allowMultiple="false" | |
50 | category="org.eclipse.linuxtools.tmf.ui.views.category" | |
51 | class="org.eclipse.linuxtools.tmf.ui.views.colors.ColorsView" | |
52 | icon="icons/eview16/colors_view.gif" | |
53 | id="org.eclipse.linuxtools.tmf.ui.views.colors" | |
54 | name="%colors.view.name" | |
55 | restorable="true"> | |
56 | </view> | |
57 | <view | |
58 | allowMultiple="false" | |
59 | category="org.eclipse.linuxtools.tmf.ui.views.category" | |
60 | class="org.eclipse.linuxtools.tmf.ui.views.filter.FilterView" | |
61 | icon="icons/eview16/filters_view.gif" | |
62 | id="org.eclipse.linuxtools.tmf.ui.views.filter" | |
63 | name="%filters.view.name" | |
64 | restorable="true"> | |
65 | </view> | |
66 | <view | |
67 | category="org.eclipse.linuxtools.tmf.ui.views.category" | |
68 | class="org.eclipse.linuxtools.tmf.ui.views.uml2sd.SDView" | |
69 | icon="icons/eview16/sequencediagram_view.gif" | |
70 | id="org.eclipse.linuxtools.tmf.ui.tmfUml2SDSyncView" | |
71 | name="%uml2sd.view.name" | |
72 | restorable="true"> | |
73 | </view> | |
74 | <view | |
75 | allowMultiple="false" | |
76 | category="org.eclipse.linuxtools.tmf.ui.views.category" | |
77 | class="org.eclipse.linuxtools.tmf.ui.views.statistics.TmfStatisticsView" | |
78 | icon="icons/eview16/statistics_view.gif" | |
79 | id="org.eclipse.linuxtools.tmf.ui.views.statistics" | |
80 | name="%statistics.view.name" | |
81 | restorable="true"> | |
82 | </view> | |
83 | <view | |
84 | allowMultiple="false" | |
85 | category="org.eclipse.linuxtools.tmf.ui.views.category" | |
86 | class="org.eclipse.linuxtools.tmf.ui.views.histogram.HistogramView" | |
87 | icon="icons/eview16/histogram.gif" | |
88 | id="org.eclipse.linuxtools.tmf.ui.views.histogram" | |
89 | name="%histogram.view.name" | |
90 | restorable="true"> | |
91 | </view> | |
e8251298 PT |
92 | <view |
93 | category="org.eclipse.linuxtools.tmf.ui.views.category" | |
94 | class="org.eclipse.linuxtools.tmf.ui.views.callstack.CallStackView" | |
95 | icon="icons/eview16/callstack_view.gif" | |
96 | id="org.eclipse.linuxtools.tmf.ui.views.callstack" | |
97 | name="%callstack.view.name" | |
98 | restorable="true"> | |
99 | </view> | |
be222f56 PT |
100 | </extension> |
101 | <extension | |
102 | point="org.eclipse.ui.editors"> | |
103 | <editor | |
104 | class="org.eclipse.linuxtools.tmf.ui.editors.TmfEventsEditor" | |
105 | default="false" | |
106 | icon="icons/eview16/events_view.gif" | |
107 | id="org.eclipse.linuxtools.tmf.ui.editors.events" | |
108 | name="%events.editor.name"> | |
109 | <contentTypeBinding | |
110 | contentTypeId="org.eclipse.linuxtools.tmf.ui.content-type.trace"> | |
111 | </contentTypeBinding> | |
112 | </editor> | |
be222f56 PT |
113 | </extension> |
114 | <extension | |
115 | point="org.eclipse.ui.newWizards"> | |
116 | <category | |
117 | id="org.eclipse.linuxtools.tmf.ui.wizards.new" | |
118 | name="%project.new.category.name"> | |
119 | </category> | |
120 | <wizard | |
121 | category="org.eclipse.linuxtools.tmf.ui.wizards.new" | |
122 | class="org.eclipse.linuxtools.tmf.ui.project.wizards.NewTmfProjectWizard" | |
123 | icon="icons/elcl16/new_tracing_prj.gif" | |
124 | id="org.eclipse.linuxtools.tmf.ui.views.ui.wizards.newProject" | |
125 | name="%project.new.wizard.name" | |
126 | project="true"> | |
127 | <description> | |
128 | %project.new.wizard.description | |
129 | ||
130 | </description> | |
131 | </wizard> | |
132 | <wizard | |
133 | category="org.eclipse.linuxtools.tmf.ui.wizards.new" | |
134 | class="org.eclipse.linuxtools.internal.tmf.ui.parsers.wizards.CustomTxtParserWizard" | |
135 | icon="icons/etool16/customparser_wizard.gif" | |
136 | id="org.eclipse.linuxtools.tmf.ui.wizards.custom.text" | |
137 | name="%project.new.wizard.custom.text.parser"> | |
138 | </wizard> | |
139 | <wizard | |
140 | category="org.eclipse.linuxtools.tmf.ui.wizards.new" | |
141 | class="org.eclipse.linuxtools.internal.tmf.ui.parsers.wizards.CustomXmlParserWizard" | |
142 | icon="icons/etool16/customparser_wizard.gif" | |
143 | id="org.eclipse.linuxtools.tmf.ui.wizards.custom.xml" | |
144 | name="%project.new.wizard.custom.xml.parser"> | |
145 | </wizard> | |
146 | </extension> | |
147 | <extension | |
148 | point="org.eclipse.ui.importWizards"> | |
149 | <category | |
150 | id="org.eclipse.linuxtools.tmf.import.category" | |
151 | name="%project.new.category.name"> | |
152 | </category> | |
153 | <wizard | |
154 | category="org.eclipse.linuxtools.tmf.import.category" | |
d04ec5a7 | 155 | class="org.eclipse.linuxtools.tmf.ui.project.wizards.importtrace.ImportTraceWizard" |
be222f56 PT |
156 | icon="icons/etool16/import.gif" |
157 | id="org.eclipse.linuxtools.tmf.ui.trace.import.wizard" | |
158 | name="%project.import.wizard.name"> | |
159 | </wizard> | |
d04ec5a7 MK |
160 | <wizard |
161 | category="org.eclipse.linuxtools.tmf.import.category" | |
162 | class="org.eclipse.linuxtools.tmf.ui.project.wizards.importtrace.BatchImportTraceWizard" | |
163 | icon="icons/etool16/import.gif" | |
164 | id="org.eclipse.linuxtools.tmf.ui.batch_import" | |
165 | name="%project.import.wizard.name.batch"> | |
166 | </wizard> | |
6e651d8b MAL |
167 | <wizard |
168 | category="org.eclipse.linuxtools.tmf.import.category" | |
169 | class="org.eclipse.linuxtools.internal.tmf.ui.project.wizards.tracepkg.importexport.ImportTracePackageWizard" | |
170 | icon="icons/etool16/import.gif" | |
171 | id="org.eclipse.linuxtools.tmf.ui.trace.import.package.wizard" | |
172 | name="%project.import.wizard.name.tracepkg"> | |
173 | </wizard> | |
be222f56 PT |
174 | </extension> |
175 | <extension | |
176 | id="org.eclipse.linuxtools.tmf.project.nature" | |
177 | point="org.eclipse.core.resources.natures"> | |
178 | <runtime> | |
179 | <run | |
180 | class="org.eclipse.linuxtools.tmf.core.TmfProjectNature"> | |
181 | </run> | |
182 | </runtime> | |
183 | </extension> | |
184 | <extension | |
185 | point="org.eclipse.ui.ide.projectNatureImages"> | |
186 | <image | |
187 | icon="icons/ovr16/trace_nature_ovr.gif" | |
188 | id="org.eclipse.linuxtools.tmf.ui.nature.image" | |
189 | natureId="org.eclipse.linuxtools.tmf.project.nature"> | |
190 | </image> | |
191 | </extension> | |
192 | <extension | |
193 | point="org.eclipse.ui.navigator.navigatorContent"> | |
194 | <navigatorContent | |
195 | activeByDefault="true" | |
196 | contentProvider="org.eclipse.linuxtools.tmf.ui.project.model.TmfNavigatorContentProvider" | |
197 | icon="icons/eview16/tracing_pers.gif" | |
198 | id="org.eclipse.linuxtools.tmf.ui.navigator.content" | |
199 | labelProvider="org.eclipse.linuxtools.tmf.ui.project.model.TmfNavigatorLabelProvider" | |
200 | name="%navigatorContent.name" | |
201 | priority="normal"> | |
202 | <triggerPoints> | |
203 | <or> | |
204 | <and> | |
205 | <instanceof | |
206 | value="org.eclipse.core.resources.IProject"> | |
207 | </instanceof> | |
208 | <test | |
209 | property="org.eclipse.core.resources.projectNature" | |
210 | value="org.eclipse.linuxtools.tmf.project.nature"> | |
211 | </test> | |
212 | </and> | |
213 | <instanceof | |
214 | value="org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement"> | |
215 | </instanceof> | |
216 | </or> | |
217 | </triggerPoints> | |
218 | <possibleChildren> | |
219 | <or> | |
220 | <instanceof | |
221 | value="org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement"> | |
222 | </instanceof> | |
223 | <instanceof | |
224 | value="org.eclipse.core.resources.IResource"> | |
225 | </instanceof> | |
226 | </or></possibleChildren> | |
227 | <override | |
228 | policy="InvokeAlwaysRegardlessOfSuppressedExt" | |
229 | suppressedExtensionId="org.eclipse.ui.navigator.resourceContent"> | |
230 | </override> | |
231 | <actionProvider | |
232 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.TmfActionProvider" | |
233 | id="org.eclipse.linuxtools.tmf.ui.navigator.actions.provider"> | |
234 | <enablement> | |
235 | <or> | |
236 | <instanceof | |
237 | value="org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement"> | |
238 | </instanceof> | |
239 | </or> | |
240 | </enablement> | |
241 | </actionProvider> | |
242 | <dropAssistant | |
243 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DropAdapterAssistant" | |
244 | id="org.eclipse.linuxtools.tmf.ui.navigator.dropAssistant"> | |
245 | <possibleDropTargets> | |
246 | <or> | |
247 | <and> | |
248 | <instanceof | |
249 | value="org.eclipse.core.resources.IProject"> | |
250 | </instanceof> | |
251 | <test | |
252 | property="org.eclipse.core.resources.projectNature" | |
253 | value="org.eclipse.linuxtools.tmf.project.nature"> | |
254 | </test> | |
255 | </and> | |
256 | <instanceof | |
257 | value="org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement"> | |
258 | </instanceof> | |
259 | </or> | |
260 | </possibleDropTargets> | |
261 | </dropAssistant> | |
262 | <commonWizard | |
263 | menuGroupId="org.eclipse.linuxtools.tmf.ui.views.ui.wizards.menuGroupId" | |
264 | type="new" | |
265 | wizardId="org.eclipse.linuxtools.tmf.ui.views.ui.wizards.newProject"> | |
ecf3bc29 MAL |
266 | <enablement> |
267 | <with variable="activeWorkbenchWindow.activePerspective"> | |
268 | <equals | |
269 | value="org.eclipse.linuxtools.tmf.ui.perspective"> | |
270 | </equals> | |
271 | </with> | |
272 | </enablement> | |
be222f56 PT |
273 | </commonWizard> |
274 | </navigatorContent> | |
275 | </extension> | |
276 | <extension | |
277 | point="org.eclipse.ui.navigator.viewer"> | |
278 | <viewerContentBinding | |
279 | viewerId="org.eclipse.ui.navigator.ProjectExplorer"> | |
280 | <includes> | |
281 | <contentExtension | |
282 | pattern="org.eclipse.linuxtools.tmf.ui.navigator.content"> | |
283 | </contentExtension> | |
284 | <contentExtension | |
285 | pattern="org.eclipse.ui.navigator.resources.filters.*"> | |
286 | </contentExtension> | |
1169a815 BH |
287 | <contentExtension |
288 | pattern="org.eclipse.linuxtools.internal.tmf.ui.project.model.TmfEditorLinkHelper"> | |
289 | </contentExtension> | |
be222f56 PT |
290 | </includes> |
291 | </viewerContentBinding> | |
292 | </extension> | |
293 | <extension | |
294 | point="org.eclipse.ui.decorators"> | |
295 | <decorator | |
296 | icon="icons/ovr16/trace_folder_ovr.png" | |
297 | id="org.eclipse.linuxtools.tmf.ui.trace_folder.decorator" | |
298 | label="Trace Folder" | |
299 | lightweight="true" | |
300 | location="TOP_RIGHT" | |
301 | state="true"> | |
302 | <enablement> | |
303 | <objectClass | |
304 | name="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
305 | </objectClass> | |
306 | </enablement> | |
307 | </decorator> | |
308 | <decorator | |
309 | icon="icons/ovr16/experiment_folder_ovr.png" | |
310 | id="org.eclipse.linuxtools.tmf.ui.experiment_folder.decorator" | |
311 | label="Trace Experiment Folder" | |
312 | lightweight="true" | |
313 | location="TOP_RIGHT" | |
314 | state="true"> | |
315 | <enablement> | |
316 | <objectClass | |
317 | name="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentFolder"> | |
318 | </objectClass> | |
319 | </enablement> | |
320 | </decorator> | |
321 | <decorator | |
322 | icon="icons/ovr16/link_ovr.gif" | |
323 | id="org.eclipse.linuxtools.tmf.ui.linked_trace.decorator" | |
324 | label="Linked Trace" | |
325 | lightweight="true" | |
326 | location="BOTTOM_RIGHT" | |
327 | state="true"> | |
328 | <enablement> | |
329 | <and> | |
330 | <objectClass | |
331 | name="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
332 | </objectClass> | |
333 | <objectState | |
334 | name="isLinked" | |
335 | value="true"> | |
336 | </objectState> | |
337 | </and> | |
338 | </enablement> | |
339 | </decorator> | |
340 | </extension> | |
341 | <extension | |
342 | point="org.eclipse.ui.menus"> | |
6151d86c PT |
343 | <menuContribution |
344 | locationURI="popup:org.eclipse.ui.popup.any?after=additions"> | |
be222f56 | 345 | <command |
6151d86c PT |
346 | commandId="org.eclipse.ui.file.import" |
347 | label="%command.import" | |
348 | mnemonic="%command.import.mnemonic" | |
349 | style="push"> | |
be222f56 PT |
350 | <visibleWhen |
351 | checkEnabled="false"> | |
352 | <with | |
353 | variable="selection"> | |
354 | <count | |
355 | value="1"> | |
356 | </count> | |
357 | <iterate | |
be222f56 PT |
358 | operator="and"> |
359 | <instanceof | |
360 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
361 | </instanceof> | |
362 | </iterate> | |
363 | </with> | |
364 | </visibleWhen> | |
365 | </command> | |
d04ec5a7 MK |
366 | <command |
367 | commandId="org.eclipse.linuxtools.tmf.ui.batch_import" | |
368 | label="%command.batch_import" | |
369 | mnemonic="%command.batch_import.mnemonic" | |
370 | style="push"> | |
371 | <visibleWhen | |
372 | checkEnabled="false"> | |
373 | <with | |
374 | variable="selection"> | |
375 | <count | |
376 | value="1"> | |
377 | </count> | |
378 | <iterate | |
379 | operator="and"> | |
380 | <instanceof | |
381 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
382 | </instanceof> | |
383 | </iterate> | |
384 | </with> | |
385 | </visibleWhen> | |
386 | </command> | |
6151d86c PT |
387 | <separator |
388 | name="org.eclipse.linuxtools.tmf.ui.separator1" | |
389 | visible="true"> | |
390 | </separator> | |
be222f56 | 391 | <command |
6151d86c PT |
392 | commandId="org.eclipse.ui.navigate.openResource" |
393 | disabledIcon="/icons/dlcl16/open.gif" | |
394 | icon="/icons/elcl16/open.gif" | |
395 | label="%command.open" | |
396 | mnemonic="%command.open.mnemonic" | |
397 | style="push"> | |
be222f56 PT |
398 | <visibleWhen |
399 | checkEnabled="false"> | |
400 | <with | |
401 | variable="selection"> | |
402 | <count | |
403 | value="1"> | |
404 | </count> | |
405 | <iterate | |
406 | ifEmpty="false" | |
407 | operator="and"> | |
6151d86c PT |
408 | <or> |
409 | <instanceof | |
410 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
411 | </instanceof> | |
412 | <instanceof | |
413 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
414 | </instanceof> | |
415 | </or> | |
be222f56 PT |
416 | </iterate> |
417 | </with> | |
418 | </visibleWhen> | |
419 | </command> | |
420 | <command | |
6151d86c | 421 | commandId="org.eclipse.ui.edit.copy" |
3f10c5b9 PT |
422 | disabledIcon="icons/dtool16/copy_edit.gif" |
423 | icon="icons/etool16/copy_edit.gif" | |
6151d86c PT |
424 | label="%command.copy" |
425 | mnemonic="%command.copy.mnemonic" | |
426 | style="push"> | |
be222f56 PT |
427 | <visibleWhen |
428 | checkEnabled="false"> | |
429 | <with | |
430 | variable="selection"> | |
431 | <count | |
432 | value="1"> | |
433 | </count> | |
434 | <iterate | |
435 | ifEmpty="false" | |
436 | operator="and"> | |
6151d86c PT |
437 | <or> |
438 | <instanceof | |
439 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
440 | </instanceof> | |
441 | <instanceof | |
442 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
443 | </instanceof> | |
444 | </or> | |
be222f56 PT |
445 | </iterate> |
446 | </with> | |
447 | </visibleWhen> | |
448 | </command> | |
449 | <command | |
6151d86c PT |
450 | commandId="org.eclipse.ui.edit.rename" |
451 | disabledIcon="/icons/dlcl16/rename.gif" | |
452 | icon="/icons/elcl16/rename.gif" | |
453 | label="%command.rename" | |
454 | mnemonic="%command.rename.mnemonic" | |
455 | style="push"> | |
be222f56 PT |
456 | <visibleWhen |
457 | checkEnabled="false"> | |
458 | <with | |
459 | variable="selection"> | |
460 | <count | |
461 | value="1"> | |
462 | </count> | |
463 | <iterate | |
464 | ifEmpty="false" | |
465 | operator="and"> | |
6151d86c PT |
466 | <or> |
467 | <instanceof | |
468 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
469 | </instanceof> | |
470 | <instanceof | |
471 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
472 | </instanceof> | |
473 | </or> | |
be222f56 PT |
474 | </iterate> |
475 | </with> | |
476 | </visibleWhen> | |
477 | </command> | |
478 | <command | |
6151d86c | 479 | commandId="org.eclipse.ui.edit.delete" |
3f10c5b9 PT |
480 | disabledIcon="icons/dtool16/delete.gif" |
481 | icon="icons/etool16/delete.gif" | |
6151d86c PT |
482 | label="%command.delete" |
483 | mnemonic="%command.delete.mnemonic" | |
484 | style="push"> | |
be222f56 PT |
485 | <visibleWhen |
486 | checkEnabled="false"> | |
487 | <with | |
488 | variable="selection"> | |
489 | <iterate | |
490 | ifEmpty="false" | |
491 | operator="and"> | |
6151d86c PT |
492 | <or> |
493 | <and> | |
494 | <instanceof | |
495 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
496 | </instanceof> | |
497 | <not> | |
498 | <test | |
499 | forcePluginActivation="true" | |
500 | property="org.eclipse.linuxtools.tmf.ui.isExperimentTrace"> | |
501 | </test> | |
502 | </not> | |
503 | </and> | |
be222f56 | 504 | <instanceof |
6151d86c | 505 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> |
be222f56 | 506 | </instanceof> |
6151d86c | 507 | </or> |
be222f56 PT |
508 | </iterate> |
509 | </with> | |
510 | </visibleWhen> | |
511 | </command> | |
512 | <command | |
6151d86c | 513 | commandId="org.eclipse.ui.edit.delete" |
3f10c5b9 PT |
514 | disabledIcon="icons/dtool16/delete.gif" |
515 | icon="icons/etool16/delete.gif" | |
6151d86c PT |
516 | label="%command.remove" |
517 | mnemonic="%command.remove.mnemonic" | |
518 | style="push"> | |
be222f56 PT |
519 | <visibleWhen |
520 | checkEnabled="false"> | |
521 | <with | |
522 | variable="selection"> | |
523 | <iterate | |
524 | ifEmpty="false" | |
525 | operator="and"> | |
526 | <and> | |
527 | <instanceof | |
528 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
529 | </instanceof> | |
530 | <test | |
531 | forcePluginActivation="true" | |
532 | property="org.eclipse.linuxtools.tmf.ui.isExperimentTrace"> | |
533 | </test> | |
534 | </and> | |
535 | </iterate> | |
536 | </with> | |
537 | </visibleWhen> | |
538 | </command> | |
539 | <separator | |
540 | name="org.eclipse.linuxtools.tmf.ui.separator2" | |
541 | visible="true"> | |
542 | </separator> | |
543 | <command | |
6151d86c | 544 | commandId="org.eclipse.linuxtools.tmf.ui.command.new_experiment" |
be222f56 PT |
545 | disabledIcon="icons/dtool16/new.gif" |
546 | icon="icons/etool16/new.gif" | |
6151d86c PT |
547 | label="%command.new_experiment" |
548 | mnemonic="%command.new_experiment.mnemonic" | |
be222f56 | 549 | style="push" |
6151d86c | 550 | tooltip="%command.new_experiment.description"> |
be222f56 PT |
551 | <visibleWhen |
552 | checkEnabled="false"> | |
553 | <with | |
554 | variable="selection"> | |
555 | <count | |
556 | value="1"> | |
557 | </count> | |
558 | <iterate | |
559 | ifEmpty="false" | |
560 | operator="and"> | |
561 | <instanceof | |
562 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentFolder"> | |
563 | </instanceof> | |
564 | </iterate> | |
565 | </with> | |
566 | </visibleWhen> | |
567 | </command> | |
be222f56 | 568 | <command |
6151d86c PT |
569 | commandId="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files" |
570 | label="%command.delete_suppl_files" | |
571 | mnemonic="%command.delete_suppl_files.mnemonic" | |
be222f56 | 572 | style="push" |
6151d86c | 573 | tooltip="%command.delete_suppl_files.description"> |
be222f56 PT |
574 | <visibleWhen |
575 | checkEnabled="false"> | |
576 | <with | |
577 | variable="selection"> | |
6151d86c PT |
578 | <and> |
579 | <count | |
580 | value="1"> | |
581 | </count> | |
582 | <iterate | |
583 | ifEmpty="false" | |
584 | operator="and"> | |
585 | <and> | |
586 | <or> | |
587 | <instanceof | |
588 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
589 | </instanceof> | |
590 | <instanceof | |
591 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
592 | </instanceof> | |
593 | </or> | |
594 | <test | |
595 | forcePluginActivation="true" | |
596 | property="org.eclipse.linuxtools.tmf.ui.hasSupplementaryFiles"> | |
597 | </test> | |
598 | </and> | |
599 | </iterate> | |
600 | </and> | |
be222f56 PT |
601 | </with> |
602 | </visibleWhen> | |
603 | </command> | |
6e651d8b MAL |
604 | <command |
605 | commandId="org.eclipse.linuxtools.tmf.ui.command.exporttracepkg" | |
606 | icon="icons/etool16/export.gif" | |
607 | label="%command.export_trace_package" | |
608 | mnemonic="%command.export_trace_package.mnemonic" | |
609 | style="push" | |
610 | tooltip="%command.export_trace_package.description"> | |
611 | <visibleWhen | |
612 | checkEnabled="false"> | |
613 | <with | |
614 | variable="selection"> | |
615 | <and> | |
616 | <count | |
617 | value="1"> | |
618 | </count> | |
619 | <iterate | |
620 | ifEmpty="false" | |
621 | operator="and"> | |
622 | <instanceof | |
623 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
624 | </instanceof> | |
625 | </iterate> | |
626 | </and> | |
627 | </with> | |
628 | </visibleWhen> | |
629 | </command> | |
630 | <command | |
631 | commandId="org.eclipse.linuxtools.tmf.ui.command.importtracepkg" | |
632 | label="%command.import_trace_package" | |
633 | mnemonic="%command.import_trace_package.mnemonic" | |
634 | style="push" | |
635 | tooltip="%command.import_trace_package.description"> | |
636 | <visibleWhen | |
637 | checkEnabled="false"> | |
638 | <with | |
639 | variable="selection"> | |
640 | <and> | |
641 | <count | |
642 | value="1"> | |
643 | </count> | |
644 | <iterate | |
645 | ifEmpty="false" | |
646 | operator="and"> | |
647 | <instanceof | |
648 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
649 | </instanceof> | |
650 | </iterate> | |
651 | </and> | |
652 | </with> | |
653 | </visibleWhen> | |
654 | </command> | |
6151d86c PT |
655 | <separator |
656 | name="org.eclipse.linuxtools.tmf.ui.separator3" | |
657 | visible="true"> | |
658 | </separator> | |
587660fc PT |
659 | <command |
660 | commandId="org.eclipse.linuxtools.tmf.ui.command.managecustomparsers" | |
661 | icon="icons/etool16/customparser_wizard.gif" | |
662 | id="org.eclipse.linuxtools.tmf.ui.menu.managecustomparsers" | |
663 | style="push"> | |
664 | <visibleWhen | |
665 | checkEnabled="false"> | |
666 | <with | |
667 | variable="selection"> | |
668 | <count | |
669 | value="1"> | |
670 | </count> | |
671 | <iterate | |
672 | operator="and"> | |
673 | <instanceof | |
674 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
675 | </instanceof> | |
676 | </iterate> | |
677 | </with> | |
678 | </visibleWhen> | |
679 | </command> | |
6151d86c PT |
680 | <menu |
681 | label="%command.select_trace_type" | |
682 | mnemonic="%command.select_trace_type.mnemonic" | |
683 | tooltip="%command.select_trace_type.description"> | |
684 | <dynamic | |
685 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.SelectTraceTypeContributionItem" | |
686 | id="org.eclipse.linuxtools.tmf.ui.command.select_trace_type.dynamic"> | |
687 | </dynamic> | |
587660fc PT |
688 | <separator |
689 | name="org.eclipse.linuxtools.tmf.ui.separator6" | |
690 | visible="true"> | |
691 | </separator> | |
692 | <command | |
693 | commandId="org.eclipse.linuxtools.tmf.ui.command.managecustomparsers" | |
694 | icon="icons/etool16/customparser_wizard.gif" | |
695 | style="push"> | |
696 | </command> | |
be222f56 PT |
697 | <visibleWhen |
698 | checkEnabled="false"> | |
699 | <with | |
700 | variable="selection"> | |
be222f56 PT |
701 | <iterate |
702 | ifEmpty="false" | |
703 | operator="and"> | |
704 | <instanceof | |
6151d86c | 705 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> |
be222f56 PT |
706 | </instanceof> |
707 | </iterate> | |
708 | </with> | |
709 | </visibleWhen> | |
6151d86c | 710 | </menu> |
be222f56 | 711 | <separator |
6151d86c | 712 | name="org.eclipse.linuxtools.tmf.ui.separator4" |
be222f56 PT |
713 | visible="true"> |
714 | </separator> | |
715 | <command | |
6151d86c | 716 | commandId="org.eclipse.linuxtools.tmf.ui.command.select_traces" |
36a65820 | 717 | icon="icons/obj16/add_obj.gif" |
6151d86c PT |
718 | label="%command.select_traces" |
719 | mnemonic="%command.select_traces.mnemonic" | |
be222f56 | 720 | style="push" |
6151d86c | 721 | tooltip="%commands.select_traces.description"> |
be222f56 PT |
722 | <visibleWhen |
723 | checkEnabled="false"> | |
724 | <with | |
725 | variable="selection"> | |
726 | <count | |
727 | value="1"> | |
728 | </count> | |
729 | <iterate | |
730 | ifEmpty="false" | |
731 | operator="and"> | |
732 | <instanceof | |
733 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
734 | </instanceof> | |
735 | </iterate> | |
736 | </with> | |
737 | </visibleWhen> | |
738 | </command> | |
6151d86c PT |
739 | <separator |
740 | name="org.eclipse.linuxtools.tmf.ui.separator5" | |
741 | visible="true"> | |
742 | </separator> | |
be222f56 | 743 | <command |
6151d86c PT |
744 | commandId="org.eclipse.ui.file.refresh" |
745 | label="%command.refresh" | |
746 | mnemonic="%command.refresh.mnemonic" | |
747 | style="push"> | |
be222f56 PT |
748 | <visibleWhen |
749 | checkEnabled="false"> | |
750 | <with | |
751 | variable="selection"> | |
752 | <count | |
753 | value="1"> | |
754 | </count> | |
755 | <iterate | |
756 | ifEmpty="false" | |
757 | operator="and"> | |
6151d86c PT |
758 | <or> |
759 | <instanceof | |
760 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
761 | </instanceof> | |
762 | <instanceof | |
763 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentFolder"> | |
764 | </instanceof> | |
765 | <instanceof | |
766 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
767 | </instanceof> | |
768 | </or> | |
be222f56 PT |
769 | </iterate> |
770 | </with> | |
771 | </visibleWhen> | |
772 | </command> | |
be222f56 PT |
773 | </menuContribution> |
774 | </extension> | |
775 | <extension | |
776 | point="org.eclipse.ui.commands"> | |
777 | <category | |
6151d86c PT |
778 | description="%commands.category.description" |
779 | id="org.eclipse.linuxtools.tmf.ui.commands.category" | |
780 | name="%commands.category.name"> | |
be222f56 PT |
781 | </category> |
782 | <command | |
6151d86c PT |
783 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.category" |
784 | description="%command.new_experiment.description" | |
785 | id="org.eclipse.linuxtools.tmf.ui.command.new_experiment" | |
786 | name="%command.new_experiment"> | |
be222f56 PT |
787 | </command> |
788 | <command | |
6151d86c PT |
789 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.category" |
790 | description="%command.select_trace_type.description" | |
791 | id="org.eclipse.linuxtools.tmf.ui.command.select_trace_type" | |
792 | name="%command.select_trace_type"> | |
be222f56 | 793 | <commandParameter |
6151d86c | 794 | id="org.eclipse.linuxtools.tmf.ui.commandparameter.select_trace_type.bundle" |
be222f56 PT |
795 | name="%commands.trace.select_trace_type.bundle" |
796 | optional="false"> | |
797 | </commandParameter> | |
798 | <commandParameter | |
6151d86c | 799 | id="org.eclipse.linuxtools.tmf.ui.commandparameter.select_trace_type.type" |
be222f56 PT |
800 | name="%commands.trace.select_trace_type.type" |
801 | optional="false"> | |
802 | </commandParameter> | |
803 | <commandParameter | |
6151d86c | 804 | id="org.eclipse.linuxtools.tmf.ui.commandparameter.select_trace_type.icon" |
be222f56 PT |
805 | name="%commands.trace.select_trace_type.icon" |
806 | optional="false"> | |
807 | </commandParameter> | |
808 | </command> | |
809 | <command | |
6151d86c PT |
810 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.category" |
811 | id="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files" | |
812 | name="%command.delete_suppl_files"> | |
be222f56 | 813 | </command> |
6e651d8b MAL |
814 | <command |
815 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.category" | |
816 | id="org.eclipse.linuxtools.tmf.ui.command.exporttracepkg" | |
817 | name="%command.export_trace_package"> | |
818 | </command> | |
819 | <command | |
820 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.category" | |
821 | id="org.eclipse.linuxtools.tmf.ui.command.importtracepkg" | |
822 | name="%command.import_trace_package"> | |
823 | </command> | |
be222f56 | 824 | <command |
6151d86c PT |
825 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.category" |
826 | description="%command.select_traces.description" | |
827 | id="org.eclipse.linuxtools.tmf.ui.command.select_traces" | |
828 | name="%command.select_traces"> | |
be222f56 | 829 | </command> |
be222f56 PT |
830 | <category |
831 | description="%commands.parser.category.description" | |
832 | id="org.eclipse.linuxtools.tmf.ui.commands.parser.category" | |
833 | name="%commands.parser.category.name"> | |
834 | </category> | |
835 | <command | |
836 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.parser.category" | |
837 | description="%commands.parser.manage.description" | |
838 | id="org.eclipse.linuxtools.tmf.ui.command.managecustomparsers" | |
839 | name="%commands.parser.manage"> | |
840 | </command> | |
841 | <category | |
842 | description="%commands.uml2sd.category.name" | |
843 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
844 | name="%commands.uml2sd.category.name"> | |
845 | </category> | |
846 | <command | |
847 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
848 | description="%commands.uml2sd.goto.description" | |
849 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.GoToMessage" | |
850 | name="%commands.uml2sd.goto"> | |
851 | </command> | |
852 | <command | |
853 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
854 | description="%commands.uml2sd.showend.description" | |
855 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.ShowNodeEnd" | |
856 | name="%commands.uml2sd.showend"> | |
857 | </command> | |
858 | <command | |
859 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
860 | description="%commands.uml2sd.showstart.description" | |
861 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.ShowNodeStart" | |
862 | name="%commands.uml2sd.showstart"> | |
863 | </command> | |
864 | <command | |
865 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
866 | description="%commands.uml2sd.scrollup.description" | |
867 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDUp" | |
868 | name="%commands.uml2sd.scrollup"> | |
869 | </command> | |
870 | <command | |
871 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
872 | description="%commands.uml2sd.scrolldown.description" | |
873 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDDown" | |
874 | name="%commands.uml2sd.scrolldown"> | |
875 | </command> | |
876 | <command | |
877 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
878 | description="%commands.uml2sd.scrollleft.description" | |
879 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDLeft" | |
880 | name="%commands.uml2sd.scrollleft"> | |
881 | </command> | |
882 | <command | |
883 | categoryId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.category" | |
884 | description="%commands.uml2sd.scrollright.description" | |
885 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDRight" | |
886 | name="%commands.uml2sd.scrollright"> | |
887 | </command> | |
d04ec5a7 MK |
888 | <command |
889 | description="%command.batch_import.description" | |
890 | id="org.eclipse.linuxtools.tmf.ui.batch_import" | |
891 | name="%command.batch_import"> | |
892 | </command> | |
d3de0920 XR |
893 | <command |
894 | categoryId="org.eclipse.linuxtools.tmf.ui.commands.category" | |
895 | description="%command.export_to_text.description" | |
896 | id="org.eclipse.linuxtools.tmf.ui.exportToText" | |
897 | name="%command.export_to_text"> | |
898 | </command> | |
be222f56 | 899 | </extension> |
be222f56 PT |
900 | <extension |
901 | point="org.eclipse.ui.handlers"> | |
902 | <handler | |
903 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.ImportTraceHandler" | |
6151d86c PT |
904 | commandId="org.eclipse.ui.file.import"> |
905 | <activeWhen> | |
906 | <and> | |
907 | <count | |
908 | value="1"> | |
909 | </count> | |
e54c68b7 FC |
910 | <iterate |
911 | ifEmpty="false" | |
912 | operator="and"> | |
6151d86c PT |
913 | <instanceof |
914 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
915 | </instanceof> | |
916 | </iterate> | |
917 | </and> | |
918 | </activeWhen> | |
be222f56 PT |
919 | </handler> |
920 | <handler | |
921 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.RefreshHandler" | |
6151d86c PT |
922 | commandId="org.eclipse.ui.file.refresh"> |
923 | <activeWhen> | |
924 | <and> | |
925 | <count | |
926 | value="1"> | |
927 | </count> | |
e54c68b7 FC |
928 | <iterate |
929 | ifEmpty="false" | |
930 | operator="and"> | |
6151d86c PT |
931 | <or> |
932 | <instanceof | |
933 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
934 | </instanceof> | |
935 | <instanceof | |
936 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentFolder"> | |
937 | </instanceof> | |
938 | <instanceof | |
939 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
940 | </instanceof> | |
941 | </or> | |
942 | </iterate> | |
943 | </and> | |
944 | </activeWhen> | |
be222f56 PT |
945 | </handler> |
946 | <handler | |
947 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.OpenTraceHandler" | |
6151d86c PT |
948 | commandId="org.eclipse.ui.navigate.openResource"> |
949 | <activeWhen> | |
950 | <and> | |
951 | <count | |
952 | value="1"> | |
953 | </count> | |
e54c68b7 FC |
954 | <iterate |
955 | operator="and"> | |
6151d86c PT |
956 | <instanceof |
957 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
958 | </instanceof> | |
959 | </iterate> | |
960 | </and> | |
961 | </activeWhen> | |
be222f56 PT |
962 | </handler> |
963 | <handler | |
6151d86c PT |
964 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.OpenExperimentHandler" |
965 | commandId="org.eclipse.ui.navigate.openResource"> | |
966 | <activeWhen> | |
967 | <and> | |
968 | <count | |
969 | value="1"> | |
970 | </count> | |
e54c68b7 FC |
971 | <iterate |
972 | operator="and"> | |
6151d86c PT |
973 | <instanceof |
974 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
975 | </instanceof> | |
976 | </iterate> | |
977 | </and> | |
978 | </activeWhen> | |
be222f56 PT |
979 | </handler> |
980 | <handler | |
6151d86c PT |
981 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.CopyTraceHandler" |
982 | commandId="org.eclipse.ui.edit.copy"> | |
983 | <activeWhen> | |
984 | <and> | |
985 | <count | |
986 | value="1"> | |
987 | </count> | |
e54c68b7 FC |
988 | <iterate |
989 | operator="and"> | |
6151d86c PT |
990 | <instanceof |
991 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
992 | </instanceof> | |
993 | </iterate> | |
994 | </and> | |
995 | </activeWhen> | |
be222f56 PT |
996 | </handler> |
997 | <handler | |
6151d86c PT |
998 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.CopyExperimentHandler" |
999 | commandId="org.eclipse.ui.edit.copy"> | |
1000 | <activeWhen> | |
1001 | <and> | |
1002 | <count | |
1003 | value="1"> | |
1004 | </count> | |
e54c68b7 FC |
1005 | <iterate |
1006 | operator="and"> | |
6151d86c PT |
1007 | <instanceof |
1008 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
1009 | </instanceof> | |
1010 | </iterate> | |
1011 | </and> | |
1012 | </activeWhen> | |
be222f56 PT |
1013 | </handler> |
1014 | <handler | |
6151d86c PT |
1015 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.RenameTraceHandler" |
1016 | commandId="org.eclipse.ui.edit.rename"> | |
1017 | <activeWhen> | |
1018 | <and> | |
1019 | <count | |
1020 | value="1"> | |
1021 | </count> | |
e54c68b7 FC |
1022 | <iterate |
1023 | operator="and"> | |
6151d86c PT |
1024 | <instanceof |
1025 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
1026 | </instanceof> | |
1027 | </iterate> | |
1028 | </and> | |
1029 | </activeWhen> | |
be222f56 PT |
1030 | </handler> |
1031 | <handler | |
6151d86c PT |
1032 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.RenameExperimentHandler" |
1033 | commandId="org.eclipse.ui.edit.rename"> | |
1034 | <activeWhen> | |
1035 | <and> | |
1036 | <count | |
1037 | value="1"> | |
1038 | </count> | |
e54c68b7 FC |
1039 | <iterate |
1040 | operator="and"> | |
6151d86c PT |
1041 | <instanceof |
1042 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
1043 | </instanceof> | |
1044 | </iterate> | |
1045 | </and> | |
1046 | </activeWhen> | |
be222f56 PT |
1047 | </handler> |
1048 | <handler | |
6151d86c PT |
1049 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteTraceHandler" |
1050 | commandId="org.eclipse.ui.edit.delete"> | |
1051 | <activeWhen> | |
e54c68b7 FC |
1052 | <iterate |
1053 | ifEmpty="false" | |
1054 | operator="and"> | |
1055 | <instanceof | |
1056 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
1057 | </instanceof> | |
1058 | </iterate> | |
6151d86c | 1059 | </activeWhen> |
be222f56 PT |
1060 | </handler> |
1061 | <handler | |
6151d86c PT |
1062 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteExperimentHandler" |
1063 | commandId="org.eclipse.ui.edit.delete"> | |
1064 | <activeWhen> | |
e54c68b7 FC |
1065 | <iterate |
1066 | ifEmpty="false" | |
1067 | operator="and"> | |
1068 | <instanceof | |
1069 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
1070 | </instanceof> | |
1071 | </iterate> | |
6151d86c | 1072 | </activeWhen> |
be222f56 PT |
1073 | </handler> |
1074 | <handler | |
6151d86c PT |
1075 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteTraceSupplementaryFilesHandler" |
1076 | commandId="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files"> | |
1077 | <activeWhen> | |
1078 | <and> | |
1079 | <count | |
1080 | value="1"> | |
1081 | </count> | |
e54c68b7 FC |
1082 | <iterate |
1083 | operator="and"> | |
6151d86c PT |
1084 | <instanceof |
1085 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
1086 | </instanceof> | |
1087 | </iterate> | |
1088 | </and> | |
1089 | </activeWhen> | |
be222f56 | 1090 | </handler> |
6e651d8b MAL |
1091 | <handler |
1092 | class="org.eclipse.linuxtools.internal.tmf.ui.project.wizards.tracepkg.importexport.ExportTracePackageHandler" | |
1093 | commandId="org.eclipse.linuxtools.tmf.ui.command.exporttracepkg"> | |
1094 | <activeWhen> | |
1095 | <and> | |
1096 | <count | |
1097 | value="1"> | |
1098 | </count> | |
1099 | <iterate | |
1100 | operator="and"> | |
1101 | <instanceof | |
1102 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
1103 | </instanceof> | |
1104 | </iterate> | |
1105 | </and> | |
1106 | </activeWhen> | |
1107 | </handler> | |
1108 | <handler | |
1109 | class="org.eclipse.linuxtools.internal.tmf.ui.project.wizards.tracepkg.importexport.ImportTracePackageHandler" | |
1110 | commandId="org.eclipse.linuxtools.tmf.ui.command.importtracepkg"> | |
1111 | <activeWhen> | |
1112 | <and> | |
1113 | <count | |
1114 | value="1"> | |
1115 | </count> | |
1116 | <iterate | |
1117 | operator="and"> | |
1118 | <instanceof | |
1119 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceFolder"> | |
1120 | </instanceof> | |
1121 | </iterate> | |
1122 | </and> | |
1123 | </activeWhen> | |
1124 | </handler> | |
be222f56 | 1125 | <handler |
6151d86c PT |
1126 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.DeleteExperimentSupplementaryFilesHandler" |
1127 | commandId="org.eclipse.linuxtools.tmf.ui.command.delete_suppl_files"> | |
1128 | <activeWhen> | |
1129 | <and> | |
1130 | <count | |
1131 | value="1"> | |
1132 | </count> | |
e54c68b7 FC |
1133 | <iterate |
1134 | operator="and"> | |
6151d86c PT |
1135 | <instanceof |
1136 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
1137 | </instanceof> | |
1138 | </iterate> | |
1139 | </and> | |
1140 | </activeWhen> | |
be222f56 PT |
1141 | </handler> |
1142 | <handler | |
6151d86c PT |
1143 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.NewExperimentHandler" |
1144 | commandId="org.eclipse.linuxtools.tmf.ui.command.new_experiment"> | |
1145 | <activeWhen> | |
1146 | <and> | |
1147 | <count | |
1148 | value="1"> | |
1149 | </count> | |
e54c68b7 FC |
1150 | <iterate |
1151 | operator="and"> | |
6151d86c PT |
1152 | <instanceof |
1153 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentFolder"> | |
1154 | </instanceof> | |
1155 | </iterate> | |
1156 | </and> | |
1157 | </activeWhen> | |
be222f56 PT |
1158 | </handler> |
1159 | <handler | |
6151d86c PT |
1160 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.SelectTraceTypeHandler" |
1161 | commandId="org.eclipse.linuxtools.tmf.ui.command.select_trace_type"> | |
1162 | <activeWhen> | |
e54c68b7 FC |
1163 | <iterate |
1164 | ifEmpty="false" | |
1165 | operator="and"> | |
1166 | <instanceof | |
1167 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
1168 | </instanceof> | |
1169 | </iterate> | |
6151d86c | 1170 | </activeWhen> |
be222f56 PT |
1171 | </handler> |
1172 | <handler | |
6151d86c PT |
1173 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.SelectTracesHandler" |
1174 | commandId="org.eclipse.linuxtools.tmf.ui.command.select_traces"> | |
1175 | <activeWhen> | |
1176 | <and> | |
1177 | <count | |
1178 | value="1"> | |
1179 | </count> | |
e54c68b7 FC |
1180 | <iterate |
1181 | operator="and"> | |
6151d86c PT |
1182 | <instanceof |
1183 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
1184 | </instanceof> | |
1185 | </iterate> | |
1186 | </and> | |
1187 | </activeWhen> | |
be222f56 | 1188 | </handler> |
be222f56 PT |
1189 | <handler |
1190 | class="org.eclipse.linuxtools.internal.tmf.ui.commands.ManageCustomParsersCommandHandler" | |
1191 | commandId="org.eclipse.linuxtools.tmf.ui.command.managecustomparsers"> | |
1192 | </handler> | |
1193 | <handler | |
1194 | class="org.eclipse.linuxtools.internal.tmf.ui.editors.handlers.AddBookmarkHandler" | |
1195 | commandId="org.eclipse.ui.edit.addBookmark"> | |
1196 | <activeWhen> | |
cf6af39c PT |
1197 | <and> |
1198 | <with | |
1199 | variable="activePart"> | |
1200 | <instanceof | |
1201 | value="org.eclipse.linuxtools.tmf.ui.editors.TmfEventsEditor"> | |
1202 | </instanceof> | |
1203 | </with> | |
1204 | <count | |
1205 | value="1"> | |
1206 | </count> | |
1207 | <iterate | |
1208 | ifEmpty="false" | |
1209 | operator="and"> | |
1210 | <instanceof | |
1211 | value="org.eclipse.linuxtools.tmf.core.event.ITmfEvent"> | |
1212 | </instanceof> | |
1213 | </iterate> | |
1214 | </and> | |
be222f56 PT |
1215 | </activeWhen> |
1216 | </handler> | |
d04ec5a7 MK |
1217 | <handler |
1218 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.BatchImportTraceHandler" | |
1219 | commandId="org.eclipse.linuxtools.tmf.ui.batch_import"> | |
d04ec5a7 | 1220 | </handler> |
d3de0920 XR |
1221 | <handler |
1222 | class="org.eclipse.linuxtools.internal.tmf.ui.commands.ExportToTextCommandHandler" | |
1223 | commandId="org.eclipse.linuxtools.tmf.ui.exportToText"> | |
1224 | </handler> | |
be222f56 | 1225 | </extension> |
6151d86c PT |
1226 | <extension point="org.eclipse.ui.bindings"> |
1227 | <key | |
1228 | sequence="ALT+R" | |
1229 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1230 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.GoToMessage" | |
1231 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1232 | </key> | |
1233 | <key | |
1234 | sequence="SHIFT+ALT+END" | |
1235 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1236 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.ShowNodeEnd" | |
1237 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1238 | </key> | |
1239 | <key | |
1240 | sequence="SHIFT+ALT+HOME" | |
1241 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1242 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.ShowNodeStart" | |
1243 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1244 | </key> | |
1245 | <key | |
1246 | sequence="SHIFT+ALT+ARROW_UP" | |
1247 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1248 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDUp" | |
1249 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1250 | </key> | |
1251 | <key | |
1252 | sequence="SHIFT+ALT+ARROW_DOWN" | |
1253 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1254 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDDown" | |
1255 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1256 | </key> | |
1257 | <key | |
1258 | sequence="SHIFT+ALT+ARROW_LEFT" | |
1259 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1260 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDLeft" | |
1261 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1262 | </key> | |
1263 | <key | |
1264 | sequence="SHIFT+ALT+ARROW_RIGHT" | |
1265 | contextId="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1266 | commandId="org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDRight" | |
1267 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
1268 | </key> | |
1269 | </extension> | |
be222f56 PT |
1270 | <extension |
1271 | point="org.eclipse.core.contenttype.contentTypes"> | |
1272 | <content-type | |
1273 | id="org.eclipse.linuxtools.tmf.ui.content-type.trace" | |
1274 | name="%contenttype.trace" | |
1275 | priority="normal"> | |
1276 | </content-type> | |
1277 | </extension> | |
1278 | <extension | |
1279 | point="org.eclipse.ui.contexts"> | |
1280 | <context | |
1281 | id="org.eclipse.linuxtools.tmf.ui.view.uml2sd.context" | |
1282 | name="%contexts.uml2sd"> | |
1283 | </context> | |
1284 | </extension> | |
1285 | <extension | |
1286 | point="org.eclipse.ui.preferencePages"> | |
1287 | <page | |
1288 | class="org.eclipse.linuxtools.internal.tmf.ui.preferences.TmfTracingPreferencePage" | |
1289 | id="org.eclipse.linuxtools.tmf.ui.TmfTracingPreferences" | |
1290 | name="%preference.page.trace.name"> | |
1291 | </page> | |
1292 | <page | |
1293 | category="org.eclipse.linuxtools.tmf.ui.TmfTracingPreferences" | |
1294 | class="org.eclipse.linuxtools.tmf.ui.views.uml2sd.preferences.SDViewerPage" | |
1295 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.preferences.SDViewerPage" | |
1296 | name="%preference.page.uml2sd.name"> | |
1297 | </page> | |
f8177ba2 FC |
1298 | <page |
1299 | category="org.eclipse.linuxtools.tmf.ui.TmfTracingPreferences" | |
1300 | class="org.eclipse.linuxtools.tmf.ui.properties.TmfTimestampFormatPage" | |
1301 | id="org.eclipse.linuxtools.tmf.ui.preferences.timestamp.format" | |
1302 | name="%preferences.page.timestamp.format"> | |
1303 | </page> | |
be222f56 PT |
1304 | </extension> |
1305 | <extension | |
1306 | point="org.eclipse.linuxtools.tmf.ui.uml2SDLoader"> | |
1307 | <uml2SDLoader | |
1308 | class="org.eclipse.linuxtools.tmf.ui.views.uml2sd.loader.TmfUml2SDSyncLoader" | |
1309 | default="true" | |
1310 | id="org.eclipse.linuxtools.tmf.ui.views.uml2sd.impl.TmfUml2SDSyncLoader" | |
1311 | name="TMF UML2SD Loader" | |
1312 | view="org.eclipse.linuxtools.tmf.ui.tmfUml2SDSyncView"> | |
1313 | </uml2SDLoader> | |
1314 | </extension> | |
1315 | <!--extension | |
1316 | point="org.eclipse.core.expressions.propertyTesters"> | |
1317 | <propertyTester | |
1318 | class="org.eclipse.linuxtools.tmf.ui.project.handlers.PropertyTester" | |
1319 | id="org.eclipse.linuxtools.tmf.ui.propertyTester.isInTraceFolder" | |
1320 | namespace="org.eclipse.linuxtools.tmf.ui.propertyTester" | |
1321 | properties="isInTraceFolder" | |
1322 | type="org.eclipse.jface.viewers.ISelection"> | |
1323 | </propertyTester> | |
1324 | </extension --> | |
1325 | <extension | |
1326 | point="org.eclipse.core.expressions.propertyTesters"> | |
1327 | <propertyTester | |
1328 | class="org.eclipse.linuxtools.internal.tmf.ui.project.handlers.TracePropertyTester" | |
1329 | id="org.eclipse.linuxtools.tmf.ui.tracePropertyTester" | |
1330 | namespace="org.eclipse.linuxtools.tmf.ui" | |
2dd0c429 | 1331 | properties="isExperimentTrace,hasSupplementaryFiles,traceType" |
be222f56 PT |
1332 | type="org.eclipse.linuxtools.tmf.ui.project.model.TmfProjectModelElement"> |
1333 | </propertyTester> | |
1334 | </extension> | |
1335 | <extension | |
1336 | point="org.eclipse.linuxtools.tmf.ui.tracetype"> | |
1337 | <category | |
1338 | id="org.eclipse.linuxtools.tmf.ui.category.ctf" | |
1339 | name="%tracetype.category.ctf"> | |
1340 | </category> | |
1341 | <type | |
1342 | category="org.eclipse.linuxtools.tmf.ui.category.ctf" | |
1343 | event_type="org.eclipse.linuxtools.tmf.core.ctfadaptor.CtfTmfEvent" | |
1344 | icon="icons/eview16/events_view.gif" | |
1345 | id="org.eclipse.linuxtools.tmf.ui.type.ctf" | |
1346 | name="%tracetype.type.ctf" | |
1347 | trace_type="org.eclipse.linuxtools.tmf.core.ctfadaptor.CtfTmfTrace"> | |
1348 | </type> | |
1349 | </extension> | |
1169a815 BH |
1350 | <extension |
1351 | point="org.eclipse.ui.navigator.linkHelper"> | |
1352 | <linkHelper | |
1353 | class="org.eclipse.linuxtools.internal.tmf.ui.project.model.TmfEditorLinkHelper" | |
1354 | id="org.eclipse.linuxtools.internal.tmf.ui.project.model.TmfEditorLinkHelper"> | |
1355 | <editorInputEnablement> | |
1356 | <instanceof value="org.eclipse.ui.IFileEditorInput"/> | |
1357 | </editorInputEnablement> | |
1358 | <selectionEnablement> | |
1359 | <or> | |
1360 | <instanceof | |
1361 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
1362 | </instanceof> | |
1363 | <instanceof | |
1364 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement"> | |
1365 | </instanceof> | |
1366 | </or> | |
1367 | </selectionEnablement> | |
1368 | </linkHelper> | |
1369 | </extension> | |
6e651d8b MAL |
1370 | <extension |
1371 | point="org.eclipse.ui.exportWizards"> | |
1372 | <wizard | |
1373 | category="org.eclipse.linuxtools.tmf.export.category" | |
1374 | class="org.eclipse.linuxtools.internal.tmf.ui.project.wizards.tracepkg.importexport.ExportTracePackageWizard" | |
1375 | icon="icons/etool16/export.gif" | |
1376 | id="org.eclipse.linuxtools.tmf.ui.trace.export.package.wizard" | |
1377 | name="%project.export.wizard.name.tracepkg"> | |
1378 | </wizard> | |
1379 | <category | |
1380 | id="org.eclipse.linuxtools.tmf.export.category" | |
1381 | name="%project.new.category.name"> | |
1382 | </category> | |
1383 | </extension> | |
be222f56 | 1384 | </plugin> |