Bug 322512 Refactor data set editor pages' codes[30357]
Build Identifier: Refactor data set editor pages' codes. Reproducible: Always
UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/ResultSetPreviewPage.java
recordList.add( record );
				}
				setPromptLabelText( );
				iter.close( );
			}
		}
		catch ( RuntimeException e )
		{
			errorList.add( e );
		}
		catch ( BirtException e )
		{
			errorList.add( e );
		}
	}
	/**
	 * Set the prompt label text
	 * 
	 */
	private void setPromptLabelText( )
	{
		Display.getDefault( ).syncExec( new Runnable( ) {
			public void run( )
			{
				String prompt = "";
				prompt = Messages.getFormattedString( "dataset.resultset.preview.promptMessage.recordsNum",
						new Object[]{
							recordList.size( )
						} );
				if ( recordList != null )