Bug 293357 [context] Switch annotation processing to JSR 330
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/WBWRenderer.java
.getProperty(IUIEvents.EventTags.NewValue);
					theShell.setText(newTitle);
				} else if (IUIEvents.UIItem.IconURI.equals(attName)) {
					theShell.setImage(getImage(windowModel));
				} else if (IUIEvents.UIItem.IconURI.equals(attName)) {
					String newTTip = (String) event
							.getProperty(IUIEvents.EventTags.NewValue);
					theShell.setToolTipText(newTTip);
				}
			}
		};
		eventBroker.subscribe(IUIEvents.UIItem.Topic, shellUpdater);
	}
	public Object createWidget(MUIElement element, Object parent) {
		final Widget newWidget;
		if (!(element instanceof MWindow)
				|| (parent != null && !(parent instanceof Shell)))
			return null;
		MWindow wbwModel = (MWindow) element;
		Shell parentShell = (Shell) parent;
		IEclipseContext parentContext = getContextForParent(element);
		Shell wbwShell;
		if (parentShell == null) {
			wbwShell = new Shell(Display.getCurrent(), SWT.SHELL_TRIM);
		} else {
			wbwShell = new Shell(parentShell, SWT.SHELL_TRIM);
			wbwShell.setLocation(wbwModel.getX(), wbwModel.getY());
			wbwShell.setSize(wbwModel.getWidth(), wbwModel.getHeight());
			wbwShell.setVisible(true);
		}