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