Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » problem in using the retargatable action
problem in using the retargatable action [message #210648] Thu, 02 March 2006 16:17
Rohit Khariwal is currently offline Rohit KhariwalFriend
Messages: 114
Registered: July 2009
Senior Member
I have added one action in the menu bar from the fillActionBar() method of the ApplicationActionBarAdvisor.
my code:-
action=new RetargetAction("Action1","Action1");

MenuManager fileMenu = new MenuManager("&File",

and in the view i am trying to bind it with action using globalActionHandler but it is not working. menubar always shows the action disabled.
getViewSite().getActionBars().setGlobalActionHandler("Action1 ",new createAction(PlatformUI.getWorkbench().getActiveWorkbenchWin dow()));
Previous Topic:Image not visible on label
Next Topic:Draw2d relative coordinates: move view does not move model?
Goto Forum:

Current Time: Thu Dec 08 15:40:54 GMT 2022

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

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

Back to the top