1

I am wondering to know if there is any way of access to Actions, ActionBar o ActionBarAdvisor, once they are created and registered.

Thanks Joseph

Joseph
  • 806
  • 5
  • 17
  • 34
  • Are you developping a new project ? If so, the use of `Actions` is discouraged and you should use `Commands`. You should read [this](http://stackoverflow.com/questions/552435/eclipse-rcp-actions-vs-commands) – l1sq0u48 Nov 29 '12 at 10:28
  • Yes. I am developing my first rcp application. I searched out your mentioned thread. In my current implementation, I use actions to add some menus. – Joseph Nov 29 '12 at 12:55
  • You can do that using `Commands` too :) Look these pages : [1](http://www.vogella.com/articles/EclipseCommands/article.html) [2](http://wiki.eclipse.org/Platform_Command_Framework) – l1sq0u48 Nov 29 '12 at 13:49

1 Answers1

0

In your rcp app class that extends ActionBarAdvisor you can create a static reference to what you need to in the the method protected void fillCoolBar(ICoolBarManager coolBar) {

Duncan Krebs
  • 3,366
  • 2
  • 33
  • 53