Utility.setSystemHelp( mainComposite, IHelpConstants.CONEXT_ID_PREFERENCE_DATASET_JDBC );
	protected Control createContents( Composite parent )	{		Composite mainComposite = new Composite( parent, SWT.NONE );		GridData data = new GridData( GridData.FILL_HORIZONTAL);		data.horizontalSpan = 2;		data.verticalSpan = 5;		//mainComposite.setLayoutData( data );		GridLayout layout = new GridLayout();		mainComposite.setLayout( layout );		Group sqlDataSetGroup = new Group( mainComposite, SWT.NONE );		sqlDataSetGroup.setLayout( layout );		sqlDataSetGroup.setText( JdbcPlugin.getResourceString( "designer.preview.preference.resultset.sqldatasetpage.group.title" ) );		sqlDataSetGroup.setLayoutData( data );		sqlDataSetGroup.setEnabled( true );		//Set up the maximum number of schemas to be fetched in SQLDataSetPage.		maxDisplaySchemaEditor = new IntegerFieldEditor( USER_MAX_NUM_OF_SCHEMA, "", sqlDataSetGroup ); 				Label lab = maxDisplaySchemaEditor.getLabelControl( sqlDataSetGroup );        lab.setText(JdbcPlugin.getResourceString("designer.preview.preference.resultset.maxNoOfSchema.description" ));				maxDisplaySchemaEditor.setPage(this);		maxDisplaySchemaEditor.setTextLimit( Integer.toString( MAX_MAX_ROW ).length( ) );				maxDisplaySchemaEditor.setValidateStrategy( StringFieldEditor.VALIDATE_ON_KEY_STROKE );		maxDisplaySchemaEditor.setValidRange(0, MAX_MAX_ROW);				maxDisplaySchemaEditor.setPropertyChangeListener(new IPropertyChangeListener() {            public void propertyChange(PropertyChangeEvent event) {                if (event.getProperty().equals(FieldEditor.IS_VALID))                        setValid(maxDisplaySchemaEditor.isValid());            }        });				maxDisplaySchemaEditor.setErrorMessage( JdbcPlugin.getFormattedString( "designer.preview.preference.resultset.maxNoOfSchema.errormessage",				new Object[]{new Integer( MAX_MAX_ROW )	} ) );				String defaultMaxSchema = JdbcPlugin.getDefault( )				.getPluginPreferences( )				.getString( USER_MAX_NUM_OF_SCHEMA );		if ( defaultMaxSchema == null || defaultMaxSchema.trim( ).length( ) <= 0 )		{			defaultMaxSchema = String.valueOf( DEFAULT_MAX_NUM_OF_SCHEMA );		}		maxDisplaySchemaEditor.setStringValue( defaultMaxSchema );				//Set up the maximum number of tables in each schema		maxDisplayTableEditor = new IntegerFieldEditor( USER_MAX_NUM_OF_TABLE_EACH_SCHEMA, "", sqlDataSetGroup ); 				lab = maxDisplayTableEditor.getLabelControl( sqlDataSetGroup );        lab.setText(JdbcPlugin.getResourceString( "designer.preview.preference.resultset.maxNoOfTable.description" ));				maxDisplayTableEditor.setPage(this);		maxDisplayTableEditor.setTextLimit( Integer.toString( MAX_MAX_ROW ).length( ) );				maxDisplayTableEditor.setValidateStrategy( StringFieldEditor.VALIDATE_ON_KEY_STROKE );		maxDisplayTableEditor.setValidRange(0, MAX_MAX_ROW);				maxDisplayTableEditor.setPropertyChangeListener(new IPropertyChangeListener() {            public void propertyChange(PropertyChangeEvent event) {                if (event.getProperty().equals(FieldEditor.IS_VALID))                        setValid(maxDisplayTableEditor.isValid());            }        });				maxDisplayTableEditor.setErrorMessage( JdbcPlugin.getFormattedString( "designer.preview.preference.resultset.maxNoOfTable.errormessage",				new Object[]{new Integer( MAX_MAX_ROW )	} ) );				String defaultMaxTable = JdbcPlugin.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 );				return mainComposite;	}