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