Skip to main content

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 11:26
Binhua Liu is currently offline Binhua LiuFriend
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: Mon Nov 29 16:02:04 GMT 2021

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

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

Back to the top