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
if (parentElement.getWidget() instanceof Composite
				&& element.getWidget() instanceof Control) {
			Composite comp = (Composite) parentElement.getWidget();
			Control ctrl = (Control) element.getWidget();
			ctrl.setParent(comp);
		}
	}
	public void childRemoved(Part<?> parentElement, Part<?> child) {
	}
	
	protected Image getImage(ApplicationElement element) {
		if (element instanceof Item) {
			String iconURI = ((Item) element).getIconURI();
			if (iconURI != null && !iconURI.equals("null")) {
				ResourceUtility resUtils = (ResourceUtility) context
						.get(ResourceUtility.class.getName());
				ImageDescriptor desc = resUtils.imageDescriptorFromURI(URI.createURI(iconURI));
				if (desc != null)
					return desc.createImage();
			}
		}
		return null;
	}
	public void createMenu(Object widgetObject, Menu menu) {
	}
	public void createToolBar(Object widgetObject, ToolBar toolBar) {
	}
}