Commit | Line | Data |
---|---|---|
79b33284 FC |
1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <?eclipse version="3.4"?> | |
3 | <plugin> | |
4 | <extension | |
5 | id="org.eclipse.linuxtools.lttng2.ui.perspective" | |
6 | point="org.eclipse.ui.perspectives"> | |
7 | <perspective | |
deadaa7b | 8 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.PerspectiveFactory" |
79b33284 | 9 | icon="icons/obj16/garland16.png" |
115b4a01 | 10 | id="org.eclipse.linuxtools.lttng2.ui.perspective" |
79b33284 FC |
11 | name="%perspective.category.name"> |
12 | </perspective> | |
13 | </extension> | |
115b4a01 BH |
14 | <extension |
15 | id="org.eclipse.linuxtools.lttng2.ui.views" | |
16 | point="org.eclipse.ui.views"> | |
17 | <category | |
18 | id="org.eclipse.linuxtools.lttng2.ui.views.category" | |
19 | name="%views.category.name"> | |
20 | </category> | |
21 | <view | |
22 | allowMultiple="false" | |
23 | category="org.eclipse.linuxtools.lttng2.ui.views.category" | |
24 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.ControlView" | |
25 | icon="icons/eview16/control_view.gif" | |
26 | id="org.eclipse.linuxtools.internal.lttng2.ui.views.control" | |
27 | name="%control.view.name" | |
28 | restorable="true"> | |
29 | </view> | |
30 | </extension> | |
31 | ||
32 | <extension | |
33 | point="org.eclipse.ui.commands"> | |
34 | <category | |
35 | description="%commands.control.category.description" | |
36 | id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category" | |
37 | name="%commands.control.category"> | |
38 | </category> | |
39 | <command | |
40 | categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category" | |
41 | description="%commands.control.new.description" | |
42 | id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.newConnection" | |
43 | name="%commands.control.new"> | |
44 | </command> | |
45 | <command | |
46 | categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category" | |
47 | description="%commands.control.connect.description" | |
48 | id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.connect" | |
49 | name="%commands.control.connect"> | |
50 | </command> | |
51 | <command | |
52 | categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category" | |
53 | description="%commands.control.disconnect.description" | |
54 | id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.disconnect" | |
55 | name="%commands.control.disconnect"> | |
56 | </command> | |
57 | <command | |
58 | categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category" | |
59 | description="%commands.control.refresh.description" | |
60 | id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.refresh" | |
61 | name="%commands.control.refresh"> | |
62 | </command> | |
63 | <command | |
64 | categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category" | |
65 | description="%commands.control.delete.description" | |
66 | id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.delete" | |
67 | name="%commands.control.delete"> | |
68 | </command> | |
69 | <command | |
70 | categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category" | |
71 | description="%commands.control.create.session.description" | |
72 | id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.createSession" | |
73 | name="%commands.control.create.session"> | |
74 | </command> | |
75 | <command | |
76 | categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category" | |
77 | description="%commands.control.destroy.session.description" | |
78 | id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.destroySession" | |
79 | name="%commands.control.destroy.session"> | |
80 | </command> | |
81 | <command | |
82 | categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category" | |
83 | description="%commands.control.create.channel.description" | |
84 | id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.createChannelOnSession" | |
85 | name="%commands.control.create.channel"> | |
86 | </command> | |
87 | <command | |
88 | categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category" | |
89 | description="%commands.control.create.channel.description" | |
90 | id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.createChannelOnDomain" | |
91 | name="%commands.control.create.channel"> | |
92 | </command> | |
93 | <command | |
94 | categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category" | |
95 | description="%commands.control.enable.channel.description" | |
96 | id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableChannel" | |
97 | name="%commands.control.enable.channel"> | |
98 | </command> | |
99 | <command | |
100 | categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category" | |
101 | description="%commands.control.disable.channel.description" | |
102 | id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.disableChannel" | |
103 | name="%commands.control.disable.channel"> | |
104 | </command> | |
105 | <command | |
106 | categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category" | |
107 | description="%commands.control.start.description" | |
108 | id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.start" | |
109 | name="%commands.control.start"> | |
110 | </command> | |
111 | <command | |
112 | categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category" | |
113 | description="%commands.control.stop.description" | |
114 | id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.stop" | |
115 | name="%commands.control.stop"> | |
116 | </command> | |
117 | <command | |
118 | categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category" | |
119 | description="%commands.control.enable.assign.description" | |
120 | id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.assign.event" | |
121 | name="%commands.control.enable.event"> | |
122 | </command> | |
123 | <command | |
124 | categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category" | |
125 | description="%commands.control.enable.event.description" | |
a26d90be | 126 | id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableEvent" |
115b4a01 BH |
127 | name="%commands.control.enable.event"> |
128 | </command> | |
129 | <command | |
130 | categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category" | |
131 | description="%commands.control.disable.event.description" | |
a26d90be | 132 | id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.disableEvent" |
115b4a01 BH |
133 | name="%commands.control.disable.event"> |
134 | </command> | |
135 | <command | |
136 | categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category" | |
137 | description="%commands.control.enable.event.description" | |
a26d90be | 138 | id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableEventOnChannel" |
115b4a01 BH |
139 | name="%commands.control.enable.event"> |
140 | </command> | |
141 | <command | |
142 | categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category" | |
143 | description="%commands.control.enable.eventOnDomain.description" | |
a26d90be | 144 | id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableEventOnDomain" |
115b4a01 BH |
145 | name="%commands.control.enable.eventOnDomain"> |
146 | </command> | |
147 | <command | |
148 | categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category" | |
a26d90be BH |
149 | description="%commands.control.enable.eventOnSession.description" |
150 | id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableEventOnSession" | |
151 | name="%commands.control.enable.eventOnSession"> | |
115b4a01 | 152 | </command> |
b793fbe1 BH |
153 | |
154 | <command | |
155 | categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category" | |
156 | description="%commands.control.add.context.description" | |
157 | id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.addContextOnDomain" | |
158 | name="%commands.control.add.context"> | |
159 | </command> | |
160 | ||
161 | <command | |
162 | categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category" | |
163 | description="%commands.control.add.context.description" | |
164 | id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.addContextOnChannel" | |
165 | name="%commands.control.add.context"> | |
166 | </command> | |
167 | ||
168 | <command | |
169 | categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category" | |
170 | description="%commands.control.add.context.description" | |
171 | id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.addContextOnEvent" | |
172 | name="%commands.control.add.context"> | |
173 | </command> | |
174 | ||
115b4a01 BH |
175 | </extension> |
176 | <extension | |
177 | point="org.eclipse.ui.menus"> | |
178 | <menuContribution | |
179 | allPopups="false" | |
180 | locationURI="toolbar:org.eclipse.linuxtools.internal.lttng2.ui.views.control"> | |
181 | <command | |
182 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.newConnection" | |
183 | icon="icons/elcl16/target_add.gif" | |
184 | label="%commands.control.new" | |
185 | style="push"> | |
186 | </command> | |
187 | <command | |
188 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.connect" | |
189 | icon="icons/elcl16/connect.gif" | |
190 | label="%commands.control.connect" | |
191 | style="push"> | |
192 | </command> | |
193 | <command | |
194 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.disconnect" | |
195 | icon="icons/elcl16/disconnect.gif" | |
196 | label="%commands.control.disconnect" | |
197 | style="push"> | |
198 | </command> | |
199 | <command | |
200 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.refresh" | |
201 | icon="icons/elcl16/refresh.gif" | |
202 | label="%commands.control.refresh" | |
203 | style="push"> | |
204 | </command> | |
205 | <command | |
206 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.delete" | |
207 | icon="icons/elcl16/target_delete.gif" | |
208 | label="%commands.control.delete" | |
209 | style="push"> | |
210 | </command> | |
211 | <separator | |
212 | name="org.eclipse.linuxtools.internal.lttng2.ui.views.control.toolbar.separator1" | |
213 | visible="true"> | |
214 | </separator> | |
215 | <command | |
216 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.start" | |
217 | icon="icons/elcl16/start_trace.gif" | |
218 | label="%commands.control.start" | |
219 | style="push"> | |
220 | </command> | |
221 | <command | |
222 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.stop" | |
223 | icon="icons/elcl16/pause_trace.gif" | |
224 | label="%commands.control.stop" | |
225 | style="push"> | |
226 | </command> | |
227 | <command | |
228 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.destroySession" | |
229 | icon="icons/elcl16/delete_trace.gif" | |
230 | label="%commands.control.destroy.session" | |
231 | style="push"> | |
232 | </command> | |
233 | ||
234 | </menuContribution> | |
235 | <menuContribution | |
236 | allPopups="false" | |
237 | locationURI="popup:org.eclipse.linuxtools.internal.lttng2.ui.views.control"> | |
238 | <command | |
239 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.connect" | |
240 | icon="icons/elcl16/connect.gif" | |
241 | label="%commands.control.connect" | |
242 | style="push"> | |
243 | <visibleWhen | |
244 | checkEnabled="false"> | |
245 | <with | |
246 | variable="activeMenuSelection"> | |
247 | <iterate | |
248 | operator="or"> | |
249 | <instanceof | |
250 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TargetNodeComponent"> | |
251 | </instanceof> | |
252 | </iterate> | |
253 | </with> | |
254 | </visibleWhen> | |
255 | </command> | |
256 | <command | |
257 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.disconnect" | |
258 | icon="icons/elcl16/disconnect.gif" | |
259 | label="%commands.control.disconnect" | |
260 | style="push"> | |
261 | <visibleWhen | |
262 | checkEnabled="false"> | |
263 | <with | |
264 | variable="activeMenuSelection"> | |
265 | <iterate | |
266 | operator="or"> | |
267 | <instanceof | |
268 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TargetNodeComponent"> | |
269 | </instanceof> | |
270 | </iterate> | |
271 | </with> | |
272 | </visibleWhen> | |
273 | </command> | |
274 | <command | |
275 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.refresh" | |
276 | icon="icons/elcl16/refresh.gif" | |
277 | label="%commands.control.refresh" | |
278 | style="push"> | |
279 | <visibleWhen | |
280 | checkEnabled="false"> | |
281 | <with | |
282 | variable="activeMenuSelection"> | |
283 | <iterate | |
284 | operator="or"> | |
285 | <instanceof | |
286 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceControlComponent"> | |
287 | </instanceof> | |
288 | </iterate> | |
289 | </with> | |
290 | </visibleWhen> | |
291 | </command> | |
292 | <command | |
293 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.delete" | |
294 | icon="icons/elcl16/target_delete.gif" | |
295 | label="%commands.control.delete" | |
296 | style="push"> | |
297 | <visibleWhen | |
298 | checkEnabled="false"> | |
299 | <with | |
300 | variable="activeMenuSelection"> | |
301 | <iterate | |
302 | operator="or"> | |
303 | <instanceof | |
304 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TargetNodeComponent"> | |
305 | </instanceof> | |
306 | </iterate> | |
307 | </with> | |
308 | </visibleWhen> | |
309 | </command> | |
310 | <command | |
311 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.createSession" | |
312 | icon="icons/elcl16/add_button.gif" | |
313 | label="%commands.control.create.session" | |
314 | style="push"> | |
315 | <visibleWhen | |
316 | checkEnabled="false"> | |
317 | <with | |
318 | variable="activeMenuSelection"> | |
319 | <iterate | |
320 | operator="or"> | |
321 | <instanceof | |
322 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionGroup"> | |
323 | </instanceof> | |
324 | </iterate> | |
325 | </with> | |
326 | </visibleWhen> | |
327 | </command> | |
328 | <command | |
329 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.start" | |
330 | icon="icons/elcl16/start_trace.gif" | |
331 | label="%commands.control.start" | |
332 | style="push"> | |
333 | <visibleWhen | |
334 | checkEnabled="false"> | |
335 | <with | |
336 | variable="activeMenuSelection"> | |
337 | <iterate | |
338 | operator="or"> | |
339 | <instanceof | |
340 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent"> | |
341 | </instanceof> | |
342 | </iterate> | |
343 | </with> | |
344 | </visibleWhen> | |
345 | </command> | |
346 | <command | |
347 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.stop" | |
348 | icon="icons/elcl16/pause_trace.gif" | |
349 | label="%commands.control.stop" | |
350 | style="push"> | |
351 | <visibleWhen | |
352 | checkEnabled="false"> | |
353 | <with | |
354 | variable="activeMenuSelection"> | |
355 | <iterate | |
356 | operator="or"> | |
357 | <instanceof | |
358 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent"> | |
359 | </instanceof> | |
360 | </iterate> | |
361 | </with> | |
362 | </visibleWhen> | |
363 | </command> | |
364 | <command | |
365 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.destroySession" | |
366 | icon="icons/elcl16/delete_trace.gif" | |
367 | label="%commands.control.destroy.session" | |
368 | style="push"> | |
369 | <visibleWhen | |
370 | checkEnabled="false"> | |
371 | <with | |
372 | variable="activeMenuSelection"> | |
373 | <iterate | |
374 | operator="or"> | |
375 | <instanceof | |
376 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent"> | |
377 | </instanceof> | |
378 | </iterate> | |
379 | </with> | |
380 | </visibleWhen> | |
381 | </command> | |
382 | <separator | |
383 | name="org.eclipse.linuxtools.internal.lttng2.ui.views.control.popup.separator1" | |
384 | visible="true"> | |
385 | </separator> | |
386 | <command | |
387 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.createChannelOnSession" | |
388 | icon="icons/elcl16/add_button.gif" | |
389 | label="%commands.control.create.channel" | |
390 | style="push"> | |
391 | <visibleWhen | |
392 | checkEnabled="false"> | |
393 | <with | |
394 | variable="activeMenuSelection"> | |
395 | <and> | |
396 | <iterate | |
397 | operator="or"> | |
398 | <instanceof | |
399 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent"> | |
400 | </instanceof> | |
401 | </iterate> | |
402 | <not> | |
403 | <iterate | |
404 | operator="or"> | |
405 | <instanceof | |
406 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceDomainComponent"> | |
407 | </instanceof> | |
408 | </iterate> | |
409 | </not> | |
410 | <count | |
411 | value="1"> | |
412 | </count> | |
413 | </and> | |
414 | </with> | |
415 | </visibleWhen> | |
416 | </command> | |
417 | <command | |
a26d90be | 418 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableEventOnSession" |
115b4a01 BH |
419 | icon="icons/elcl16/edit.gif" |
420 | label="%commands.control.enable.eventOnDomain" | |
421 | style="push"> | |
422 | <visibleWhen | |
423 | checkEnabled="false"> | |
424 | <with | |
425 | variable="activeMenuSelection"> | |
426 | <and> | |
427 | <iterate | |
428 | operator="or"> | |
429 | <instanceof | |
430 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent"> | |
431 | </instanceof> | |
432 | </iterate> | |
433 | <count | |
434 | value="1"> | |
435 | </count> | |
436 | </and> | |
437 | </with> | |
438 | </visibleWhen> | |
439 | </command> | |
440 | <command | |
441 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.createChannelOnDomain" | |
442 | icon="icons/elcl16/add_button.gif" | |
443 | label="%commands.control.create.channel" | |
444 | style="push"> | |
445 | <visibleWhen | |
446 | checkEnabled="false"> | |
447 | <with | |
448 | variable="activeMenuSelection"> | |
449 | <and> | |
450 | <iterate | |
451 | operator="or"> | |
452 | <instanceof | |
453 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceDomainComponent"> | |
454 | </instanceof> | |
455 | </iterate> | |
456 | <not> | |
457 | <iterate | |
458 | operator="or"> | |
459 | <instanceof | |
460 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent"> | |
461 | </instanceof> | |
462 | </iterate> | |
463 | </not> | |
464 | <count | |
465 | value="1"> | |
466 | </count> | |
467 | </and> | |
468 | </with> | |
469 | </visibleWhen> | |
470 | </command> | |
471 | <command | |
a26d90be | 472 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableEventOnDomain" |
115b4a01 BH |
473 | icon="icons/elcl16/edit.gif" |
474 | label="%commands.control.enable.eventOnDomain" | |
475 | style="push"> | |
476 | <visibleWhen | |
477 | checkEnabled="false"> | |
478 | <with | |
479 | variable="activeMenuSelection"> | |
480 | <and> | |
481 | <iterate | |
482 | operator="or"> | |
483 | <instanceof | |
484 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceDomainComponent"> | |
485 | </instanceof> | |
486 | </iterate> | |
487 | <count | |
488 | value="1"> | |
489 | </count> | |
490 | </and> | |
491 | </with> | |
492 | </visibleWhen> | |
493 | </command> | |
494 | <command | |
495 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableChannel" | |
496 | icon="icons/elcl16/edit.gif" | |
497 | label="%commands.control.enable.channel" | |
498 | style="push"> | |
499 | <visibleWhen | |
500 | checkEnabled="false"> | |
501 | <with | |
502 | variable="activeMenuSelection"> | |
503 | <iterate | |
504 | operator="or"> | |
505 | <instanceof | |
506 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceChannelComponent"> | |
507 | </instanceof> | |
508 | </iterate> | |
509 | </with> | |
510 | </visibleWhen> | |
511 | </command> | |
512 | <command | |
513 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.disableChannel" | |
514 | icon="icons/elcl16/edit.gif" | |
515 | label="%commands.control.disable.channel" | |
516 | style="push"> | |
517 | <visibleWhen | |
518 | checkEnabled="false"> | |
519 | <with | |
520 | variable="activeMenuSelection"> | |
521 | <iterate | |
522 | operator="or"> | |
523 | <instanceof | |
524 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceChannelComponent"> | |
525 | </instanceof> | |
526 | </iterate> | |
527 | </with> | |
528 | </visibleWhen> | |
529 | </command> | |
530 | ||
531 | <command | |
532 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.assign.event" | |
533 | icon="icons/elcl16/edit.gif" | |
534 | label="%commands.control.enable.event" | |
535 | style="push"> | |
536 | <visibleWhen | |
537 | checkEnabled="false"> | |
538 | <with | |
539 | variable="activeMenuSelection"> | |
540 | <iterate | |
541 | operator="or"> | |
542 | <instanceof | |
543 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.BaseEventComponent"> | |
544 | </instanceof> | |
545 | </iterate> | |
546 | </with> | |
547 | </visibleWhen> | |
548 | </command> | |
549 | ||
550 | <command | |
a26d90be | 551 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableEvent" |
115b4a01 BH |
552 | icon="icons/elcl16/edit.gif" |
553 | label="%commands.control.enable.event" | |
554 | style="push"> | |
555 | <visibleWhen | |
556 | checkEnabled="false"> | |
557 | <with | |
558 | variable="activeMenuSelection"> | |
559 | <iterate | |
560 | operator="or"> | |
561 | <instanceof | |
562 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceEventComponent"> | |
563 | </instanceof> | |
564 | </iterate> | |
565 | </with> | |
566 | </visibleWhen> | |
567 | </command> | |
568 | ||
569 | <command | |
a26d90be | 570 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.disableEvent" |
115b4a01 BH |
571 | icon="icons/elcl16/edit.gif" |
572 | label="%commands.control.disable.event" | |
573 | style="push"> | |
574 | <visibleWhen | |
575 | checkEnabled="false"> | |
576 | <with | |
577 | variable="activeMenuSelection"> | |
578 | <iterate | |
579 | operator="or"> | |
580 | <instanceof | |
581 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceEventComponent"> | |
582 | </instanceof> | |
583 | </iterate> | |
584 | </with> | |
585 | </visibleWhen> | |
586 | </command> | |
115b4a01 | 587 | <command |
a26d90be | 588 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableEventOnChannel" |
115b4a01 BH |
589 | icon="icons/elcl16/edit.gif" |
590 | label="%commands.control.enable.event" | |
591 | style="push"> | |
592 | <visibleWhen | |
593 | checkEnabled="false"> | |
594 | <with | |
595 | variable="activeMenuSelection"> | |
596 | <and> | |
597 | <iterate | |
598 | operator="or"> | |
599 | <instanceof | |
600 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceChannelComponent"> | |
601 | </instanceof> | |
602 | </iterate> | |
603 | <count | |
604 | value="1"> | |
605 | </count> | |
606 | </and> | |
607 | </with> | |
608 | </visibleWhen> | |
609 | </command> | |
b793fbe1 BH |
610 | <command |
611 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.addContextOnDomain" | |
612 | icon="icons/elcl16/edit.gif" | |
613 | label="%commands.control.add.context" | |
614 | style="push"> | |
615 | <visibleWhen | |
616 | checkEnabled="false"> | |
617 | <with | |
618 | variable="activeMenuSelection"> | |
619 | <and> | |
620 | <iterate | |
621 | operator="or"> | |
622 | <instanceof | |
623 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceDomainComponent"> | |
624 | </instanceof> | |
625 | </iterate> | |
626 | <count | |
627 | value="1"> | |
628 | </count> | |
629 | </and> | |
630 | </with> | |
631 | </visibleWhen> | |
632 | </command> | |
633 | <command | |
634 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.addContextOnChannel" | |
635 | icon="icons/elcl16/edit.gif" | |
636 | label="%commands.control.add.context" | |
637 | style="push"> | |
638 | <visibleWhen | |
639 | checkEnabled="false"> | |
640 | <with | |
641 | variable="activeMenuSelection"> | |
642 | <and> | |
643 | <iterate | |
644 | operator="or"> | |
645 | <instanceof | |
646 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceChannelComponent"> | |
647 | </instanceof> | |
648 | </iterate> | |
649 | <count | |
650 | value="1"> | |
651 | </count> | |
652 | </and> | |
653 | </with> | |
654 | </visibleWhen> | |
655 | </command> | |
656 | <command | |
657 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.addContextOnEvent" | |
658 | icon="icons/elcl16/edit.gif" | |
659 | label="%commands.control.add.context" | |
660 | style="push"> | |
661 | <visibleWhen | |
662 | checkEnabled="false"> | |
663 | <with | |
664 | variable="activeMenuSelection"> | |
665 | <and> | |
666 | <iterate | |
667 | operator="or"> | |
668 | <instanceof | |
669 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceEventComponent"> | |
670 | </instanceof> | |
671 | </iterate> | |
672 | <count | |
673 | value="1"> | |
674 | </count> | |
675 | </and> | |
676 | </with> | |
677 | </visibleWhen> | |
678 | </command> | |
115b4a01 BH |
679 | </menuContribution> |
680 | ||
681 | </extension> | |
682 | <extension | |
683 | point="org.eclipse.ui.handlers"> | |
684 | <handler | |
685 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.NewConnectionHandler" | |
686 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.newConnection"> | |
687 | <activeWhen> | |
688 | <with | |
689 | variable="activePart"> | |
690 | <instanceof | |
691 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.ControlView"> | |
692 | </instanceof> | |
693 | </with> | |
694 | </activeWhen> | |
695 | </handler> | |
696 | <handler | |
697 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.ConnectHandler" | |
698 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.connect"> | |
699 | <activeWhen> | |
700 | <with | |
701 | variable="selection"> | |
702 | <iterate | |
703 | operator="or"> | |
704 | <instanceof | |
705 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TargetNodeComponent"> | |
706 | </instanceof> | |
707 | </iterate> | |
708 | </with> | |
709 | </activeWhen> | |
710 | </handler> | |
711 | <handler | |
712 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.DisconnectHandler" | |
713 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.disconnect"> | |
714 | <activeWhen> | |
715 | <with | |
716 | variable="selection"> | |
717 | <iterate | |
718 | operator="or"> | |
719 | <instanceof | |
720 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TargetNodeComponent"> | |
721 | </instanceof> | |
722 | </iterate> | |
723 | </with> | |
724 | </activeWhen> | |
725 | </handler> | |
726 | <handler | |
727 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.RefreshHandler" | |
728 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.refresh"> | |
729 | <activeWhen> | |
730 | <with | |
731 | variable="selection"> | |
732 | <iterate | |
733 | operator="or"> | |
734 | <instanceof | |
735 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceControlComponent"> | |
736 | </instanceof> | |
737 | </iterate> | |
738 | </with> | |
739 | </activeWhen> | |
740 | </handler> | |
741 | <handler | |
742 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.DeleteHandler" | |
743 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.delete"> | |
744 | <activeWhen> | |
745 | <with | |
746 | variable="selection"> | |
747 | <iterate | |
748 | operator="or"> | |
749 | <instanceof | |
750 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TargetNodeComponent"> | |
751 | </instanceof> | |
752 | </iterate> | |
753 | </with> | |
754 | </activeWhen> | |
755 | </handler> | |
756 | <handler | |
757 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CreateSessionHandler" | |
758 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.createSession"> | |
759 | <activeWhen> | |
760 | <with | |
761 | variable="selection"> | |
762 | <iterate | |
763 | operator="or"> | |
764 | <instanceof | |
765 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionGroup"> | |
766 | </instanceof> | |
767 | </iterate> | |
768 | </with> | |
769 | </activeWhen> | |
770 | </handler> | |
771 | <handler | |
772 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.DestroySessionHandler" | |
773 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.destroySession"> | |
774 | <activeWhen> | |
775 | <with | |
776 | variable="selection"> | |
777 | <iterate | |
778 | operator="or"> | |
779 | <instanceof | |
780 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent"> | |
781 | </instanceof> | |
782 | </iterate> | |
783 | </with> | |
784 | </activeWhen> | |
785 | </handler> | |
786 | <handler | |
787 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CreateChannelOnSessionHandler" | |
788 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.createChannelOnSession"> | |
789 | <activeWhen> | |
790 | <with | |
791 | variable="selection"> | |
792 | <iterate | |
793 | operator="or"> | |
794 | <instanceof | |
795 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent"> | |
796 | </instanceof> | |
797 | </iterate> | |
798 | </with> | |
799 | </activeWhen> | |
800 | </handler> | |
801 | <handler | |
802 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CreateChannelOnDomainHandler" | |
803 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.createChannelOnDomain"> | |
804 | <activeWhen> | |
805 | <with | |
806 | variable="selection"> | |
807 | <iterate | |
808 | operator="or"> | |
809 | <instanceof | |
810 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceDomainComponent"> | |
811 | </instanceof> | |
812 | </iterate> | |
813 | </with> | |
814 | </activeWhen> | |
815 | </handler> | |
816 | <handler | |
817 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.EnableChannelHandler" | |
818 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableChannel"> | |
819 | <activeWhen> | |
820 | <with | |
821 | variable="selection"> | |
822 | <iterate | |
823 | operator="or"> | |
824 | <instanceof | |
825 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceChannelComponent"> | |
826 | </instanceof> | |
827 | </iterate> | |
828 | </with> | |
829 | </activeWhen> | |
830 | </handler> | |
831 | <handler | |
832 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.DisableChannelHandler" | |
833 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.disableChannel"> | |
834 | <activeWhen> | |
835 | <with | |
836 | variable="selection"> | |
837 | <iterate | |
838 | operator="or"> | |
839 | <instanceof | |
840 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceChannelComponent"> | |
841 | </instanceof> | |
842 | </iterate> | |
843 | </with> | |
844 | </activeWhen> | |
845 | </handler> | |
846 | ||
847 | <handler | |
848 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.StartHandler" | |
849 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.start"> | |
850 | <activeWhen> | |
851 | <with | |
852 | variable="selection"> | |
853 | <iterate | |
854 | operator="or"> | |
855 | <instanceof | |
856 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent"> | |
857 | </instanceof> | |
858 | </iterate> | |
859 | </with> | |
860 | </activeWhen> | |
861 | </handler> | |
862 | ||
863 | <handler | |
864 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.StopHandler" | |
865 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.stop"> | |
866 | <activeWhen> | |
867 | <with | |
868 | variable="selection"> | |
869 | <iterate | |
870 | operator="or"> | |
871 | <instanceof | |
872 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent"> | |
873 | </instanceof> | |
874 | </iterate> | |
875 | </with> | |
876 | </activeWhen> | |
877 | </handler> | |
878 | ||
879 | <handler | |
880 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.AssignEventHandler" | |
881 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.assign.event"> | |
882 | <activeWhen> | |
883 | <with | |
884 | variable="selection"> | |
885 | <iterate | |
886 | operator="or"> | |
887 | <instanceof | |
888 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.BaseEventComponent"> | |
889 | </instanceof> | |
890 | </iterate> | |
891 | </with> | |
892 | </activeWhen> | |
893 | </handler> | |
894 | ||
895 | <handler | |
896 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.EnableEventHandler" | |
a26d90be | 897 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableEvent"> |
115b4a01 BH |
898 | <activeWhen> |
899 | <with | |
900 | variable="selection"> | |
901 | <iterate | |
902 | operator="or"> | |
903 | <instanceof | |
904 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceEventComponent"> | |
905 | </instanceof> | |
906 | </iterate> | |
907 | </with> | |
908 | </activeWhen> | |
909 | </handler> | |
910 | ||
911 | <handler | |
912 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.DisableEventHandler" | |
a26d90be | 913 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.disableEvent"> |
115b4a01 BH |
914 | <activeWhen> |
915 | <with | |
916 | variable="selection"> | |
917 | <iterate | |
918 | operator="or"> | |
919 | <instanceof | |
920 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceEventComponent"> | |
921 | </instanceof> | |
922 | </iterate> | |
923 | </with> | |
924 | </activeWhen> | |
925 | </handler> | |
926 | ||
927 | <handler | |
928 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.EnableEventOnChannelHandler" | |
a26d90be | 929 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableEventOnChannel"> |
115b4a01 BH |
930 | <activeWhen> |
931 | <with | |
932 | variable="selection"> | |
933 | <iterate | |
934 | operator="or"> | |
935 | <instanceof | |
936 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceChannelComponent"> | |
937 | </instanceof> | |
938 | </iterate> | |
939 | </with> | |
940 | </activeWhen> | |
941 | </handler> | |
942 | ||
943 | <handler | |
944 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.EnableEventOnDomainHandler" | |
a26d90be | 945 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableEventOnDomain"> |
115b4a01 BH |
946 | <activeWhen> |
947 | <with | |
948 | variable="selection"> | |
949 | <iterate | |
950 | operator="or"> | |
951 | <instanceof | |
952 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceDomainComponent"> | |
953 | </instanceof> | |
954 | </iterate> | |
955 | </with> | |
956 | </activeWhen> | |
957 | </handler> | |
958 | <handler | |
959 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.EnableEventOnSessionHandler" | |
a26d90be | 960 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableEventOnSession"> |
115b4a01 BH |
961 | <activeWhen> |
962 | <with | |
963 | variable="selection"> | |
964 | <iterate | |
965 | operator="or"> | |
966 | <instanceof | |
967 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent"> | |
968 | </instanceof> | |
969 | </iterate> | |
970 | </with> | |
971 | </activeWhen> | |
972 | </handler> | |
b793fbe1 BH |
973 | |
974 | <handler | |
975 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.AddContextOnDomainHandler" | |
976 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.addContextOnDomain"> | |
977 | <activeWhen> | |
978 | <with | |
979 | variable="selection"> | |
980 | <iterate | |
981 | operator="or"> | |
982 | <instanceof | |
983 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceDomainComponent"> | |
984 | </instanceof> | |
985 | </iterate> | |
986 | </with> | |
987 | </activeWhen> | |
988 | </handler> | |
989 | ||
990 | <handler | |
991 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.AddContextOnChannelHandler" | |
992 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.addContextOnChannel"> | |
993 | <activeWhen> | |
994 | <with | |
995 | variable="selection"> | |
996 | <iterate | |
997 | operator="or"> | |
998 | <instanceof | |
999 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceChannelComponent"> | |
1000 | </instanceof> | |
1001 | </iterate> | |
1002 | </with> | |
1003 | </activeWhen> | |
1004 | </handler> | |
1005 | ||
1006 | <handler | |
1007 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.AddContextOnEventHandler" | |
1008 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.addContextOnEvent"> | |
1009 | <activeWhen> | |
1010 | <with | |
1011 | variable="selection"> | |
1012 | <iterate | |
1013 | operator="or"> | |
1014 | <instanceof | |
1015 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceEventComponent"> | |
1016 | </instanceof> | |
1017 | </iterate> | |
1018 | </with> | |
1019 | </activeWhen> | |
1020 | </handler> | |
1021 | ||
115b4a01 BH |
1022 | </extension> |
1023 | ||
1024 | <extension | |
1025 | point="org.eclipse.rse.core.systemTypes"> | |
1026 | <systemType | |
1027 | description="%trace.control.rse.system.type.description" | |
1028 | icon="icons/obj16/systemlttng2.gif" | |
1029 | iconLive="icons/obj16/systemlttng2-live.gif" | |
1030 | id="org.eclipse.linuxtools.internal.lttng2.ui.control.systemType" | |
1031 | label="%trace.control.rse.system.type.name" | |
1032 | name="org.eclipse.linuxtools.internal.lttng2.ui.control.systemType" | |
1033 | subsystemConfigurationIds="ssh.shells;ssh.files;ssh.terminals;processes.shell.linux"> | |
1034 | </systemType> | |
1035 | </extension> | |
1036 | ||
1037 | ||
79b33284 | 1038 | </plugin> |