Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Add/Remove buttons at a views toolbar
Add/Remove buttons at a views toolbar [message #584655] Tue, 11 November 2008 08:29
Matthias Kohles is currently offline Matthias KohlesFriend
Messages: 71
Registered: July 2009
Member
Hey,

i have created a view in my plugin which contains a tableviewer and a
treeviewer. The user can choose which viewer he prefers.

Now i have added some actions to the toolbar with the IMenuManager
manager.add(action) method. The problem is now that i have different
actions for each viewer, so i want that the actions for the treeviewer
does not display when the tableviewer is active.

So i tried to remove these actions by manager.remove(action.getID()). But
it didn't work. It happened nothing, no error, no exception. So i debugged
it and he executes this commands but with no effect.

Is there another way to remove these actions?

regards

Matthias
Previous Topic:Add/Remove buttons at a views toolbar
Next Topic:Problem exporting as Deployable Feature
Goto Forum:
  


Current Time: Wed Jul 28 21:09:54 GMT 2021

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

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

Back to the top