Bug 200916 Drag the sash in dataset editor dialog will lead the buttons hidden[07]
Description: Drag the sash in dataset editor dialog will lead the buttons hidden[07] Build number: 2.2.1.v20070823-0630 Steps to reproduce: 1, New a dataset 2, Turn to dataset parameter page 3, Drag the SASH in dataset 4, Check the New button on the right of the page Expected result: The New button isn't hidden Actual result: The New button is hidden by dragging the sash
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/data/ui/property/AbstractPropertyDialog.java
if ( node != null )
		{
			StructuredSelection select = new StructuredSelection( node );
			viewer.setSelection( select );
		}
		else
		{
			if(viewer.getTree( ).getItems( ).length>0)
			{
				TreeItem firstNode = viewer.getTree( ).getItems( )[0];
				StructuredSelection select = new StructuredSelection( firstNode.getData( ) );
				viewer.setSelection( select );
			}
		}
	}
	private final Control createTreeViewer( Composite parent )
	{
		viewer = new TreeViewer( parent );
		viewer.addSelectionChangedListener( new ISelectionChangedListener( ) {
			public void selectionChanged( SelectionChangedEvent event )
			{
				final PropertyNode selectedNode = (PropertyNode) ( (IStructuredSelection) event
						.getSelection( ) ).getFirstElement( );
				if ( processSelection )
				{
					BusyIndicator.showWhile( getShell( ).getDisplay( ),
							new Runnable( ) {
								public void run( )
								{
									showSelectionPage( selectedNode );