Skip to content

Instantly share code, notes, and snippets.

@GarstgerUnhold
Created April 30, 2010 12:40
Show Gist options
  • Save GarstgerUnhold/385134 to your computer and use it in GitHub Desktop.
Save GarstgerUnhold/385134 to your computer and use it in GitHub Desktop.
<menuContribution
locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
<toolbar
id="de.hpi3d.tracing.ui.toggleTracingToolbar">
<dynamic
class="de.hpi3d.tracing.ui.handlers.DynamicToggleButton"
id="de.hpi3d.tracing.ui.dynamicToggleButton">
<visibleWhen
checkEnabled="false">
<with
variable="activeWorkbenchWindow.activePerspective">
<equals
value="org.eclipse.debug.ui.DebugPerspective">
</equals>
</with>
</visibleWhen>
</dynamic>
<command
commandId="de.hpi3d.tracing.ui.traceOverCommand"
icon="icons/traceOver.png"
id="de.hpi3d.tracing.ui.traceOver"
label="Trace Over"
style="push">
<visibleWhen
checkEnabled="false">
<with
variable="activeWorkbenchWindow.activePerspective">
<equals
value="org.eclipse.debug.ui.DebugPerspective">
</equals>
</with>
</visibleWhen>
</command>
<command
commandId="de.hpi3d.tracing.ui.startRevealerCommand"
icon="icons/devEdition.png"
id="de.hpi3d.tracing.ui.startRevealer"
label="Start Visualization"
style="push">
<visibleWhen
checkEnabled="false">
<with
variable="activeWorkbenchWindow.activePerspective">
<equals
value="org.eclipse.debug.ui.DebugPerspective">
</equals>
</with>
</visibleWhen>
</command>
<command
commandId="de.hpi3d.tracing.ui.toggleParamProbeCommand"
id="de.hpi3d.tracing.ui.toggleProbes"
label="log Parameters"
style="toggle">
<visibleWhen
checkEnabled="false">
<with
variable="activeWorkbenchWindow.activePerspective">
<equals
value="org.eclipse.debug.ui.DebugPerspective">
</equals>
</with>
</visibleWhen>
</command>
<control
class="de.hpi3d.tracing.ui.handlers.PollutingFunctionToolbar">
<visibleWhen
checkEnabled="false">
<with
variable="activeWorkbenchWindow.activePerspective">
<equals
value="org.eclipse.debug.ui.DebugPerspective">
</equals>
</with>
</visibleWhen>
</control>
</toolbar>
</menuContribution>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment