Merge branch 'master' into lttng_2_0_control_dev
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.ui / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.4"?>
3 <plugin>
4 <extension
5 id="org.eclipse.linuxtools.lttng.ui.perspective"
6 point="org.eclipse.ui.perspectives">
7 <perspective
8 class="org.eclipse.linuxtools.lttng.ui.views.PerspectiveFactory"
9 icon="icons/obj16/garland16.png"
10 id="org.eclipse.linuxtools.lttng.ui.perspective"
11 name="%perspective.category.name">
12 </perspective>
13 </extension>
14 <extension
15 id="org.eclipse.linuxtools.lttng.ui.views"
16 point="org.eclipse.ui.views">
17 <category
18 id="org.eclipse.linuxtools.lttng.ui.views.category"
19 name="%views.category.name">
20 </category>
21 <view
22 allowMultiple="false"
23 category="org.eclipse.linuxtools.lttng.ui.views.category"
24 class="org.eclipse.linuxtools.lttng.ui.views.control.ControlView"
25 icon="icons/eview16/control_view.gif"
26 id="org.eclipse.linuxtools.lttng.ui.views.control"
27 name="%control.view.name"
28 restorable="true">
29 </view>
30 <view
31 allowMultiple="false"
32 category="org.eclipse.linuxtools.lttng.ui.views.category"
33 class="org.eclipse.linuxtools.lttng.ui.views.timeframe.TimeFrameView"
34 icon="icons/eview16/time_frame_view.gif"
35 id="org.eclipse.linuxtools.lttng.ui.views.timeframe"
36 name="%timeframe.view.name"
37 restorable="true">
38 </view>
39 <view
40 allowMultiple="false"
41 category="org.eclipse.linuxtools.lttng.ui.views.category"
42 class="org.eclipse.linuxtools.lttng.ui.views.controlflow.ControlFlowView"
43 icon="icons/eview16/control_flow_view.gif"
44 id="org.eclipse.linuxtools.lttng.ui.views.controlflow"
45 name="%controlflow.view.name"
46 restorable="true">
47 </view>
48 <view
49 allowMultiple="false"
50 category="org.eclipse.linuxtools.lttng.ui.views.category"
51 class="org.eclipse.linuxtools.lttng.ui.views.resources.ResourcesView"
52 icon="icons/eview16/resources_view.gif"
53 id="org.eclipse.linuxtools.lttng.ui.views.resources"
54 name="%resources.view.name"
55 restorable="true">
56 </view>
57 <view
58 allowMultiple="false"
59 category="org.eclipse.linuxtools.lttng.ui.views.category"
60 class="org.eclipse.linuxtools.lttng.ui.views.statistics.StatisticsView"
61 icon="icons/eview16/statistics_view.gif"
62 id="org.eclipse.linuxtools.lttng.ui.views.statistics"
63 name="%statistics.view.name"
64 restorable="true">
65 </view>
66 <view
67 allowMultiple="false"
68 category="org.eclipse.linuxtools.lttng.ui.views.category"
69 class="org.eclipse.linuxtools.lttng.ui.views.latency.LatencyView"
70 icon="icons/eview16/graph.gif"
71 id="org.eclipse.linuxtools.lttng.ui.views.latency"
72 name="%latency.view.name"
73 restorable="true">
74 </view>
75 </extension>
76 <extension
77 point="org.eclipse.ui.newWizards">
78 <category
79 id="org.eclipse.linuxtools.lttng.ui.wizards.new"
80 name="%wizard.category.name">
81 </category>
82 <wizard
83 category="org.eclipse.linuxtools.lttng.ui.wizards.new"
84 class="org.eclipse.linuxtools.lttng.ui.project.dialogs.NewLTTngProjectWizard"
85 descriptionImage="icons/obj16/garland16.png"
86 finalPerspective="org.eclipse.linuxtools.lttng.ui.perspective"
87 icon="icons/obj16/garland16.png"
88 id="org.eclipse.linuxtools.lttng.ui.views.ui.wizards.newProject"
89 name="%project.new.wizard.name"
90 project="true">
91 <description>
92 %project.new.wizard.description
93 </description>
94 </wizard>
95 </extension>
96 <extension
97 id="org.eclipse.linuxtools.lttng.LTTngProjectNature"
98 point="org.eclipse.core.resources.natures">
99 <runtime>
100 <run
101 class="org.eclipse.linuxtools.lttng.core.LTTngProjectNature">
102 </run>
103 </runtime>
104 </extension>
105 <extension
106 id="org.eclipse.linuxtools.lttng.ui.actionSets"
107 point="org.eclipse.ui.actionSets">
108 <actionSet
109 description="%action.set.description"
110 id="org.eclipse.linuxtools.lttng.ui.actionSet"
111 label="%action.set.label"
112 visible="true">
113 </actionSet>
114 </extension>
115 <extension
116 point="org.eclipse.ui.commands">
117 <category
118 description="%commands.control.category.description"
119 id="org.eclipse.linuxtools.lttng.ui.commands.control.category"
120 name="%commands.control.category">
121 </category>
122 <command
123 categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category"
124 description="%commands.control.new.description"
125 id="org.eclipse.linuxtools.lttng.ui.commands.control.newConnection"
126 name="%commands.control.new">
127 </command>
128 <command
129 categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category"
130 description="%commands.control.connect.description"
131 id="org.eclipse.linuxtools.lttng.ui.commands.control.connect"
132 name="%commands.control.connect">
133 </command>
134 <command
135 categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category"
136 description="%commands.control.disconnect.description"
137 id="org.eclipse.linuxtools.lttng.ui.commands.control.disconnect"
138 name="%commands.control.disconnect">
139 </command>
140 <command
141 categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category"
142 description="%commands.control.delete.description"
143 id="org.eclipse.linuxtools.lttng.ui.commands.control.delete"
144 name="%commands.control.delete">
145 </command>
146 <command
147 categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category"
148 description="%commands.control.create.session.description"
149 id="org.eclipse.linuxtools.lttng.ui.commands.control.createSession"
150 name="%commands.control.create.session">
151 </command>
152 <command
153 categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category"
154 description="%commands.control.destroy.session.description"
155 id="org.eclipse.linuxtools.lttng.ui.commands.control.destroySession"
156 name="%commands.control.destroy.session">
157 </command>
158 <command
159 categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category"
160 description="%commands.control.create.channel.description"
161 id="org.eclipse.linuxtools.lttng.ui.commands.control.createChannelOnSession"
162 name="%commands.control.create.channel">
163 </command>
164 <command
165 categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category"
166 description="%commands.control.create.channel.description"
167 id="org.eclipse.linuxtools.lttng.ui.commands.control.createChannelOnDomain"
168 name="%commands.control.create.channel">
169 </command>
170 <command
171 categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category"
172 description="%commands.control.enable.channel.description"
173 id="org.eclipse.linuxtools.lttng.ui.commands.control.enableChannel"
174 name="%commands.control.enable.channel">
175 </command>
176 <command
177 categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category"
178 description="%commands.control.disable.channel.description"
179 id="org.eclipse.linuxtools.lttng.ui.commands.control.disableChannel"
180 name="%commands.control.disable.channel">
181 </command>
182 <command
183 categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category"
184 description="%commands.control.start.description"
185 id="org.eclipse.linuxtools.lttng.ui.commands.control.start"
186 name="%commands.control.start">
187 </command>
188 <command
189 categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category"
190 description="%commands.control.stop.description"
191 id="org.eclipse.linuxtools.lttng.ui.commands.control.stop"
192 name="%commands.control.stop">
193 </command>
194 <command
195 categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category"
196 description="%commands.control.enable.assign.description"
197 id="org.eclipse.linuxtools.lttng.ui.commands.control.assign.event"
198 name="%commands.control.enable.event">
199 </command>
200 <command
201 categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category"
202 description="%commands.control.enable.event.description"
203 id="org.eclipse.linuxtools.lttng.ui.commands.control.enable.event"
204 name="%commands.control.enable.event">
205 </command>
206 <command
207 categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category"
208 description="%commands.control.disable.event.description"
209 id="org.eclipse.linuxtools.lttng.ui.commands.control.disable.event"
210 name="%commands.control.disable.event">
211 </command>
212 <command
213 categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category"
214 description="%commands.control.enable.event.description"
215 id="org.eclipse.linuxtools.lttng.ui.commands.control.enable.eventOnChannel"
216 name="%commands.control.enable.event">
217 </command>
218 <command
219 categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category"
220 description="%commands.control.enable.eventOnDomain.description"
221 id="org.eclipse.linuxtools.lttng.ui.commands.control.enable.eventOnDomain"
222 name="%commands.control.enable.eventOnDomain">
223 </command>
224 <command
225 categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category"
226 description="%commands.control.enable.eventOnDomain.description"
227 id="org.eclipse.linuxtools.lttng.ui.commands.control.enable.eventOnSession"
228 name="%commands.control.enable.eventOnDomain">
229 </command>
230
231 </extension>
232 <extension
233 point="org.eclipse.ui.menus">
234 <menuContribution
235 allPopups="false"
236 locationURI="toolbar:org.eclipse.linuxtools.lttng.ui.views.control">
237 <command
238 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.newConnection"
239 icon="icons/elcl16/target_add.gif"
240 label="%commands.control.new"
241 style="push">
242 </command>
243 <command
244 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.connect"
245 icon="icons/elcl16/connect.gif"
246 label="%commands.control.connect"
247 style="push">
248 </command>
249 <command
250 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.disconnect"
251 icon="icons/elcl16/disconnect.gif"
252 label="%commands.control.disconnect"
253 style="push">
254 </command>
255 <command
256 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.delete"
257 icon="icons/elcl16/target_delete.gif"
258 label="%commands.control.delete"
259 style="push">
260 </command>
261 <separator
262 name="org.eclipse.linuxtools.lttng.ui.views.control.toolbar.separator1"
263 visible="true">
264 </separator>
265 <command
266 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.start"
267 icon="icons/elcl16/start_trace.gif"
268 label="%commands.control.start"
269 style="push">
270 </command>
271 <command
272 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.stop"
273 icon="icons/elcl16/pause_trace.gif"
274 label="%commands.control.stop"
275 style="push">
276 </command>
277 <command
278 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.destroySession"
279 icon="icons/elcl16/delete_trace.gif"
280 label="%commands.control.destroy.session"
281 style="push">
282 </command>
283
284 </menuContribution>
285 <menuContribution
286 allPopups="false"
287 locationURI="popup:org.eclipse.linuxtools.lttng.ui.views.control">
288 <command
289 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.connect"
290 icon="icons/elcl16/connect.gif"
291 label="%commands.control.connect"
292 style="push">
293 <visibleWhen
294 checkEnabled="false">
295 <with
296 variable="activeMenuSelection">
297 <iterate
298 operator="or">
299 <instanceof
300 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TargetNodeComponent">
301 </instanceof>
302 </iterate>
303 </with>
304 </visibleWhen>
305 </command>
306 <command
307 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.disconnect"
308 icon="icons/elcl16/disconnect.gif"
309 label="%commands.control.disconnect"
310 style="push">
311 <visibleWhen
312 checkEnabled="false">
313 <with
314 variable="activeMenuSelection">
315 <iterate
316 operator="or">
317 <instanceof
318 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TargetNodeComponent">
319 </instanceof>
320 </iterate>
321 </with>
322 </visibleWhen>
323 </command>
324 <command
325 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.delete"
326 icon="icons/elcl16/target_delete.gif"
327 label="%commands.control.delete"
328 style="push">
329 <visibleWhen
330 checkEnabled="false">
331 <with
332 variable="activeMenuSelection">
333 <iterate
334 operator="or">
335 <instanceof
336 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TargetNodeComponent">
337 </instanceof>
338 </iterate>
339 </with>
340 </visibleWhen>
341 </command>
342 <command
343 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.createSession"
344 icon="icons/elcl16/add_button.gif"
345 label="%commands.control.create.session"
346 style="push">
347 <visibleWhen
348 checkEnabled="false">
349 <with
350 variable="activeMenuSelection">
351 <iterate
352 operator="or">
353 <instanceof
354 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionGroup">
355 </instanceof>
356 </iterate>
357 </with>
358 </visibleWhen>
359 </command>
360 <command
361 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.start"
362 icon="icons/elcl16/start_trace.gif"
363 label="%commands.control.start"
364 style="push">
365 <visibleWhen
366 checkEnabled="false">
367 <with
368 variable="activeMenuSelection">
369 <iterate
370 operator="or">
371 <instanceof
372 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionComponent">
373 </instanceof>
374 </iterate>
375 </with>
376 </visibleWhen>
377 </command>
378 <command
379 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.stop"
380 icon="icons/elcl16/pause_trace.gif"
381 label="%commands.control.stop"
382 style="push">
383 <visibleWhen
384 checkEnabled="false">
385 <with
386 variable="activeMenuSelection">
387 <iterate
388 operator="or">
389 <instanceof
390 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionComponent">
391 </instanceof>
392 </iterate>
393 </with>
394 </visibleWhen>
395 </command>
396 <command
397 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.destroySession"
398 icon="icons/elcl16/delete_trace.gif"
399 label="%commands.control.destroy.session"
400 style="push">
401 <visibleWhen
402 checkEnabled="false">
403 <with
404 variable="activeMenuSelection">
405 <iterate
406 operator="or">
407 <instanceof
408 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionComponent">
409 </instanceof>
410 </iterate>
411 </with>
412 </visibleWhen>
413 </command>
414 <separator
415 name="org.eclipse.linuxtools.lttng.ui.views.control.popup.separator1"
416 visible="true">
417 </separator>
418 <command
419 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.createChannelOnSession"
420 icon="icons/elcl16/add_button.gif"
421 label="%commands.control.create.channel"
422 style="push">
423 <visibleWhen
424 checkEnabled="false">
425 <with
426 variable="activeMenuSelection">
427 <and>
428 <iterate
429 operator="or">
430 <instanceof
431 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionComponent">
432 </instanceof>
433 </iterate>
434 <not>
435 <iterate
436 operator="or">
437 <instanceof
438 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceDomainComponent">
439 </instanceof>
440 </iterate>
441 </not>
442 <count
443 value="1">
444 </count>
445 </and>
446 </with>
447 </visibleWhen>
448 </command>
449 <command
450 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.enable.eventOnSession"
451 icon="icons/elcl16/edit.gif"
452 label="%commands.control.enable.eventOnDomain"
453 style="push">
454 <visibleWhen
455 checkEnabled="false">
456 <with
457 variable="activeMenuSelection">
458 <and>
459 <iterate
460 operator="or">
461 <instanceof
462 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionComponent">
463 </instanceof>
464 </iterate>
465 <count
466 value="1">
467 </count>
468 </and>
469 </with>
470 </visibleWhen>
471 </command>
472 <command
473 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.createChannelOnDomain"
474 icon="icons/elcl16/add_button.gif"
475 label="%commands.control.create.channel"
476 style="push">
477 <visibleWhen
478 checkEnabled="false">
479 <with
480 variable="activeMenuSelection">
481 <and>
482 <iterate
483 operator="or">
484 <instanceof
485 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceDomainComponent">
486 </instanceof>
487 </iterate>
488 <not>
489 <iterate
490 operator="or">
491 <instanceof
492 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionComponent">
493 </instanceof>
494 </iterate>
495 </not>
496 <count
497 value="1">
498 </count>
499 </and>
500 </with>
501 </visibleWhen>
502 </command>
503 <command
504 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.enable.eventOnDomain"
505 icon="icons/elcl16/edit.gif"
506 label="%commands.control.enable.eventOnDomain"
507 style="push">
508 <visibleWhen
509 checkEnabled="false">
510 <with
511 variable="activeMenuSelection">
512 <and>
513 <iterate
514 operator="or">
515 <instanceof
516 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceDomainComponent">
517 </instanceof>
518 </iterate>
519 <count
520 value="1">
521 </count>
522 </and>
523 </with>
524 </visibleWhen>
525 </command>
526 <command
527 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.enableChannel"
528 icon="icons/elcl16/edit.gif"
529 label="%commands.control.enable.channel"
530 style="push">
531 <visibleWhen
532 checkEnabled="false">
533 <with
534 variable="activeMenuSelection">
535 <iterate
536 operator="or">
537 <instanceof
538 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceChannelComponent">
539 </instanceof>
540 </iterate>
541 </with>
542 </visibleWhen>
543 </command>
544 <command
545 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.disableChannel"
546 icon="icons/elcl16/edit.gif"
547 label="%commands.control.disable.channel"
548 style="push">
549 <visibleWhen
550 checkEnabled="false">
551 <with
552 variable="activeMenuSelection">
553 <iterate
554 operator="or">
555 <instanceof
556 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceChannelComponent">
557 </instanceof>
558 </iterate>
559 </with>
560 </visibleWhen>
561 </command>
562
563 <command
564 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.assign.event"
565 icon="icons/elcl16/edit.gif"
566 label="%commands.control.enable.event"
567 style="push">
568 <visibleWhen
569 checkEnabled="false">
570 <with
571 variable="activeMenuSelection">
572 <iterate
573 operator="or">
574 <instanceof
575 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.BaseEventComponent">
576 </instanceof>
577 </iterate>
578 </with>
579 </visibleWhen>
580 </command>
581
582 <command
583 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.enable.event"
584 icon="icons/elcl16/edit.gif"
585 label="%commands.control.enable.event"
586 style="push">
587 <visibleWhen
588 checkEnabled="false">
589 <with
590 variable="activeMenuSelection">
591 <iterate
592 operator="or">
593 <instanceof
594 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceEventComponent">
595 </instanceof>
596 </iterate>
597 </with>
598 </visibleWhen>
599 </command>
600
601 <command
602 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.disable.event"
603 icon="icons/elcl16/edit.gif"
604 label="%commands.control.disable.event"
605 style="push">
606 <visibleWhen
607 checkEnabled="false">
608 <with
609 variable="activeMenuSelection">
610 <iterate
611 operator="or">
612 <instanceof
613 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceEventComponent">
614 </instanceof>
615 </iterate>
616 </with>
617 </visibleWhen>
618 </command>
619
620 <command
621 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.enable.eventOnChannel"
622 icon="icons/elcl16/edit.gif"
623 label="%commands.control.enable.event"
624 style="push">
625 <visibleWhen
626 checkEnabled="false">
627 <with
628 variable="activeMenuSelection">
629 <and>
630 <iterate
631 operator="or">
632 <instanceof
633 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceChannelComponent">
634 </instanceof>
635 </iterate>
636 <count
637 value="1">
638 </count>
639 </and>
640 </with>
641 </visibleWhen>
642 </command>
643
644
645
646 </menuContribution>
647
648 </extension>
649 <extension
650 point="org.eclipse.ui.handlers">
651 <handler
652 class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.NewConnectionHandler"
653 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.newConnection">
654 <activeWhen>
655 <with
656 variable="activePart">
657 <instanceof
658 value="org.eclipse.linuxtools.lttng.ui.views.control.ControlView">
659 </instanceof>
660 </with>
661 </activeWhen>
662 </handler>
663 <handler
664 class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.ConnectHandler"
665 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.connect">
666 <activeWhen>
667 <with
668 variable="selection">
669 <iterate
670 operator="or">
671 <instanceof
672 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TargetNodeComponent">
673 </instanceof>
674 </iterate>
675 </with>
676 </activeWhen>
677 </handler>
678 <handler
679 class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.DisconnectHandler"
680 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.disconnect">
681 <activeWhen>
682 <with
683 variable="selection">
684 <iterate
685 operator="or">
686 <instanceof
687 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TargetNodeComponent">
688 </instanceof>
689 </iterate>
690 </with>
691 </activeWhen>
692 </handler>
693 <handler
694 class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.DeleteHandler"
695 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.delete">
696 <activeWhen>
697 <with
698 variable="selection">
699 <iterate
700 operator="or">
701 <instanceof
702 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TargetNodeComponent">
703 </instanceof>
704 </iterate>
705 </with>
706 </activeWhen>
707 </handler>
708 <handler
709 class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.CreateSessionHandler"
710 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.createSession">
711 <activeWhen>
712 <with
713 variable="selection">
714 <iterate
715 operator="or">
716 <instanceof
717 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionGroup">
718 </instanceof>
719 </iterate>
720 </with>
721 </activeWhen>
722 </handler>
723 <handler
724 class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.DestroySessionHandler"
725 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.destroySession">
726 <activeWhen>
727 <with
728 variable="selection">
729 <iterate
730 operator="or">
731 <instanceof
732 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionComponent">
733 </instanceof>
734 </iterate>
735 </with>
736 </activeWhen>
737 </handler>
738 <handler
739 class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.CreateChannelOnSessionHandler"
740 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.createChannelOnSession">
741 <activeWhen>
742 <with
743 variable="selection">
744 <iterate
745 operator="or">
746 <instanceof
747 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionComponent">
748 </instanceof>
749 </iterate>
750 </with>
751 </activeWhen>
752 </handler>
753 <handler
754 class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.CreateChannelOnDomainHandler"
755 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.createChannelOnDomain">
756 <activeWhen>
757 <with
758 variable="selection">
759 <iterate
760 operator="or">
761 <instanceof
762 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceDomainComponent">
763 </instanceof>
764 </iterate>
765 </with>
766 </activeWhen>
767 </handler>
768 <handler
769 class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.EnableChannelHandler"
770 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.enableChannel">
771 <activeWhen>
772 <with
773 variable="selection">
774 <iterate
775 operator="or">
776 <instanceof
777 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceChannelComponent">
778 </instanceof>
779 </iterate>
780 </with>
781 </activeWhen>
782 </handler>
783 <handler
784 class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.DisableChannelHandler"
785 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.disableChannel">
786 <activeWhen>
787 <with
788 variable="selection">
789 <iterate
790 operator="or">
791 <instanceof
792 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceChannelComponent">
793 </instanceof>
794 </iterate>
795 </with>
796 </activeWhen>
797 </handler>
798
799 <handler
800 class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.StartHandler"
801 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.start">
802 <activeWhen>
803 <with
804 variable="selection">
805 <iterate
806 operator="or">
807 <instanceof
808 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionComponent">
809 </instanceof>
810 </iterate>
811 </with>
812 </activeWhen>
813 </handler>
814
815 <handler
816 class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.StopHandler"
817 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.stop">
818 <activeWhen>
819 <with
820 variable="selection">
821 <iterate
822 operator="or">
823 <instanceof
824 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionComponent">
825 </instanceof>
826 </iterate>
827 </with>
828 </activeWhen>
829 </handler>
830
831 <handler
832 class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.AssignEventHandler"
833 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.assign.event">
834 <activeWhen>
835 <with
836 variable="selection">
837 <iterate
838 operator="or">
839 <instanceof
840 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.BaseEventComponent">
841 </instanceof>
842 </iterate>
843 </with>
844 </activeWhen>
845 </handler>
846
847 <handler
848 class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.EnableEventHandler"
849 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.enable.event">
850 <activeWhen>
851 <with
852 variable="selection">
853 <iterate
854 operator="or">
855 <instanceof
856 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceEventComponent">
857 </instanceof>
858 </iterate>
859 </with>
860 </activeWhen>
861 </handler>
862
863 <handler
864 class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.DisableEventHandler"
865 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.disable.event">
866 <activeWhen>
867 <with
868 variable="selection">
869 <iterate
870 operator="or">
871 <instanceof
872 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceEventComponent">
873 </instanceof>
874 </iterate>
875 </with>
876 </activeWhen>
877 </handler>
878
879 <handler
880 class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.EnableEventOnChannelHandler"
881 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.enable.eventOnChannel">
882 <activeWhen>
883 <with
884 variable="selection">
885 <iterate
886 operator="or">
887 <instanceof
888 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceChannelComponent">
889 </instanceof>
890 </iterate>
891 </with>
892 </activeWhen>
893 </handler>
894
895 <handler
896 class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.EnableEventOnDomainHandler"
897 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.enable.eventOnDomain">
898 <activeWhen>
899 <with
900 variable="selection">
901 <iterate
902 operator="or">
903 <instanceof
904 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceDomainComponent">
905 </instanceof>
906 </iterate>
907 </with>
908 </activeWhen>
909 </handler>
910 <handler
911 class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.EnableEventOnSessionHandler"
912 commandId="org.eclipse.linuxtools.lttng.ui.commands.control.enable.eventOnSession">
913 <activeWhen>
914 <with
915 variable="selection">
916 <iterate
917 operator="or">
918 <instanceof
919 value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionComponent">
920 </instanceof>
921 </iterate>
922 </with>
923 </activeWhen>
924 </handler>
925 </extension>
926
927 <!-- ======================================= -->
928 <!-- SubSystem Configuration -->
929 <!-- ======================================= -->
930 <extension point="org.eclipse.rse.core.subsystemConfigurations">
931 <configuration
932 category="users"
933 class="org.eclipse.linuxtools.lttng.ui.tracecontrol.subsystems.TraceSubSystemConfiguration"
934 description="%lttng.rse.subsystem.config.description"
935 icon="icons/obj16/garland16.gif"
936 iconlive="icons/obj16/garland16-live.gif"
937 id="org.eclipse.linuxtools.lttng.ui.tracecontrol.subsystems.TraceSubSystemConfiguration"
938 name="%lttng.rse.subsystem.config.name"
939 systemTypeIds="org.eclipse.tm.tcf.rse.systemType"
940 vendor="%Bundle-Vendor">
941 </configuration>
942 </extension>
943
944 <!-- ======================================= -->
945 <!-- SubSystem Type Description -->
946 <!-- ======================================= -->
947 <extension
948 point="org.eclipse.rse.core.systemTypes">
949 <systemType
950 description="%lttng.rse.subsystem.type.description"
951 icon="icons/obj16/systemlttng.gif"
952 iconLive="icons/obj16/systemlttng-live.gif"
953 id="org.eclipse.linuxtools.lttng.ui.tracecontrol.systemType"
954 label="%lttng.rse.subsystem.type.name"
955 name="org.eclipse.linuxtools.lttng.ui.tracecontrol.systemType"
956 subsystemConfigurationIds="org.eclipse.linuxtools.lttng.ui.tracecontrol.subsystems.TraceSubSystemConfiguration;org.eclipse.tm.tcf.rse.Processes;org.eclipse.tm.tcf.rse.Shells;org.eclipse.tm.tcf.rse.Files;org.eclipse.tm.tcf.rse.Terminals">
957 </systemType>
958 <systemType
959 description="%trace.control.rse.system.type.description"
960 icon="icons/obj16/systemlttng2.gif"
961 iconLive="icons/obj16/systemlttng2-live.gif"
962 id="org.eclipse.linuxtools.lttng.ui.control.systemType"
963 label="%trace.control.rse.system.type.name"
964 name="org.eclipse.linuxtools.lttng.ui.control.systemType"
965 subsystemConfigurationIds="ssh.shells;ssh.files;ssh.terminals;processes.shell.linux">
966 </systemType>
967 </extension>
968
969 <!-- ======================================= -->
970 <!-- Remote Object Popup Menu Actions -->
971 <!-- ======================================= -->
972 <extension point="org.eclipse.ui.popupMenus">
973 <objectContribution
974 id="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.deletetrace"
975 objectClass="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource">
976 <action
977 class="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.DeleteTrace"
978 enablesFor="*"
979 icon="icons/elcl16/delete_trace.gif"
980 id="actions.trace.delete"
981 label="%action.delete.label"
982 menubarPath="additions"
983 tooltip="%action.delete.tooltip">
984 <enablement>
985 <and>
986 <objectClass
987 name="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource">
988 </objectClass>
989 <objectState
990 name="canDelete"
991 value="yes">
992 </objectState>
993 </and>
994 </enablement>
995 </action>
996 </objectContribution>
997 <objectContribution
998 adaptable="false"
999 id="org.eclipse.linuxtools.lttng.ui.tracecontrol.importtrace"
1000 objectClass="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource">
1001 <action
1002 class="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.ImportToProject"
1003 enablesFor="*"
1004 icon="icons/elcl16/import_trace.gif"
1005 id="org.eclipse.linuxtools.lttng.ui.tracecontrol.action1"
1006 label="%action.import.label"
1007 menubarPath="additions"
1008 tooltip="%action.import.tooltip">
1009 <enablement>
1010 <and>
1011 <objectClass
1012 name="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource">
1013 </objectClass>
1014 <objectState
1015 name="canImport"
1016 value="yes">
1017 </objectState>
1018 </and>
1019 </enablement>
1020 </action>
1021 </objectContribution>
1022 <objectContribution
1023 id="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.createnewtrace"
1024 objectClass="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TargetResource">
1025 <action
1026 label="%action.newtrace.label"
1027 tooltip="%action.newtrace.tooltip"
1028 icon="icons/elcl16/new_trace.gif"
1029 class="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.CreateNewTrace"
1030 menubarPath="additions"
1031 enablesFor="1"
1032 id="actions.trace.new">
1033 <enablement>
1034 <and>
1035 <objectClass name="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TargetResource"/>
1036 <objectState name="canCreateNewTrace" value="yes"/>
1037 </and>
1038 </enablement>
1039 </action>
1040 </objectContribution>
1041 <objectContribution
1042 objectClass="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource"
1043 id="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.configuretrace">
1044 <action
1045 label="%action.configuretrace.label"
1046 tooltip="%action.configuretrace.tooltip"
1047 icon="icons/elcl16/configure_trace.gif"
1048 class="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.ConfigureTrace"
1049 menubarPath="additions"
1050 enablesFor="1"
1051 id="actions.trace.configure">
1052 <enablement>
1053 <and>
1054 <objectClass name="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource"/>
1055 <objectState name="canConfigure" value="yes"/>
1056 </and>
1057 </enablement>
1058 </action>
1059 </objectContribution>
1060 <objectContribution
1061 id="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.stoptrace"
1062 objectClass="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource">
1063 <action
1064 class="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.StopTrace"
1065 enablesFor="*"
1066 icon="icons/elcl16/stop_trace.gif"
1067 id="actions.trace.stop"
1068 label="%action.stop.label"
1069 menubarPath="additions"
1070 tooltip="%action.stop.tooltip">
1071 <enablement>
1072 <and>
1073 <objectClass
1074 name="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource">
1075 </objectClass>
1076 <objectState
1077 name="canStop"
1078 value="yes">
1079 </objectState>
1080 </and>
1081 </enablement>
1082 </action>
1083 </objectContribution>
1084 <objectContribution
1085 id="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.pausetrace"
1086 objectClass="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource">
1087 <action
1088 class="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.PauseTrace"
1089 enablesFor="*"
1090 icon="icons/elcl16/pause_trace.gif"
1091 id="actions.trace.pause"
1092 label="%action.pause.label"
1093 menubarPath="additions"
1094 tooltip="%action.pause.tooltip">
1095 <enablement>
1096 <and>
1097 <objectClass
1098 name="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource">
1099 </objectClass>
1100 <objectState
1101 name="canPause"
1102 value="yes">
1103 </objectState>
1104 </and>
1105 </enablement>
1106 </action>
1107 </objectContribution>
1108 <objectContribution
1109 objectClass="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource"
1110 id="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.starttrace">
1111 <action
1112 class="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.StartTrace"
1113 enablesFor="*"
1114 icon="icons/elcl16/start_trace.gif"
1115 id="actions.trace.start"
1116 label="%action.start.label"
1117 menubarPath="additions"
1118 tooltip="%action.start.tooltip">
1119 <enablement>
1120 <and>
1121 <objectClass name="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource"/>
1122 <objectState name="canStart" value="yes"/>
1123 </and>
1124 </enablement>
1125 </action>
1126 </objectContribution>
1127
1128 <objectContribution
1129 objectClass="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TargetResource"
1130 id="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.configuremarkers">
1131 <action
1132 label="%action.configuremarkers.label"
1133 tooltip="%action.configuremarkers.tooltip"
1134 icon="icons/elcl16/configure_markers.gif"
1135 class="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.ConfigureMarkers"
1136 menubarPath="additions"
1137 enablesFor="1"
1138 id="actions.markers.configure">
1139 </action>
1140 </objectContribution>
1141
1142 </extension>
1143
1144 <!-- ======================================= -->
1145 <!-- Remote System View Contributions -->
1146 <!-- ======================================= -->
1147 <extension
1148 point="org.eclipse.ui.viewActions">
1149
1150
1151 <viewContribution
1152 id="org.eclipse.linuxtools.lttng.ui.tracecontrol.viewContribution.stop"
1153 targetID="org.eclipse.rse.ui.view.systemView">
1154 <action
1155 class="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.StopTrace"
1156 enablesFor="*"
1157 icon="icons/elcl16/stop_trace.gif"
1158 id="actions.trace.stop"
1159 label="%action.stop.label"
1160 menubarPath="additions"
1161 style="push"
1162 toolbarPath="additions"
1163 tooltip="%action.stop.tooltip">
1164 <enablement>
1165 <and>
1166 <objectClass
1167 name="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource">
1168 </objectClass>
1169 <objectState
1170 name="canStop"
1171 value="yes">
1172 </objectState>
1173 </and>
1174 </enablement>
1175 </action>
1176 </viewContribution>
1177
1178 <viewContribution
1179 id="org.eclipse.linuxtools.lttng.ui.tracecontrol.viewContribution.pause"
1180 targetID="org.eclipse.rse.ui.view.systemView">
1181 <action
1182 class="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.PauseTrace"
1183 enablesFor="*"
1184 icon="icons/elcl16/pause_trace.gif"
1185 id="actions.trace.pause"
1186 label="%action.pause.label"
1187 menubarPath="additions"
1188 style="push"
1189 toolbarPath="additions"
1190 tooltip="%action.pause.tooltip">
1191 <enablement>
1192 <and>
1193 <objectClass
1194 name="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource">
1195 </objectClass>
1196 <objectState
1197 name="canPause"
1198 value="yes">
1199 </objectState>
1200 </and>
1201 </enablement>
1202 </action>
1203 </viewContribution>
1204
1205 <viewContribution
1206 id="org.eclipse.linuxtools.lttng.ui.tracecontrol.viewContribution.start"
1207 targetID="org.eclipse.rse.ui.view.systemView">
1208 <action
1209 class="org.eclipse.linuxtools.lttng.ui.tracecontrol.actions.StartTrace"
1210 enablesFor="*"
1211 icon="icons/elcl16/start_trace.gif"
1212 id="actions.trace.start"
1213 label="%action.start.label"
1214 menubarPath="additions"
1215 style="push"
1216 toolbarPath="additions"
1217 tooltip="%action.start.tooltip">
1218 <enablement>
1219 <and>
1220 <objectClass
1221 name="org.eclipse.linuxtools.lttng.core.tracecontrol.model.TraceResource">
1222 </objectClass>
1223 <objectState
1224 name="canStart"
1225 value="yes">
1226 </objectState>
1227 </and>
1228 </enablement>
1229 </action>
1230 </viewContribution>
1231
1232 </extension>
1233 <extension
1234 point="org.eclipse.ui.propertyPages">
1235 <page
1236 class="org.eclipse.linuxtools.lttng.ui.project.dialogs.TraceLibraryPathPropertyPage"
1237 id="org.eclipse.linuxtools.lttng.ui.propertyPage.libPath"
1238 name="%project.propertyPage.tracelibPath">
1239 <filter name="nature"
1240 value="org.eclipse.linuxtools.lttng.LTTngProjectNature" />
1241 <enabledWhen>
1242 <adapt type="org.eclipse.core.resources.IProject">
1243 </adapt>
1244 </enabledWhen>
1245 </page>
1246 </extension>
1247
1248 <extension
1249 point="org.eclipse.linuxtools.tmf.tracetype">
1250 <category
1251 id="org.eclipse.linuxtools.lttng.ui.category.lttng"
1252 name="%tracetype.category.lttng">
1253 </category>
1254 <type
1255 category="org.eclipse.linuxtools.lttng.ui.category.lttng"
1256 event_type="org.eclipse.linuxtools.lttng.core.event.LttngEvent"
1257 icon="icons/obj16/tux2.png"
1258 id="org.eclipse.linuxtools.lttng.tracetype.kernel"
1259 name="%tracetype.type.kernel"
1260 trace_type="org.eclipse.linuxtools.lttng.core.trace.LTTngTrace">
1261 <eventsTableType
1262 class="org.eclipse.linuxtools.lttng.ui.views.events.EventsTable">
1263 </eventsTableType>
1264 </type>
1265 </extension>
1266
1267 </plugin>
This page took 0.05694 seconds and 5 git commands to generate.