Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Remove action from ToolBarManager
Remove action from ToolBarManager [message #585737] Tue, 25 November 2008 07:39
Matthias Kohles is currently offline Matthias KohlesFriend
Messages: 71
Registered: July 2009
Hey there,

i have a little problem with the removal of an action from the toolbar of
my view in a eclipse plugin.

First of all i get the toolbar manager by calling this:

IActionBars bars = getViewSite().getActionBars();
       	IToolBarManager manager = bars.getToolBarManager();

the i create some actions and adds them to the toolbar (this works fine):

ActionContributionItem aci = new 
       	ActionContributionItem aci2 = new 


but when i try to remove these actions....nothing happens. There's no
error message or exception thrown.

i tried to remove them with this:


Can anyone tell me what i'm doing wrong here?


Previous Topic:How to create singleton from extention
Next Topic:Remove action from ToolBarManager
Goto Forum:

Current Time: Wed Jul 28 21:39:44 GMT 2021

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

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

Back to the top