Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » how can to call setGlobalActionHandler of WWinActionBars (how can to call setGlobalActionHandler of WWinActionBars)
how can to call setGlobalActionHandler of WWinActionBars [message #1074378] Fri, 26 July 2013 15:57
Binhua Liu is currently offline Binhua LiuFriend
Messages: 7
Registered: June 2013
Junior Member
Hi All,

In my RCP application, I use following code to get the global actionbars in CommonActionProvider:

WWinActionBars actionbars = new WWinActionBars((WorkbenchWindow) PlatformUI.getWorkbench().getActiveWorkbenchWindow());

then I try to call:

actionbars.setGlobalActionHandler(GlobalActionId.MOVE, moveAction);

but then I find the setGlobalActionHandler method of WWinActionBars class is empty, it is useless.

Is there anyway I can actually set global action handler?

Thank you very much.
Previous Topic:Use openGL in e4 RCP
Next Topic:Modifying the main menu and app title on OSX
Goto Forum:
  


Current Time: Mon Nov 24 03:12:15 GMT 2014

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

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