Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » adding action to toolbar in formpage
adding action to toolbar in formpage [message #490316] Thu, 08 October 2009 07:05 Go to next message
Eclipse UserFriend
I want to add a button to the toolbar in my page that derives from FormPage. I use the code:

Action action = some action...
action.setImageDescriptor(som descriptor...);
toolBarManager.add(action);


When I run the editor I don't see nothing in the place were the button should be. If I'm hovering it with the mouse it changes to a hand icon. But if i click the action doesn't run.
Should I use some MenuManager or something like that?
Re: adding action to toolbar in formpage [message #982271 is a reply to message #490316] Mon, 12 November 2012 21:50 Go to previous message
Eclipse UserFriend
After you add actions, call:

toolBarManager.update(true);
Previous Topic:Quick fixes list in tooltip
Next Topic:QuickFix Component in Eclipse
Goto Forum:
  


Current Time: Wed Jul 23 13:37:55 EDT 2025

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

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

Back to the top