[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
] [
Newsgroup Home
]
[news.eclipse.platform.rcp] IMenuService
From
:
pollet.kevin@xxxxxxxxx
(Kevin Pollet)
Date
: Wed, 24 Jun 2009 09:48:33 +0000 (UTC)
Newsgroups
:
eclipse.platform.rcp
Organization
: Eclipse
User-agent
: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
Hi,
I am developping an Eclipse RCP application who use Eclipse forms. I have populated the form toolbar with IMenuService like this :
ToolBarManager manager = (ToolBarManager)this.picture_form.getToolBarManager();
IMenuService service = (IMenuService)this.getEditorSite().getService(IMenuService.class );
service.populateContributionManager(tool_manager,"toolbar:picture.form.toolbar");
In the editor dispose method :
IMenuService service = (IMenuService)this.getEditorSite().getService(MenuService.class );
service.releaseContributions((ToolBarManager)this.picture_form.getToolBarManager() );
But when I close my editor a java.lang.IllegalArgumentException: Argument not valid is thrown why ?
Best regards, Kevin
Follow-Ups
:
[news.eclipse.platform.rcp] Re: IMenuService
From:
Paul Webster
Prev by Date:
[news.eclipse.platform.rcp] Re: Find view in a different perspective
Next by Date:
[news.eclipse.platform.rcp] [Job API] Have a process view in a RCP application.
Previous by thread:
[news.eclipse.platform.rcp] Launch application context
Next by thread:
[news.eclipse.platform.rcp] Re: IMenuService
Index(es):
Date
Thread