Bug 123915 Add table-fetch limitation when DataSet Editor is populating table names.
When fetch table names from database of large volume of data, there lies a possibility that the editor window will be frozen because of the population of huge number of table names. This should be enhanced. A handy solution might be limiting the number of table names being fetched each schema.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/preferences/DateSetPreferencePage.java
maxRowEditor = new IntegerFieldEditor( USER_MAXROW, "", mainComposite ); 
		
		Label lab2 = maxRowEditor.getLabelControl( mainComposite );
        lab2.setText(Messages.getString( "designer.preview.preference.resultset.maxrow.description" ));
		
		maxRowEditor.setPreferencePage(this);
		maxRowEditor.setTextLimit( Integer.toString( MAX_MAX_ROW ).length( ) );
		maxRowEditor.setErrorMessage( Messages.getFormattedString( "designer.preview.preference.resultset.maxrow.errormessage",
				new Object[]{new Integer( MAX_MAX_ROW )	} ) );
        maxRowEditor.setValidateStrategy( StringFieldEditor.VALIDATE_ON_KEY_STROKE );
        maxRowEditor.setValidRange(1, MAX_MAX_ROW);
        maxRowEditor.setPropertyChangeListener(new IPropertyChangeListener() {
            public void propertyChange(PropertyChangeEvent event) {
                if (event.getProperty().equals(FieldEditor.IS_VALID))
                        setValid(maxRowEditor.isValid());
            }
        });
        
		String defaultMaxRow = ReportPlugin.getDefault( )
				.getPluginPreferences( )
				.getString( USER_MAXROW );
		if ( defaultMaxRow == null || defaultMaxRow.trim( ).length( ) <= 0 )
		{
			defaultMaxRow = String.valueOf( DEFAULT_MAX_ROW );
		}
		maxRowEditor.setStringValue( defaultMaxRow );
		return mainComposite;
	}
	/*
	 * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)