if ( dialog.open( ) == OK )
if ( dialog.open( ) == OK && ( (String[]) dialog.getResult( ) )[1] != null )
	private void insertFormat( int style )	{		FormatBuilder dialog = new FormatBuilder( style );		if ( dialog.open( ) == OK )		{			String result = " format=\"" //$NON-NLS-1$					+ getFormatPattern( ( (String) dialog.getResult( ) ) )					+ "\""; //$NON-NLS-1$			textEditor.insert( result );		}	}