Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » New Console Button
New Console Button [message #1647035] Tue, 03 March 2015 03:12 Go to next message
Eclipse UserFriend
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.
Re: New Console Button [message #1716250 is a reply to message #1647035] Wed, 02 December 2015 08:42 Go to previous message
Eclipse UserFriend
I have the same problem
Previous Topic:Shortcut to external tools?
Next Topic:Binding to function doesn't appear to execute function
Goto Forum:
  


Current Time: Thu Mar 27 00:13:30 EDT 2025

Powered by FUDForum. Page generated in 0.05052 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top