|
Re: Strange toolbar [message #9086 is a reply to message #9066] |
Mon, 25 May 2009 14:45 |
|
Hi Rob,
I am curious to see your advisor code. Can you post it?
--
Best Regards,
Wim Jongman
http://www.remainsoftware.com
http://www.industrial-tsi.com
"Rob " <robbie.kennedy@yahoo.ie> wrote in message
news:5c9a7961ca468462b9f38f631947ebf3$1@www.eclipse.org...
> Hi,
>
> In my ApplicatioActionBarAdvisor, I have created CommandContributionItems,
> and added them as menus. This works fine. However, when I try to add any
> of these (even workbench ones like save or print) to the toolbar, they
> appear in the toolbar ok, but get removed from the menu bar!
>
> Any ideas on this? Do I need two contribution items instances for the same
> command? (one for menu bar - one for tool bar)?
>
> Any help appreciated, thanks!
>
|
|
|
|
Re: Strange toolbar [message #9125 is a reply to message #9066] |
Mon, 25 May 2009 17:53 |
|
Hi,
you could add your command declaratively, I know that this works well.
Example: http://www.vogella.de/articles/EclipseCommands/article.html
Best regards, Lars
Rob wrote:
> Hi,
>
> In my ApplicatioActionBarAdvisor, I have created
> CommandContributionItems, and added them as menus. This works fine.
> However, when I try to add any of these (even workbench ones like save
> or print) to the toolbar, they appear in the toolbar ok, but get removed
> from the menu bar!
>
> Any ideas on this? Do I need two contribution items instances for the
> same command? (one for menu bar - one for tool bar)?
>
> Any help appreciated, thanks!
>
|
|
|
Powered by
FUDForum. Page generated in 0.02598 seconds