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