Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to register global action outside of ActionBarAdvisor ?
How to register global action outside of ActionBarAdvisor ? [message #435820] Wed, 24 August 2005 14:29 Go to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
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 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:How can I use ANT outside Eclipse to make a deployable RCP app?
Next Topic:rcp with hibernate
Goto Forum:
  


Current Time: Thu Dec 26 20:12:26 GMT 2024

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

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

Back to the top