locationURI for the console view toolbar [message #553840] |
Thu, 19 August 2010 03:20  |
Eclipse User |
|
|
|
Hi,
I have an IOConsole for which I want to have a toolbar button in the
console view. I tried using the menuContribution extension point, but I
can't seem to get the locationURI right:
> <menuContribution
> locationURI="toolbar:org.eclipse.ui.console.ConsoleView?after=additions ">
> <toolbar
> id="com.iar.ide.debugger.kernel.ui.console.toolbar"
> label="...">
> <command
> ...
> </command>
> </toolbar>
>
> </menuContribution>
Can I use the commands API with the console view toolbar? The other
toolbar buttons seems to be contributed using actions (according to
Plugin Spy); does that prevent me using the commands API?
--
Jesper Eskilson
Developer
IAR Systems
|
|
|
|
|
Re: locationURI for the console view toolbar [message #553921 is a reply to message #553920] |
Thu, 19 August 2010 08:25  |
Eclipse User |
|
|
|
On 08/19/2010 02:19 PM, Jesper Eskilson wrote:
> On 08/19/2010 01:44 PM, Paul Webster wrote:
>> You would contribute your commands, not a complete toolbar, in your
>> menuContribution.
>
> Aha. Thanks, that was the problem.
BTW, how can I make the command only visible in the toolbar when my
specific console is visible?
--
Jesper Eskilson
Developer
IAR Systems
|
|
|
Powered by
FUDForum. Page generated in 0.26967 seconds