Bug 261037 bindWidget calls
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/renderers/swt/PartSashFactory.java
package org.eclipse.e4.workbench.ui.renderers.swt;
import java.util.Iterator;
import java.util.List;
import org.eclipse.e4.ui.model.application.Part;
import org.eclipse.emf.common.util.EList;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.SashForm;
import org.eclipse.swt.events.ControlEvent;
import org.eclipse.swt.events.ControlListener;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Widget;
public class PartSashFactory extends SWTPartFactory {
	public PartSashFactory() {
		super();
	}
	public Widget createWidget(Part<?> part) {
		Widget parentWidget = getParentWidget(part);
		if (part instanceof org.eclipse.e4.ui.model.application.SashForm<?>) {
			org.eclipse.e4.ui.model.application.SashForm<?> sashModel = (org.eclipse.e4.ui.model.application.SashForm<?>) part;
			int orientation = (sashModel.getPolicy() != null && sashModel
					.getPolicy().startsWith("Horizontal")) ? SWT.HORIZONTAL
					: SWT.VERTICAL;