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