How to register global action outside of ActionBarAdvisor ? [message #435820] |
Wed, 24 August 2005 14:29 |
|
Hi,
So far the only way I can find to register global action is from
ActionBarAdvisor using
getActionBarConfigurer().registerGlobalAction(action), but for me it is
impossible to do this, because the action that I want to register is
created in IWorkbenchWindowPulldownDelegate2's getMenu() method (pulldown
menus) thus I do not have access to IActionBarConfigurer.
Is there any way to register outside the ActionBarAdvisor ?
Thanks in advanced.
Setya
|
|
|
Re: How to register global action outside of ActionBarAdvisor ? [message #435857 is a reply to message #435820] |
Thu, 25 August 2005 10:49 |
Eclipse User |
|
|
|
Originally posted by: kent.generatescape.com
I am not sure if this helps, but can you get the ViewSite, ie::
getViewSite().getActionBars();
"Setya" <jsetya@yahoo.com> wrote in message
news:57a4348eb02599065037604515a6f6a5$1@www.eclipse.org...
> Hi,
>
> So far the only way I can find to register global action is from
> ActionBarAdvisor using
> getActionBarConfigurer().registerGlobalAction(action), but for me it is
> impossible to do this, because the action that I want to register is
> created in IWorkbenchWindowPulldownDelegate2's getMenu() method (pulldown
> menus) thus I do not have access to IActionBarConfigurer.
>
> Is there any way to register outside the ActionBarAdvisor ?
>
> Thanks in advanced.
>
>
> Setya
>
|
|
|
Powered by
FUDForum. Page generated in 0.03119 seconds