Bug 261852 [context] Separate code into API / SPI / internal
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/renderers/swt/PartFactory.java
(Widget) ((Part<?>)(element.getParent())).getWidget() : null;
	}
	
	public void disposeWidget(Part<?> part) {
		Widget curWidget = (Widget) part.getWidget();
		part.setWidget(null);
		if (curWidget != null)
			curWidget.dispose();
	}
	public void hookControllerLogic(final Part<?> me) {
		Widget widget = (Widget) me.getWidget();
		
		
		widget.addDisposeListener(new DisposeListener() {
			public void widgetDisposed(DisposeEvent e) {
				Part<?> model = (Part<?>) e.widget.getData(OWNING_ME);
				model.setWidget(null);
			}
		});
		
		
		if (widget instanceof Control && me instanceof ItemPart<?>) {
        	((Control)widget).getAccessible().addAccessibleListener(new AccessibleAdapter() {
            	public void getName(AccessibleEvent e) {
            		e.result = ((ItemPart<?>)me).getName();
            	}
            });
		}
	}
	public void childAdded(Part<?> parentElement, Part<?> element) {