How to get a Workspace's working sets information in a plugin?
问题 I want to get the runtime working sets information of the current workspace. I have tried the method: IWorkingSet[] getWorkingSets() of the IWorkbenchPage IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(); if (page != null) { IWorkingSet[] sets = page.getWorkingSets();} but when I debug the code, the method returns nothing. I am wondering am I use the right method to get a workspace's working sets information? If not, how to get the data? 回答1: The