|3x e4 Bridge, View, and getting the Shell [message #1029536]
||Fri, 29 March 2013 20:52
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:
private Shell shell;
private IShellProvider shellProvider;
but these do not work for me.
What is the proper way to do this? Any suggestions?
Powered by FUDForum
. Page generated in 0.20381 seconds