Bug 198709 bad resizing in Edit Data Set dialog
Build ID: N/A Steps To Reproduce: Create a new data set. When in the Edit Data Set dialog, resize the frame. The left column need not grow with the window. When resizing, I'm really trying to get more space on the right pane. In the Query Section, there are three panes showing (section list, available items / filters, query text.) When I resize, I only want the query text pane to grow. More information:
data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/editors/SQLDataSetEditorPage.java
}
	/*
	 * 
	 * @see org.eclipse.datatools.connectivity.oda.design.internal.ui.DataSetWizardPageCore#collectDataSetDesign(org.eclipse.datatools.connectivity.oda.design.DataSetDesign)
	 */
	protected DataSetDesign collectDataSetDesign( DataSetDesign design )
	{
		if ( this.getControl( ) == null || this.getControl( ).isDisposed( ) )
			return design;
		if ( design != null && doc != null )
			design.setQueryText( doc.get( ) );
		if ( this.shouldUpdateDataSetDesign ||
				!formerQueryTxt.equals( design.getQueryText( ) ) )
		{
			SQLUtility.saveDataSetDesign( design );
			formerQueryTxt = design.getQueryText( );
			this.shouldUpdateDataSetDesign = false;
		}
		return design;
	}
	/**
	 * Sets Splitter Weights.
	 * if left side is too wide,set weights with default value 40,60.  
	 * @param splitter
	 */
	private void setSashFormWeights( SashForm sashForm )
	{
		int leftWidth = sashForm.getChildren( )[0].computeSize( SWT.DEFAULT,
				SWT.DEFAULT ).x;
		int totalWidth = sashForm.computeSize( SWT.DEFAULT, SWT.DEFAULT ).x;