id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.createSession"
name="%commands.control.create.session">
</command>
+ <command
+ categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category"
+ description="%commands.control.execute.command.script.description"
+ id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.executeScript"
+ name="%commands.control.execute.command.script">
+ </command>
<command
categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category"
description="%commands.control.destroy.session.description"
</with>
</visibleWhen>
</command>
+ <command
+ commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.executeScript"
+ icon="icons/elcl16/add_button.gif"
+ label="%commands.control.execute.command.script"
+ style="push">
+ <visibleWhen
+ checkEnabled="false">
+ <with
+ variable="activeMenuSelection">
+ <iterate
+ operator="or">
+ <instanceof
+ value="org.eclipse.linuxtools.internal.lttng2.control.ui.views.model.impl.TraceSessionGroup">
+ </instanceof>
+ </iterate>
+ </with>
+ </visibleWhen>
+ </command>
<command
commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.start"
icon="icons/elcl16/start_trace.gif"
</with>
</activeWhen>
</handler>
+ <handler
+ class="org.eclipse.linuxtools.internal.lttng2.control.ui.views.handlers.ExecuteCommandScriptHandler"
+ commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.executeScript">
+ <activeWhen>
+ <with
+ variable="selection">
+ <iterate
+ operator="or">
+ <instanceof
+ value="org.eclipse.linuxtools.internal.lttng2.control.ui.views.model.impl.TraceSessionGroup">
+ </instanceof>
+ </iterate>
+ </with>
+ </activeWhen>
+ </handler>
<handler
class="org.eclipse.linuxtools.internal.lttng2.control.ui.views.handlers.DestroySessionHandler"
commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.destroySession">