Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » e4(compatibility layer) access WorkbenchWindow#.getMenuManager()
e4(compatibility layer) access WorkbenchWindow#.getMenuManager() [message #1219733] Thu, 05 December 2013 15:21
Jack Kilian is currently offline Jack KilianFriend
Messages: 36
Registered: March 2012
Member
Hi,

I migrate a small plugin from e3 to e4(compatibility layer).
As I can read at http://www.vogella.com/articles/Eclipse4MigrationGuide/article.html it is not allowed to use org.eclipse.*.internal.* API calls.

How ist the way to access e.g. the MenuManager with getMenuManager() in a Plugin running in e4(compatibility layer) not using the org.eclipse.*.internal. API calls.

Example:

 ((WorkbenchWindow) PlatformUI.getWorkbench().getActiveWorkbenchWindow()).getMenuManager().getItems();


best regards
jk
Previous Topic:start a product/feature programmatically
Next Topic:Overview ruler and table viewer
Goto Forum:
  


Current Time: Fri Dec 19 08:01:23 GMT 2014

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

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