| 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.enable.assign.description" |
| 126 | id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.assign.event" |
| 127 | name="%commands.control.enable.event"> |
| 128 | </command> |
| 129 | <command |
| 130 | categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category" |
| 131 | description="%commands.control.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.event.description" |
| 144 | id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableEventOnChannel" |
| 145 | name="%commands.control.enable.event"> |
| 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 | |
| 189 | </extension> |
| 190 | <extension |
| 191 | point="org.eclipse.ui.menus"> |
| 192 | <menuContribution |
| 193 | allPopups="false" |
| 194 | locationURI="toolbar:org.eclipse.linuxtools.internal.lttng2.ui.views.control"> |
| 195 | <command |
| 196 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.newConnection" |
| 197 | icon="icons/elcl16/target_add.gif" |
| 198 | label="%commands.control.new" |
| 199 | style="push"> |
| 200 | </command> |
| 201 | <command |
| 202 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.connect" |
| 203 | icon="icons/elcl16/connect.gif" |
| 204 | label="%commands.control.connect" |
| 205 | style="push"> |
| 206 | </command> |
| 207 | <command |
| 208 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.disconnect" |
| 209 | icon="icons/elcl16/disconnect.gif" |
| 210 | label="%commands.control.disconnect" |
| 211 | style="push"> |
| 212 | </command> |
| 213 | <command |
| 214 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.refresh" |
| 215 | icon="icons/elcl16/refresh.gif" |
| 216 | label="%commands.control.refresh" |
| 217 | style="push"> |
| 218 | </command> |
| 219 | <command |
| 220 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.delete" |
| 221 | icon="icons/elcl16/target_delete.gif" |
| 222 | label="%commands.control.delete" |
| 223 | style="push"> |
| 224 | </command> |
| 225 | <separator |
| 226 | name="org.eclipse.linuxtools.internal.lttng2.ui.views.control.toolbar.separator1" |
| 227 | visible="true"> |
| 228 | </separator> |
| 229 | <command |
| 230 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.start" |
| 231 | icon="icons/elcl16/start_trace.gif" |
| 232 | label="%commands.control.start" |
| 233 | style="push"> |
| 234 | </command> |
| 235 | <command |
| 236 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.stop" |
| 237 | icon="icons/elcl16/pause_trace.gif" |
| 238 | label="%commands.control.stop" |
| 239 | style="push"> |
| 240 | </command> |
| 241 | <command |
| 242 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.destroySession" |
| 243 | icon="icons/elcl16/delete_trace.gif" |
| 244 | label="%commands.control.destroy.session" |
| 245 | style="push"> |
| 246 | </command> |
| 247 | <separator |
| 248 | name="org.eclipse.linuxtools.internal.lttng2.ui.views.control.toolbar.separator2" |
| 249 | visible="true"> |
| 250 | </separator> |
| 251 | <command |
| 252 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.import" |
| 253 | icon="icons/elcl16/import_trace.gif" |
| 254 | label="%commands.control.import" |
| 255 | style="push"> |
| 256 | </command> |
| 257 | |
| 258 | </menuContribution> |
| 259 | <menuContribution |
| 260 | allPopups="false" |
| 261 | locationURI="popup:org.eclipse.linuxtools.internal.lttng2.ui.views.control"> |
| 262 | <command |
| 263 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.connect" |
| 264 | icon="icons/elcl16/connect.gif" |
| 265 | label="%commands.control.connect" |
| 266 | style="push"> |
| 267 | <visibleWhen |
| 268 | checkEnabled="false"> |
| 269 | <with |
| 270 | variable="activeMenuSelection"> |
| 271 | <iterate |
| 272 | operator="or"> |
| 273 | <instanceof |
| 274 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TargetNodeComponent"> |
| 275 | </instanceof> |
| 276 | </iterate> |
| 277 | </with> |
| 278 | </visibleWhen> |
| 279 | </command> |
| 280 | <command |
| 281 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.disconnect" |
| 282 | icon="icons/elcl16/disconnect.gif" |
| 283 | label="%commands.control.disconnect" |
| 284 | style="push"> |
| 285 | <visibleWhen |
| 286 | checkEnabled="false"> |
| 287 | <with |
| 288 | variable="activeMenuSelection"> |
| 289 | <iterate |
| 290 | operator="or"> |
| 291 | <instanceof |
| 292 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TargetNodeComponent"> |
| 293 | </instanceof> |
| 294 | </iterate> |
| 295 | </with> |
| 296 | </visibleWhen> |
| 297 | </command> |
| 298 | <command |
| 299 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.refresh" |
| 300 | icon="icons/elcl16/refresh.gif" |
| 301 | label="%commands.control.refresh" |
| 302 | style="push"> |
| 303 | <visibleWhen |
| 304 | checkEnabled="false"> |
| 305 | <with |
| 306 | variable="activeMenuSelection"> |
| 307 | <iterate |
| 308 | operator="or"> |
| 309 | <instanceof |
| 310 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceControlComponent"> |
| 311 | </instanceof> |
| 312 | </iterate> |
| 313 | </with> |
| 314 | </visibleWhen> |
| 315 | </command> |
| 316 | <command |
| 317 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.delete" |
| 318 | icon="icons/elcl16/target_delete.gif" |
| 319 | label="%commands.control.delete" |
| 320 | style="push"> |
| 321 | <visibleWhen |
| 322 | checkEnabled="false"> |
| 323 | <with |
| 324 | variable="activeMenuSelection"> |
| 325 | <iterate |
| 326 | operator="or"> |
| 327 | <instanceof |
| 328 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TargetNodeComponent"> |
| 329 | </instanceof> |
| 330 | </iterate> |
| 331 | </with> |
| 332 | </visibleWhen> |
| 333 | </command> |
| 334 | <command |
| 335 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.createSession" |
| 336 | icon="icons/elcl16/add_button.gif" |
| 337 | label="%commands.control.create.session" |
| 338 | style="push"> |
| 339 | <visibleWhen |
| 340 | checkEnabled="false"> |
| 341 | <with |
| 342 | variable="activeMenuSelection"> |
| 343 | <iterate |
| 344 | operator="or"> |
| 345 | <instanceof |
| 346 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionGroup"> |
| 347 | </instanceof> |
| 348 | </iterate> |
| 349 | </with> |
| 350 | </visibleWhen> |
| 351 | </command> |
| 352 | <command |
| 353 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.start" |
| 354 | icon="icons/elcl16/start_trace.gif" |
| 355 | label="%commands.control.start" |
| 356 | style="push"> |
| 357 | <visibleWhen |
| 358 | checkEnabled="false"> |
| 359 | <with |
| 360 | variable="activeMenuSelection"> |
| 361 | <iterate |
| 362 | operator="or"> |
| 363 | <instanceof |
| 364 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent"> |
| 365 | </instanceof> |
| 366 | </iterate> |
| 367 | </with> |
| 368 | </visibleWhen> |
| 369 | </command> |
| 370 | <command |
| 371 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.stop" |
| 372 | icon="icons/elcl16/pause_trace.gif" |
| 373 | label="%commands.control.stop" |
| 374 | style="push"> |
| 375 | <visibleWhen |
| 376 | checkEnabled="false"> |
| 377 | <with |
| 378 | variable="activeMenuSelection"> |
| 379 | <iterate |
| 380 | operator="or"> |
| 381 | <instanceof |
| 382 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent"> |
| 383 | </instanceof> |
| 384 | </iterate> |
| 385 | </with> |
| 386 | </visibleWhen> |
| 387 | </command> |
| 388 | <command |
| 389 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.destroySession" |
| 390 | icon="icons/elcl16/delete_trace.gif" |
| 391 | label="%commands.control.destroy.session" |
| 392 | style="push"> |
| 393 | <visibleWhen |
| 394 | checkEnabled="false"> |
| 395 | <with |
| 396 | variable="activeMenuSelection"> |
| 397 | <iterate |
| 398 | operator="or"> |
| 399 | <instanceof |
| 400 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent"> |
| 401 | </instanceof> |
| 402 | </iterate> |
| 403 | </with> |
| 404 | </visibleWhen> |
| 405 | </command> |
| 406 | <separator |
| 407 | name="org.eclipse.linuxtools.internal.lttng2.ui.views.control.popup.separator1" |
| 408 | visible="true"> |
| 409 | </separator> |
| 410 | <command |
| 411 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.import" |
| 412 | icon="icons/elcl16/import_trace.gif" |
| 413 | label="%commands.control.import" |
| 414 | style="push"> |
| 415 | <visibleWhen |
| 416 | checkEnabled="false"> |
| 417 | <with |
| 418 | variable="activeMenuSelection"> |
| 419 | <and> |
| 420 | <iterate |
| 421 | operator="or"> |
| 422 | <instanceof |
| 423 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent"> |
| 424 | </instanceof> |
| 425 | </iterate> |
| 426 | <count |
| 427 | value="1"> |
| 428 | </count> |
| 429 | </and> |
| 430 | </with> |
| 431 | </visibleWhen> |
| 432 | </command> |
| 433 | <separator |
| 434 | name="org.eclipse.linuxtools.internal.lttng2.ui.views.control.popup.separator2" |
| 435 | visible="true"> |
| 436 | </separator> |
| 437 | <command |
| 438 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.createChannelOnSession" |
| 439 | icon="icons/elcl16/add_button.gif" |
| 440 | label="%commands.control.create.channel" |
| 441 | style="push"> |
| 442 | <visibleWhen |
| 443 | checkEnabled="false"> |
| 444 | <with |
| 445 | variable="activeMenuSelection"> |
| 446 | <and> |
| 447 | <iterate |
| 448 | operator="or"> |
| 449 | <instanceof |
| 450 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent"> |
| 451 | </instanceof> |
| 452 | </iterate> |
| 453 | <not> |
| 454 | <iterate |
| 455 | operator="or"> |
| 456 | <instanceof |
| 457 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceDomainComponent"> |
| 458 | </instanceof> |
| 459 | </iterate> |
| 460 | </not> |
| 461 | <count |
| 462 | value="1"> |
| 463 | </count> |
| 464 | </and> |
| 465 | </with> |
| 466 | </visibleWhen> |
| 467 | </command> |
| 468 | <command |
| 469 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableEventOnSession" |
| 470 | icon="icons/elcl16/edit.gif" |
| 471 | label="%commands.control.enable.eventOnDomain" |
| 472 | style="push"> |
| 473 | <visibleWhen |
| 474 | checkEnabled="false"> |
| 475 | <with |
| 476 | variable="activeMenuSelection"> |
| 477 | <and> |
| 478 | <iterate |
| 479 | operator="or"> |
| 480 | <instanceof |
| 481 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent"> |
| 482 | </instanceof> |
| 483 | </iterate> |
| 484 | <count |
| 485 | value="1"> |
| 486 | </count> |
| 487 | </and> |
| 488 | </with> |
| 489 | </visibleWhen> |
| 490 | </command> |
| 491 | <command |
| 492 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.createChannelOnDomain" |
| 493 | icon="icons/elcl16/add_button.gif" |
| 494 | label="%commands.control.create.channel" |
| 495 | style="push"> |
| 496 | <visibleWhen |
| 497 | checkEnabled="false"> |
| 498 | <with |
| 499 | variable="activeMenuSelection"> |
| 500 | <and> |
| 501 | <iterate |
| 502 | operator="or"> |
| 503 | <instanceof |
| 504 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceDomainComponent"> |
| 505 | </instanceof> |
| 506 | </iterate> |
| 507 | <not> |
| 508 | <iterate |
| 509 | operator="or"> |
| 510 | <instanceof |
| 511 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent"> |
| 512 | </instanceof> |
| 513 | </iterate> |
| 514 | </not> |
| 515 | <count |
| 516 | value="1"> |
| 517 | </count> |
| 518 | </and> |
| 519 | </with> |
| 520 | </visibleWhen> |
| 521 | </command> |
| 522 | <command |
| 523 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableEventOnDomain" |
| 524 | icon="icons/elcl16/edit.gif" |
| 525 | label="%commands.control.enable.eventOnDomain" |
| 526 | style="push"> |
| 527 | <visibleWhen |
| 528 | checkEnabled="false"> |
| 529 | <with |
| 530 | variable="activeMenuSelection"> |
| 531 | <and> |
| 532 | <iterate |
| 533 | operator="or"> |
| 534 | <instanceof |
| 535 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceDomainComponent"> |
| 536 | </instanceof> |
| 537 | </iterate> |
| 538 | <count |
| 539 | value="1"> |
| 540 | </count> |
| 541 | </and> |
| 542 | </with> |
| 543 | </visibleWhen> |
| 544 | </command> |
| 545 | <command |
| 546 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableChannel" |
| 547 | icon="icons/elcl16/edit.gif" |
| 548 | label="%commands.control.enable.channel" |
| 549 | style="push"> |
| 550 | <visibleWhen |
| 551 | checkEnabled="false"> |
| 552 | <with |
| 553 | variable="activeMenuSelection"> |
| 554 | <iterate |
| 555 | operator="or"> |
| 556 | <instanceof |
| 557 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceChannelComponent"> |
| 558 | </instanceof> |
| 559 | </iterate> |
| 560 | </with> |
| 561 | </visibleWhen> |
| 562 | </command> |
| 563 | <command |
| 564 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.disableChannel" |
| 565 | icon="icons/elcl16/edit.gif" |
| 566 | label="%commands.control.disable.channel" |
| 567 | style="push"> |
| 568 | <visibleWhen |
| 569 | checkEnabled="false"> |
| 570 | <with |
| 571 | variable="activeMenuSelection"> |
| 572 | <iterate |
| 573 | operator="or"> |
| 574 | <instanceof |
| 575 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceChannelComponent"> |
| 576 | </instanceof> |
| 577 | </iterate> |
| 578 | </with> |
| 579 | </visibleWhen> |
| 580 | </command> |
| 581 | |
| 582 | <command |
| 583 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.assign.event" |
| 584 | icon="icons/elcl16/edit.gif" |
| 585 | label="%commands.control.enable.event" |
| 586 | style="push"> |
| 587 | <visibleWhen |
| 588 | checkEnabled="false"> |
| 589 | <with |
| 590 | variable="activeMenuSelection"> |
| 591 | <iterate |
| 592 | operator="or"> |
| 593 | <instanceof |
| 594 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.BaseEventComponent"> |
| 595 | </instanceof> |
| 596 | </iterate> |
| 597 | </with> |
| 598 | </visibleWhen> |
| 599 | </command> |
| 600 | |
| 601 | <command |
| 602 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableEvent" |
| 603 | icon="icons/elcl16/edit.gif" |
| 604 | label="%commands.control.enable.event" |
| 605 | style="push"> |
| 606 | <visibleWhen |
| 607 | checkEnabled="false"> |
| 608 | <with |
| 609 | variable="activeMenuSelection"> |
| 610 | <iterate |
| 611 | operator="or"> |
| 612 | <instanceof |
| 613 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceEventComponent"> |
| 614 | </instanceof> |
| 615 | </iterate> |
| 616 | </with> |
| 617 | </visibleWhen> |
| 618 | </command> |
| 619 | |
| 620 | <command |
| 621 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.disableEvent" |
| 622 | icon="icons/elcl16/edit.gif" |
| 623 | label="%commands.control.disable.event" |
| 624 | style="push"> |
| 625 | <visibleWhen |
| 626 | checkEnabled="false"> |
| 627 | <with |
| 628 | variable="activeMenuSelection"> |
| 629 | <iterate |
| 630 | operator="or"> |
| 631 | <instanceof |
| 632 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceEventComponent"> |
| 633 | </instanceof> |
| 634 | </iterate> |
| 635 | </with> |
| 636 | </visibleWhen> |
| 637 | </command> |
| 638 | <command |
| 639 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableEventOnChannel" |
| 640 | icon="icons/elcl16/edit.gif" |
| 641 | label="%commands.control.enable.event" |
| 642 | style="push"> |
| 643 | <visibleWhen |
| 644 | checkEnabled="false"> |
| 645 | <with |
| 646 | variable="activeMenuSelection"> |
| 647 | <and> |
| 648 | <iterate |
| 649 | operator="or"> |
| 650 | <instanceof |
| 651 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceChannelComponent"> |
| 652 | </instanceof> |
| 653 | </iterate> |
| 654 | <count |
| 655 | value="1"> |
| 656 | </count> |
| 657 | </and> |
| 658 | </with> |
| 659 | </visibleWhen> |
| 660 | </command> |
| 661 | <command |
| 662 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.addContextOnDomain" |
| 663 | icon="icons/elcl16/edit.gif" |
| 664 | label="%commands.control.add.context" |
| 665 | style="push"> |
| 666 | <visibleWhen |
| 667 | checkEnabled="false"> |
| 668 | <with |
| 669 | variable="activeMenuSelection"> |
| 670 | <and> |
| 671 | <iterate |
| 672 | operator="or"> |
| 673 | <instanceof |
| 674 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceDomainComponent"> |
| 675 | </instanceof> |
| 676 | </iterate> |
| 677 | <count |
| 678 | value="1"> |
| 679 | </count> |
| 680 | </and> |
| 681 | </with> |
| 682 | </visibleWhen> |
| 683 | </command> |
| 684 | <command |
| 685 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.addContextOnChannel" |
| 686 | icon="icons/elcl16/edit.gif" |
| 687 | label="%commands.control.add.context" |
| 688 | style="push"> |
| 689 | <visibleWhen |
| 690 | checkEnabled="false"> |
| 691 | <with |
| 692 | variable="activeMenuSelection"> |
| 693 | <and> |
| 694 | <iterate |
| 695 | operator="or"> |
| 696 | <instanceof |
| 697 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceChannelComponent"> |
| 698 | </instanceof> |
| 699 | </iterate> |
| 700 | <count |
| 701 | value="1"> |
| 702 | </count> |
| 703 | </and> |
| 704 | </with> |
| 705 | </visibleWhen> |
| 706 | </command> |
| 707 | <command |
| 708 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.addContextOnEvent" |
| 709 | icon="icons/elcl16/edit.gif" |
| 710 | label="%commands.control.add.context" |
| 711 | style="push"> |
| 712 | <visibleWhen |
| 713 | checkEnabled="false"> |
| 714 | <with |
| 715 | variable="activeMenuSelection"> |
| 716 | <and> |
| 717 | <iterate |
| 718 | operator="or"> |
| 719 | <instanceof |
| 720 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceEventComponent"> |
| 721 | </instanceof> |
| 722 | </iterate> |
| 723 | <count |
| 724 | value="1"> |
| 725 | </count> |
| 726 | </and> |
| 727 | </with> |
| 728 | </visibleWhen> |
| 729 | </command> |
| 730 | </menuContribution> |
| 731 | |
| 732 | </extension> |
| 733 | <extension |
| 734 | point="org.eclipse.ui.handlers"> |
| 735 | <handler |
| 736 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.NewConnectionHandler" |
| 737 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.newConnection"> |
| 738 | <activeWhen> |
| 739 | <with |
| 740 | variable="activePart"> |
| 741 | <instanceof |
| 742 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.ControlView"> |
| 743 | </instanceof> |
| 744 | </with> |
| 745 | </activeWhen> |
| 746 | </handler> |
| 747 | <handler |
| 748 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.ConnectHandler" |
| 749 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.connect"> |
| 750 | <activeWhen> |
| 751 | <with |
| 752 | variable="selection"> |
| 753 | <iterate |
| 754 | operator="or"> |
| 755 | <instanceof |
| 756 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TargetNodeComponent"> |
| 757 | </instanceof> |
| 758 | </iterate> |
| 759 | </with> |
| 760 | </activeWhen> |
| 761 | </handler> |
| 762 | <handler |
| 763 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.DisconnectHandler" |
| 764 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.disconnect"> |
| 765 | <activeWhen> |
| 766 | <with |
| 767 | variable="selection"> |
| 768 | <iterate |
| 769 | operator="or"> |
| 770 | <instanceof |
| 771 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TargetNodeComponent"> |
| 772 | </instanceof> |
| 773 | </iterate> |
| 774 | </with> |
| 775 | </activeWhen> |
| 776 | </handler> |
| 777 | <handler |
| 778 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.RefreshHandler" |
| 779 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.refresh"> |
| 780 | <activeWhen> |
| 781 | <with |
| 782 | variable="selection"> |
| 783 | <iterate |
| 784 | operator="or"> |
| 785 | <instanceof |
| 786 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceControlComponent"> |
| 787 | </instanceof> |
| 788 | </iterate> |
| 789 | </with> |
| 790 | </activeWhen> |
| 791 | </handler> |
| 792 | <handler |
| 793 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.DeleteHandler" |
| 794 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.delete"> |
| 795 | <activeWhen> |
| 796 | <with |
| 797 | variable="selection"> |
| 798 | <iterate |
| 799 | operator="or"> |
| 800 | <instanceof |
| 801 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TargetNodeComponent"> |
| 802 | </instanceof> |
| 803 | </iterate> |
| 804 | </with> |
| 805 | </activeWhen> |
| 806 | </handler> |
| 807 | <handler |
| 808 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CreateSessionHandler" |
| 809 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.createSession"> |
| 810 | <activeWhen> |
| 811 | <with |
| 812 | variable="selection"> |
| 813 | <iterate |
| 814 | operator="or"> |
| 815 | <instanceof |
| 816 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionGroup"> |
| 817 | </instanceof> |
| 818 | </iterate> |
| 819 | </with> |
| 820 | </activeWhen> |
| 821 | </handler> |
| 822 | <handler |
| 823 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.DestroySessionHandler" |
| 824 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.destroySession"> |
| 825 | <activeWhen> |
| 826 | <with |
| 827 | variable="selection"> |
| 828 | <iterate |
| 829 | operator="or"> |
| 830 | <instanceof |
| 831 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent"> |
| 832 | </instanceof> |
| 833 | </iterate> |
| 834 | </with> |
| 835 | </activeWhen> |
| 836 | </handler> |
| 837 | <handler |
| 838 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.ImportHandler" |
| 839 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.import"> |
| 840 | <activeWhen> |
| 841 | <with |
| 842 | variable="selection"> |
| 843 | <and> |
| 844 | <iterate |
| 845 | operator="or"> |
| 846 | <instanceof |
| 847 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent"> |
| 848 | </instanceof> |
| 849 | </iterate> |
| 850 | <count |
| 851 | value="1"> |
| 852 | </count> |
| 853 | </and> |
| 854 | </with> |
| 855 | </activeWhen> |
| 856 | </handler> |
| 857 | <handler |
| 858 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CreateChannelOnSessionHandler" |
| 859 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.createChannelOnSession"> |
| 860 | <activeWhen> |
| 861 | <with |
| 862 | variable="selection"> |
| 863 | <iterate |
| 864 | operator="or"> |
| 865 | <instanceof |
| 866 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent"> |
| 867 | </instanceof> |
| 868 | </iterate> |
| 869 | </with> |
| 870 | </activeWhen> |
| 871 | </handler> |
| 872 | <handler |
| 873 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CreateChannelOnDomainHandler" |
| 874 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.createChannelOnDomain"> |
| 875 | <activeWhen> |
| 876 | <with |
| 877 | variable="selection"> |
| 878 | <iterate |
| 879 | operator="or"> |
| 880 | <instanceof |
| 881 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceDomainComponent"> |
| 882 | </instanceof> |
| 883 | </iterate> |
| 884 | </with> |
| 885 | </activeWhen> |
| 886 | </handler> |
| 887 | <handler |
| 888 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.EnableChannelHandler" |
| 889 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableChannel"> |
| 890 | <activeWhen> |
| 891 | <with |
| 892 | variable="selection"> |
| 893 | <iterate |
| 894 | operator="or"> |
| 895 | <instanceof |
| 896 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceChannelComponent"> |
| 897 | </instanceof> |
| 898 | </iterate> |
| 899 | </with> |
| 900 | </activeWhen> |
| 901 | </handler> |
| 902 | <handler |
| 903 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.DisableChannelHandler" |
| 904 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.disableChannel"> |
| 905 | <activeWhen> |
| 906 | <with |
| 907 | variable="selection"> |
| 908 | <iterate |
| 909 | operator="or"> |
| 910 | <instanceof |
| 911 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceChannelComponent"> |
| 912 | </instanceof> |
| 913 | </iterate> |
| 914 | </with> |
| 915 | </activeWhen> |
| 916 | </handler> |
| 917 | |
| 918 | <handler |
| 919 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.StartHandler" |
| 920 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.start"> |
| 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.TraceSessionComponent"> |
| 928 | </instanceof> |
| 929 | </iterate> |
| 930 | </with> |
| 931 | </activeWhen> |
| 932 | </handler> |
| 933 | |
| 934 | <handler |
| 935 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.StopHandler" |
| 936 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.stop"> |
| 937 | <activeWhen> |
| 938 | <with |
| 939 | variable="selection"> |
| 940 | <iterate |
| 941 | operator="or"> |
| 942 | <instanceof |
| 943 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent"> |
| 944 | </instanceof> |
| 945 | </iterate> |
| 946 | </with> |
| 947 | </activeWhen> |
| 948 | </handler> |
| 949 | |
| 950 | <handler |
| 951 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.AssignEventHandler" |
| 952 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.assign.event"> |
| 953 | <activeWhen> |
| 954 | <with |
| 955 | variable="selection"> |
| 956 | <iterate |
| 957 | operator="or"> |
| 958 | <instanceof |
| 959 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.BaseEventComponent"> |
| 960 | </instanceof> |
| 961 | </iterate> |
| 962 | </with> |
| 963 | </activeWhen> |
| 964 | </handler> |
| 965 | |
| 966 | <handler |
| 967 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.EnableEventHandler" |
| 968 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableEvent"> |
| 969 | <activeWhen> |
| 970 | <with |
| 971 | variable="selection"> |
| 972 | <iterate |
| 973 | operator="or"> |
| 974 | <instanceof |
| 975 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceEventComponent"> |
| 976 | </instanceof> |
| 977 | </iterate> |
| 978 | </with> |
| 979 | </activeWhen> |
| 980 | </handler> |
| 981 | |
| 982 | <handler |
| 983 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.DisableEventHandler" |
| 984 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.disableEvent"> |
| 985 | <activeWhen> |
| 986 | <with |
| 987 | variable="selection"> |
| 988 | <iterate |
| 989 | operator="or"> |
| 990 | <instanceof |
| 991 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceEventComponent"> |
| 992 | </instanceof> |
| 993 | </iterate> |
| 994 | </with> |
| 995 | </activeWhen> |
| 996 | </handler> |
| 997 | |
| 998 | <handler |
| 999 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.EnableEventOnChannelHandler" |
| 1000 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableEventOnChannel"> |
| 1001 | <activeWhen> |
| 1002 | <with |
| 1003 | variable="selection"> |
| 1004 | <iterate |
| 1005 | operator="or"> |
| 1006 | <instanceof |
| 1007 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceChannelComponent"> |
| 1008 | </instanceof> |
| 1009 | </iterate> |
| 1010 | </with> |
| 1011 | </activeWhen> |
| 1012 | </handler> |
| 1013 | |
| 1014 | <handler |
| 1015 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.EnableEventOnDomainHandler" |
| 1016 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableEventOnDomain"> |
| 1017 | <activeWhen> |
| 1018 | <with |
| 1019 | variable="selection"> |
| 1020 | <iterate |
| 1021 | operator="or"> |
| 1022 | <instanceof |
| 1023 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceDomainComponent"> |
| 1024 | </instanceof> |
| 1025 | </iterate> |
| 1026 | </with> |
| 1027 | </activeWhen> |
| 1028 | </handler> |
| 1029 | <handler |
| 1030 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.EnableEventOnSessionHandler" |
| 1031 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableEventOnSession"> |
| 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.TraceSessionComponent"> |
| 1039 | </instanceof> |
| 1040 | </iterate> |
| 1041 | </with> |
| 1042 | </activeWhen> |
| 1043 | </handler> |
| 1044 | |
| 1045 | <handler |
| 1046 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.AddContextOnDomainHandler" |
| 1047 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.addContextOnDomain"> |
| 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 | |
| 1061 | <handler |
| 1062 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.AddContextOnChannelHandler" |
| 1063 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.addContextOnChannel"> |
| 1064 | <activeWhen> |
| 1065 | <with |
| 1066 | variable="selection"> |
| 1067 | <iterate |
| 1068 | operator="or"> |
| 1069 | <instanceof |
| 1070 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceChannelComponent"> |
| 1071 | </instanceof> |
| 1072 | </iterate> |
| 1073 | </with> |
| 1074 | </activeWhen> |
| 1075 | </handler> |
| 1076 | |
| 1077 | <handler |
| 1078 | class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.AddContextOnEventHandler" |
| 1079 | commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.addContextOnEvent"> |
| 1080 | <activeWhen> |
| 1081 | <with |
| 1082 | variable="selection"> |
| 1083 | <iterate |
| 1084 | operator="or"> |
| 1085 | <instanceof |
| 1086 | value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceEventComponent"> |
| 1087 | </instanceof> |
| 1088 | </iterate> |
| 1089 | </with> |
| 1090 | </activeWhen> |
| 1091 | </handler> |
| 1092 | |
| 1093 | </extension> |
| 1094 | |
| 1095 | <extension |
| 1096 | point="org.eclipse.rse.core.systemTypes"> |
| 1097 | <systemType |
| 1098 | description="%trace.control.rse.system.type.description" |
| 1099 | icon="icons/obj16/systemlttng2.gif" |
| 1100 | iconLive="icons/obj16/systemlttng2-live.gif" |
| 1101 | id="org.eclipse.linuxtools.internal.lttng2.ui.control.systemType" |
| 1102 | label="%trace.control.rse.system.type.name" |
| 1103 | name="org.eclipse.linuxtools.internal.lttng2.ui.control.systemType" |
| 1104 | subsystemConfigurationIds="ssh.shells;ssh.files;ssh.terminals;processes.shell.linux"> |
| 1105 | </systemType> |
| 1106 | </extension> |
| 1107 | |
| 1108 | |
| 1109 | </plugin> |