Bug 135192 [Regression] Maximum number of rows in data set preview doesn't work for script data source.
Description: Maximum number of rows in data set preview doesn't work for script data source. Steps to reproduce: 1. Create a script data source and create a related data set. 2. Set maximum number of rows in preferences. Expected result: it works as setting. Actual result: maximum number of rows setting doesn't take effect.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/preferences/DateSetPreferencePage.java
if (event.getProperty().equals(FieldEditor.IS_VALID))
                        setValid(maxDisplayTableEditor.isValid());
            }
        });
		
		maxDisplayTableEditor.setErrorMessage( Messages.getFormattedString( "designer.preview.preference.resultset.maxNoOfTable.errormessage",
				new Object[]{new Integer( MAX_MAX_ROW )	} ) );
		
		String defaultMaxTable = ReportPlugin.getDefault( )
				.getPluginPreferences( )
				.getString( USER_MAX_NUM_OF_TABLE_EACH_SCHEMA );
		if ( defaultMaxTable == null || defaultMaxTable.trim( ).length( ) <= 0 )
		{
			defaultMaxTable = String.valueOf( DEFAULT_MAX_NUM_OF_TABLE_EACH_SCHEMA );
		}
		maxDisplayTableEditor.setStringValue( defaultMaxTable );
		
		Group previewPageGroup = new Group( mainComposite, SWT.NONE );
		previewPageGroup.setLayout( new GridLayout() );
		
		previewPageGroup.setText( Messages.getString( "designer.preview.preference.resultset.previewpage.group.title" ) );
		previewPageGroup.setLayoutData( data );
		previewPageGroup.setEnabled( true );
		
		
		
		
		maxRowEditor = new IntegerFieldEditor( USER_MAXROW, "", previewPageGroup ); 
		Label lab2 = maxRowEditor.getLabelControl( previewPageGroup );
        lab2.setText(Messages.getString( "designer.preview.preference.resultset.maxrow.description" ));