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: 37
Registered: March 2012

I migrate a small plugin from e3 to e4(compatibility layer).
As I can read at 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.


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

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

Current Time: Sat Oct 10 11:07:42 GMT 2015

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

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