Bug 261037 bindWidget calls
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/renderers/swt/ContributedPartFactory.java
public ContributedPartFactory() {
		super();
	}
	
	public void setContributionFactory(IContributionFactory contributionFactory) {
		this.contributionFactory = contributionFactory;
	}
	public Object createWidget(final Part part) {
		Widget parentWidget = getParentWidget(part);
		Widget newWidget = null;
		if (part instanceof ContributedPart) {
			final Composite newComposite = new Composite((Composite) parentWidget, SWT.NONE);
			newWidget = newComposite;
			ContributedPart contributedPart = (ContributedPart) part;
			final IHandlerService hs = new PartHandlerService(part);
			Object newPart = contributionFactory.create(contributedPart.getURI(), new IServiceLocator() {
				public Object getService(Class api) {
					if (api == Composite.class) {
						newComposite.setData("MODEL", part);
						newComposite.setData("LOCATOR", this);
						return newComposite;
					} else if (api == IHandlerService.class) {
						return hs;
					}
					return serviceLocator.getService(api);
				}
				public boolean hasService(Class api) {
					if (api == Composite.class) {
						return true;
					} else if (api == IHandlerService.class) {