Bug 304074 View toolbars don't go away when the view is closed
1. Run the compatibility layer. 2. Close the 'Package Explorer' view. 3. Its toolbar is still there.
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/StackRenderer.java
ctf.addSelectionListener(new SelectionListener() {
			public void widgetDefaultSelected(SelectionEvent e) {
			}
			public void widgetSelected(SelectionEvent e) {
				
				if (ignoreTabSelChanges)
					return;
				MPart newPart = (MPart) e.item.getData(OWNING_ME);
				if (stack.getSelectedElement() != newPart) {
					activate(newPart);
				}
				showTab(newPart);
			}
		});
		CTabFolder2Adapter closeListener = new CTabFolder2Adapter() {
			public void close(CTabFolderEvent event) {
				MPart part = (MPart) event.item
						.getData(AbstractPartRenderer.OWNING_ME);
				
				IEclipseContext partContext = part.getContext();
				EPartService partService = (EPartService) partContext
						.get(EPartService.class.getName());
				if (partService.savePart(part, true)) {
					partService.hidePart(part);
				} else {
					
					event.doit = false;
				}
			}
		};