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
}
		
	private int getMaxRowPreference( )
	{
		int maxRow;
		Preferences preferences = ReportPlugin.getDefault( )
				.getPluginPreferences( );
		if ( preferences.contains( DateSetPreferencePage.USER_MAXROW ) )
		{
			maxRow = preferences.getInt( DateSetPreferencePage.USER_MAXROW );
		}
		else
		{
			maxRow = DateSetPreferencePage.DEFAULT_MAX_ROW;
			preferences.setValue( DateSetPreferencePage.USER_MAXROW, maxRow );
		}
		return maxRow;
	}
	/**
	 * Show ProgressMonitorDialog
	 * 
	 */
	private void updateResultsProcess( )
	{
		needsUpdateUI = true;
		clearResultSetTable( );
		
		IRunnableWithProgress runnable = new IRunnableWithProgress( ) {
			public void run( IProgressMonitor monitor )