Bug 282008 [Compatibility] Support for 'sticky' views
We need to support the legacy 'sticky' view mechanism. This is used for Help, Cheat Sheets and such that need to remain visible across perspective switches.
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/PartSashFactory.java
});
			
			
			
			Control[] childCtrls = sashForm.getChildren();
			for (int i = 0; i < childCtrls.length; i++) {
				childCtrls[i].addControlListener(new ControlListener() {
					public void controlMoved(ControlEvent e) {
					}
					public void controlResized(ControlEvent e) {
						
						synchWeights((Control) e.widget);
					}
				});
			}
		}
	}
	/**
	 * Synchronizes the weights of the specified sash form to the underlying
	 * model.
	 * 
	 * @param sf
	 *            the sash form to synchronize
	 */
	private void synchWeightsToModel(SashForm sf) {
		
		MSashForm<?> sfm = (MSashForm<?>) sf.getData(OWNING_ME);
		
		int[] ctrlWeights = sf.getWeights();
		EList<Integer> modelWeights = sfm.getWeights();