New Console Button [message #1647035] |
Tue, 03 March 2015 03:12  |
Eclipse User |
|
|
|
Hi,
I have an issue with adding a new button to console (URI=toolbar:org.eclipse.ui.console.ConsoleView)... I can add the button via menu contribution, but the button is always on the rightmost place.
<extension point="org.eclipse.ui.menus">
<menuContribution
allPopups="false"
locationURI="toolbar:org.eclipse.ui.console.ConsoleView">
<command
commandId="com.zf.terminationhook.terminateCommand"
icon="icons/cancel.png"
label="Terminate"
style="push">
</command>
</menuContribution>
</extension>
<extension point="org.eclipse.ui.commands">
<command
defaultHandler="com.zf.terminationhook.TerminateCommandHandler"
id="com.zf.terminationhook.terminateCommand"
name="Tree termination">
</command>
</extension>
I need the button near the Terminate button.
Could you help me?
Thank you.
|
|
|
|
Powered by
FUDForum. Page generated in 0.05052 seconds