id="org.eclipse.linuxtools.lttng.ui.commands.control.disconnect"
name="%commands.control.disconnect">
</command>
+ <command
+ categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category"
+ description="%commands.control.refresh.description"
+ id="org.eclipse.linuxtools.lttng.ui.commands.control.refresh"
+ name="%commands.control.refresh">
+ </command>
<command
categoryId="org.eclipse.linuxtools.lttng.ui.commands.control.category"
description="%commands.control.delete.description"
label="%commands.control.disconnect"
style="push">
</command>
+ <command
+ commandId="org.eclipse.linuxtools.lttng.ui.commands.control.refresh"
+ icon="icons/elcl16/refresh.gif"
+ label="%commands.control.refresh"
+ style="push">
+ </command>
<command
commandId="org.eclipse.linuxtools.lttng.ui.commands.control.delete"
icon="icons/elcl16/target_delete.gif"
</with>
</visibleWhen>
</command>
+ <command
+ commandId="org.eclipse.linuxtools.lttng.ui.commands.control.refresh"
+ icon="icons/elcl16/refresh.gif"
+ label="%commands.control.refresh"
+ style="push">
+ <visibleWhen
+ checkEnabled="false">
+ <with
+ variable="activeMenuSelection">
+ <iterate
+ operator="or">
+ <instanceof
+ value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceControlComponent">
+ </instanceof>
+ </iterate>
+ </with>
+ </visibleWhen>
+ </command>
<command
commandId="org.eclipse.linuxtools.lttng.ui.commands.control.delete"
icon="icons/elcl16/target_delete.gif"
</with>
</activeWhen>
</handler>
+ <handler
+ class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.RefreshHandler"
+ commandId="org.eclipse.linuxtools.lttng.ui.commands.control.refresh">
+ <activeWhen>
+ <with
+ variable="selection">
+ <iterate
+ operator="or">
+ <instanceof
+ value="org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceControlComponent">
+ </instanceof>
+ </iterate>
+ </with>
+ </activeWhen>
+ </handler>
<handler
class="org.eclipse.linuxtools.lttng.ui.views.control.handlers.DeleteHandler"
commandId="org.eclipse.linuxtools.lttng.ui.commands.control.delete">