if (queryText == null || queryText.trim().length() == 0) { String[] lines = getQueryPresetText(); if (lines != null && lines.length > 0) styledText.setSelection(lines[0].length() + 1, lines[0].length() + 1);
String queryText = styledText.getText( ); if ( queryText != null && queryText.equalsIgnoreCase( getQueryPresetTextString( ) ) ) { String[] lines = getQueryPresetTextArray( ); if ( lines != null && lines.length > 0 ) styledText.setSelection( lines[0].length( ) + 1, lines[0].length( ) + 1 );
	private void prepareUI()	{				String queryText = ((OdaDataSetHandle) getContainer().getModel()).getQueryText();		StyledText styledText = viewer.getTextWidget();		if (queryText == null || queryText.trim().length() == 0) {			String[] lines = getQueryPresetText();			if (lines != null && lines.length > 0)				styledText.setSelection(lines[0].length() + 1, lines[0].length() + 1);		}		styledText.setFocus();	}