3x e4 Bridge, View, and getting the Shell [message #1029536] |
Fri, 29 March 2013 20:52 |
Eclipse User |
|
|
|
Incrementally trying to migrate 3.x RCP views over to e4 by
incorporating the 3x e4bridge in new plugin development.
One of the 3.x views dynamically builds a popup menu on the selected
items in a TreeView with new MenuManager("#PopupMenu"), using the
IWorkbenchPartSite to register selection providers and context menu. It
also uses the Active Shell when calling dialogs.
I have tried various ways to inject the ActiveShell, like:
@Inject @Named(IServiceConstants.ACTIVE_SHELL)
private Shell shell;
or
@Inject
private IShellProvider shellProvider;
but these do not work for me.
What is the proper way to do this? Any suggestions?
thanks,
John
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03405 seconds