Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Positioning of buttons using locationURI for the ConsoleView(How to find out what is currently contributed to the toolbar?)
Positioning of buttons using locationURI for the ConsoleView [message #794762] Thu, 09 February 2012 17:17 Go to next message
Juan Felipe Caro Galvis is currently offline Juan Felipe Caro GalvisFriend
Messages: 4
Registered: February 2012
Junior Member

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:
wont work. The button is no longer shown.

My extension looks like this:

<extension point="org.eclipse.ui.menus">
               label="Add filter"
               tooltip="Add a console filter">

Thank you very much!
Juan Felipe Caro

[Updated on: Thu, 09 February 2012 17:20]

Report message to a moderator

Re: Positioning of buttons using locationURI for the ConsoleView [message #808448 is a reply to message #794762] Mon, 27 February 2012 19:57 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Try and use Plugin menu/toolbar spy to find out the IDs of some of the buttons. Use ALT+SHIFT+F2 and then click on a button.


Previous Topic:Re: Use &quot;Save and Launch&quot; Dialog for my own Plugin
Next Topic:Filter/remove extensions contributed by other plugins?
Goto Forum:

Current Time: Sat Apr 21 07:55:08 GMT 2018

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

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