Bug 296796 MWindow name changes are not reflected in a shell
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/WBWRenderer.java
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Widget;
import org.osgi.service.event.Event;
import org.osgi.service.event.EventHandler;
/**
 * Render a Window or Workbench Window.
 */
public class WBWRenderer extends SWTPartRenderer {
	@Inject
	Logger logger;
	@Inject
	private IEventBroker eventBroker;
	private EventHandler shellUpdater;
	public WBWRenderer() {
		super();
	}
	@PostConstruct
	public void init() {
		shellUpdater = new EventHandler() {
			public void handleEvent(Event event) {
				
				Object objElement = event
						.getProperty(UIEvents.EventTags.ELEMENT);
				if (!(event.getProperty(UIEvents.EventTags.ELEMENT) instanceof MWindow))
					return;
				
				MWindow windowModel = (MWindow) objElement;
				if (windowModel.getFactory() != this)
					return;