Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » contribute toolbar to a view
contribute toolbar to a view [message #468404] Wed, 05 August 2009 12:44 Go to next message
Alexander Filitz is currently offline Alexander FilitzFriend
Messages: 2
Registered: July 2009
Junior Member
hello everybody

i've got again a problem with my extensions hehe. i want to contribute a
toolbar to a view with the extension point org.eclipse.ui.menus but its
not working. i promise that i ve been using the correct locationURI:
toolbar:view_id
!!! the funny thing is that when im using menu:view_id instead of
toolbar:view_id my view's menu is working fine ????
and my org.eclipse.ui.main.toolbar is working fine as well. so anybody got
an idea what could be wrong in my definitions?

greez
Alex
Re: contribute toolbar to a view [message #468415 is a reply to message #468404] Wed, 05 August 2009 13:07 Go to previous messageGo to next message
Aleksandar Pavlov is currently offline Aleksandar PavlovFriend
Messages: 79
Registered: July 2009
Member
I can say that I had to code it in Java in the MyView class itself.
see http://www.eclipse.org/articles/viewArticle/ViewArticle2.htm l
Greetings
Aleks

Alexander Filitz wrote:
> hello everybody
>
> i've got again a problem with my extensions hehe. i want to contribute a
> toolbar to a view with the extension point org.eclipse.ui.menus but its
> not working. i promise that i ve been using the correct locationURI:
> toolbar:view_id
> !!! the funny thing is that when im using menu:view_id instead of
> toolbar:view_id my view's menu is working fine ????
> and my org.eclipse.ui.main.toolbar is working fine as well. so anybody
> got an idea what could be wrong in my definitions?
>
> greez
> Alex
>
Re: contribute toolbar to a view [message #472457 is a reply to message #468404] Wed, 05 August 2009 19:39 Go to previous message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

This is a common problem. Toolbar reacts a bit different then menu (is
requires also a " declaration of a toolbar. See here for an example:
http://www.vogella.de/articles/EclipseCommands/article.html# toolbar

Alexander Filitz wrote:
> hello everybody
>
> i've got again a problem with my extensions hehe. i want to contribute a
> toolbar to a view with the extension point org.eclipse.ui.menus but its
> not working. i promise that i ve been using the correct locationURI:
> toolbar:view_id
> !!! the funny thing is that when im using menu:view_id instead of
> toolbar:view_id my view's menu is working fine ????
> and my org.eclipse.ui.main.toolbar is working fine as well. so anybody
> got an idea what could be wrong in my definitions?
>
> greez
> Alex
>




--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
Previous Topic:Show List (or Collection) in a PropertiesView
Next Topic:How to setHelp for a TrayDialog?
Goto Forum:
  


Current Time: Thu Apr 25 15:34:17 GMT 2024

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

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

Back to the top