Bug 316482 Active tab colour flickers when bringing up the context menu on a view
The tab's colour will flicker between blue and white when you right-click on it.
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/WBWRenderer.java
Save[] response = new Save[dirtyParts.size()];
				Object[] elements = promptForSave(shell, parts);
				if (elements == null) {
					Arrays.fill(response, Save.CANCEL);
				} else {
					Arrays.fill(response, Save.NO);
					for (int i = 0; i < elements.length; i++) {
						response[parts.indexOf(elements[i])] = Save.YES;
					}
				}
				return response;
			}
		});
		if (wbwModel.getLabel() != null)
			wbwShell.setText(wbwModel.getLabel());
		wbwShell.setImage(getImage(wbwModel));
		
		wbwShell.setImages(Window.getDefaultImages());
		return newWidget;
	}
	@Override
	public void hookControllerLogic(MUIElement me) {
		super.hookControllerLogic(me);
		Widget widget = (Widget) me.getWidget();
		if (widget instanceof Shell && me instanceof MWindow) {
			final Shell shell = (Shell) widget;
			final MWindow w = (MWindow) me;
			shell.addControlListener(new ControlListener() {
				public void controlResized(ControlEvent e) {
					try {