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