Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » how to get main actionbar in CommonActionProvider
how to get main actionbar in CommonActionProvider [message #1073723] Thu, 25 July 2013 07:26
Binhua Liu is currently offline Binhua Liu
Messages: 7
Registered: June 2013
Junior Member
Hi All,

I use a custom CNF in my RCP application, in CommonActionProvider class have method

public void fillActionBars(IActionBars actionBars) {
}

But seems the actionBars is only view level, not the main actionBars, I try to use

actionBars.setGlobalActionHandler(GlobalActionId.MOVE, moveAction);

to register the global action to menu bar, but always fail.

So, my question is, how can a get main actionbar in CommonActionProvider?
Previous Topic:Override the IDEApplication?
Next Topic:Eclipse e4 CSS
Goto Forum:
  


Current Time: Tue Jul 29 04:50:39 EDT 2014

Powered by FUDForum. Page generated in 0.02052 seconds