Bug 109474 [EditorMgmt] Multiple Editors closing at once
For developers like me, I open one Window after another (in Java), but rarely close them. The counter raises to 15-20. From time to time I wanna get rid of most of the windows, but not of all, cause the last 4-5 windows, I wanna get hold of. Therefore I'm looking for an option, which allows me, to specify a bunch of windows to be closed at once, and the remaining to be left opened. The feature I have once seen in Opera looks like: Window => *Overview of Windows* => a Dialog with List of currently opened windows => select the windows to be closed => press Button => will be processed (closed), remainings are left opened.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/WorkbenchActionBuilder.java
IWorkbenchPage workbenchPage = workbenchWindow.getActivePage();
         
         if (workbenchPage != null) {					
         IWorkbenchPageCommandSupport workbenchPageCommandSupport = (IWorkbenchPageCommandSupport) workbenchPage.getCommandSupport();
         workbenchPageCommandSupport.getCompoundCommandHandlerService().removeCommandHandlerService(commandHandlerServiceB);
         }
         }
         }
         });
         */
        return menu;
    }
    /**
	 * Adds a <code>GroupMarker</code> or <code>Separator</code> to a menu.
	 * The test for whether a separator should be added is done by checking for
	 * the existence of a preference matching the string
	 * useSeparator.MENUID.GROUPID that is set to <code>true</code>.
	 * 
	 * @param menu
	 *            the menu to add to
	 * @param groupId
	 *            the group id for the added separator or group marker
	 */
	private void addSeparatorOrGroupMarker(MenuManager menu, String groupId) {
		String prefId = "useSeparator." + menu.getId() + "." + groupId; 
		boolean addExtraSeparators = IDEWorkbenchPlugin.getDefault()
				.getPreferenceStore().getBoolean(prefId);
		if (addExtraSeparators) {
			menu.add(new Separator(groupId));
		} else {