capint
7/11/2016 - 7:40 AM

Eclipse >> Workbench >> Get active workbench page

Eclipse >> Workbench >> Get active workbench page

IWorkbench wb = PlatformUI.getWorkbench();
IWorkbenchWindow win = wb.getActiveWorkbenchWindow();
IWorkbenchPage page = win.getActivePage();