Bug 318711 Toolbar items disappear while a dialog is up, major flickering
SDK 4.0 - I20100701-1105. When a dialog is opened (e.g. wizard), the toolbar is updated and items get removed. This causes major UI flickering, hurting my eyes while working with Eclipse.
bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/ShellActivationListener.java
break;
		}
	}
	private void activate(Shell shell) {
		final IEclipseContext parentContext = getParentContext(shell);
		final IEclipseContext shellContext = getShellContext(shell,
				parentContext);
		SafeRunner.run(new ISafeRunnable() {
			public void run() throws Exception {
				
				parentContext.set(IContextConstants.ACTIVE_CHILD, shellContext);
				
				IEclipseContext parent = parentContext;
				IEclipseContext recurse = parentContext.getParent();
				while (recurse != null) {
					recurse.set(IContextConstants.ACTIVE_CHILD, parent);
					parent = recurse;
					recurse = recurse.getParent();
				}
			}
			public void handleException(Throwable exception) {
				WorkbenchSWTActivator.trace("/trace/workbench",
						"failed setting dialog child", exception);
			}
		});
	}
	private void deactivate(Shell shell) {
		Shell parent = (Shell) shell.getParent();
		if (parent == null) {
			return;