Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » New Console Button
New Console Button [message #1647035] Tue, 03 March 2015 08:12 Go to next message
Jan Vodi269ka is currently offline Jan Vodi269kaFriend
Messages: 2
Registered: March 2015
Junior Member
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 13:42 Go to previous message
Ashfaqur Rahman is currently offline Ashfaqur RahmanFriend
Messages: 4
Registered: May 2014
Junior Member
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: Tue Mar 19 11:01:40 GMT 2024

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

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

Back to the top