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