Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » contribute toolbar to a view
contribute toolbar to a view [message #468404] Wed, 05 August 2009 08:44 Go to next message
Eclipse UserFriend
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 09:07 Go to previous messageGo to next message
Eclipse UserFriend
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 15:39 Go to previous message
Eclipse UserFriend
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: Sun Jul 13 10:52:08 EDT 2025

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

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

Back to the top