Positioning of buttons using locationURI for the ConsoleView [message #794762] |
Thu, 09 February 2012 17:17 |
Juan Felipe Caro Galvis Messages: 4 Registered: February 2012 |
Junior Member |
|
|
Hi,
I am contributing with a command to the ConsoleView toolbar. Currently the buttons are always shown at the far right side. I would like to have control on where they are shown, and in particular I want to put them on the left side of the other buttons. I have been playing with the Query part of the locationURI without success.
Normally I should be able to position the buttons "before" or "after" a known IContributionItem. But I have no clue how to find out which items are currently contributed to the ConsoleView.
Using something like:
locationURI="toolbar:org.eclipse.ui.console.ConsoleView?before=additions"
wont work. The button is no longer shown.
My extension looks like this:
<extension point="org.eclipse.ui.menus">
<menuContribution
locationURI="toolbar:org.eclipse.ui.console.ConsoleView?after=additions">
<command
commandId="ConsoleTests.addConsole"
icon="icons/alt_window_16.gif"
label="Add filter"
style="push"
tooltip="Add a console filter">
</command>
</menuContribution>
</extension>
Thank you very much!
Juan Felipe Caro
[Updated on: Thu, 09 February 2012 17:20] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.04866 seconds