Bug 321116 [Compatibility] Secondary workbench windows are not restored with the menu bar or the tool bar
I20100727-1520 1. Window > New Window 2. File > Exit 3. Start Eclipse up again. 4. Notice that one of the workbench windows doesn't have a menu bar or a tool bar.
bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/PartRenderingEngine.java
}
		});
		return IApplication.EXIT_OK;
	}
	protected boolean someAreVisible(List<MWindow> windows) {
		for (MWindow win : windows) {
			if (win.isToBeRendered() && win.isVisible()
					&& win.getWidget() != null) {
				return true;
			}
		}
		return false;
	}
	public void stop() {
		
		cleanUp();
		if (theApp != null) {
			for (MWindow window : theApp.getChildren()) {
				if (window.getWidget() != null) {
					((Shell) window.getWidget()).close();
				}
			}
		} else if (testShell != null && !testShell.isDisposed()) {
			testShell.close();
		}
	}
	/*
	 * There are situations where this is called more than once until we know
	 * why this is needed we should make this safe for multiple calls
	 */