Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home »  » 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: 3
Registered: May 2014
Junior Member
I have the same problem
Previous Topic:[Solved] Workspace provisionning problem
Next Topic:ILaunchListener / ILaunchesListener2 are not notified on Termination of the launch
Goto Forum:
  


Current Time: Sun Dec 17 04:36:23 GMT 2017

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

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