Bug 298857 Change on the property horizontal of PartSashContainer has no effect
The modification of property horizontal in PartSashContainer by API is not synchronized with SWT/JFace.
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/SashRenderer.java
List<Integer> weights = new ArrayList<Integer>();
		for (MPSCElement pscElement : psc.getChildren()) {
			if (pscElement.getWidget() instanceof Control) {
				weights.add(getWeight(pscElement));
			}
		}
		int[] sashWeights = new int[weights.size()];
		int swCount = 0;
		for (int sw : weights) {
			sashWeights[swCount++] = sw;
		}
		sf.setWeights(sashWeights);
	}
	protected void synchModelToWeights(Control ctrl) {
		if (!(ctrl.getParent() instanceof SashForm))
			return;
		SashForm sf = (SashForm) ctrl.getParent();
		MPartSashContainer psc = (MPartSashContainer) sf.getData(OWNING_ME);
		int[] ctrlWeights = sf.getWeights();
		int weightIndex = 0;
		for (MPSCElement pscElement : psc.getChildren()) {
			if (pscElement.getWidget() instanceof Control) {
				pscElement.setContainerData(Integer
						.toString(ctrlWeights[weightIndex++]));
			}
		}
	}
}