</command>
<command
categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category"
- description="%commands.control.enable.assign.description"
+ description="%commands.control.assign.event.description"
id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.assign.event"
- name="%commands.control.enable.event">
+ name="%commands.control.assign.event">
</command>
<command
categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category"
</command>
<command
categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category"
- description="%commands.control.enable.event.description"
+ description="%commands.control.enable.eventOnChannel.description"
id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableEventOnChannel"
- name="%commands.control.enable.event">
+ name="%commands.control.enable.eventOnChannel">
</command>
<command
categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category"
name="%commands.control.import">
</command>
+ <command
+ categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category"
+ description="%commands.control.calibrate.description"
+ id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.calibrate"
+ name="%commands.control.calibrate">
+ </command>
</extension>
<extension
</command>
<command
commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableChannel"
- icon="icons/elcl16/edit.gif"
+ icon="icons/elcl16/enable.gif"
label="%commands.control.enable.channel"
style="push">
<visibleWhen
</command>
<command
commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.disableChannel"
- icon="icons/elcl16/edit.gif"
+ icon="icons/elcl16/disable.gif"
label="%commands.control.disable.channel"
style="push">
<visibleWhen
<command
commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.assign.event"
- icon="icons/elcl16/edit.gif"
- label="%commands.control.enable.event"
+ icon="icons/elcl16/enable.gif"
+ label="%commands.control.assign.event"
style="push">
<visibleWhen
checkEnabled="false">
<command
commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableEvent"
- icon="icons/elcl16/edit.gif"
+ icon="icons/elcl16/enable.gif"
label="%commands.control.enable.event"
style="push">
<visibleWhen
<command
commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.disableEvent"
- icon="icons/elcl16/edit.gif"
+ icon="icons/elcl16/disable.gif"
label="%commands.control.disable.event"
style="push">
<visibleWhen
<command
commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.enableEventOnChannel"
icon="icons/elcl16/edit.gif"
- label="%commands.control.enable.event"
+ label="%commands.control.enable.eventOnChannel"
style="push">
<visibleWhen
checkEnabled="false">
</command>
<command
commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.addContextOnDomain"
- icon="icons/elcl16/edit.gif"
+ icon="icons/elcl16/add-context.gif"
label="%commands.control.add.context"
style="push">
<visibleWhen
</command>
<command
commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.addContextOnChannel"
- icon="icons/elcl16/edit.gif"
+ icon="icons/elcl16/add-context.gif"
label="%commands.control.add.context"
style="push">
<visibleWhen
</command>
<command
commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.addContextOnEvent"
- icon="icons/elcl16/edit.gif"
+ icon="icons/elcl16/add-context.gif"
label="%commands.control.add.context"
style="push">
<visibleWhen
</with>
</visibleWhen>
</command>
+
+ <command
+ commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.calibrate"
+ icon="icons/elcl16/calibrate.gif"
+ label="%commands.control.calibrate"
+ style="push">
+ <visibleWhen
+ checkEnabled="false">
+ <with
+ variable="activeMenuSelection">
+ <and>
+ <iterate
+ operator="or">
+ <instanceof
+ value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceDomainComponent">
+ </instanceof>
+ </iterate>
+ <count
+ value="1">
+ </count>
+ </and>
+ </with>
+ </visibleWhen>
+ </command>
+
</menuContribution>
</extension>
</activeWhen>
</handler>
+ <handler
+ class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CalibrateHandler"
+ commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.calibrate">
+ <activeWhen>
+ <with
+ variable="selection">
+ <iterate
+ operator="or">
+ <instanceof
+ value="org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceDomainComponent">
+ </instanceof>
+ </iterate>
+ </with>
+ </activeWhen>
+ </handler>
+
<handler
class="org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.AddContextOnChannelHandler"
commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.addContextOnChannel">