formatCategroy = getCategroy( (String) formatBuilder.getResult( ) ); formatPattern = getPattern( (String) formatBuilder.getResult( ) );
formatCategroy = ( (String[]) formatBuilder.getResult( ) )[0]; formatPattern = ( (String[]) formatBuilder.getResult( ) )[1];
	private void popupFormatBuilder( boolean refresh )	{		String type = getSelectedDataType( );		int style;		if ( DesignChoiceConstants.PARAM_TYPE_BOOLEAN.equals( type ) )		{			return;		}		if ( DesignChoiceConstants.PARAM_TYPE_STRING.equals( type ) )		{			style = FormatBuilder.STRING;		}		else if ( DesignChoiceConstants.PARAM_TYPE_DATETIME.equals( type ) )		{			style = FormatBuilder.DATETIME;		}		else		{			style = FormatBuilder.NUMBER;		}		FormatBuilder formatBuilder = new FormatBuilder( style );		formatBuilder.setInputFormat( formatCategroy, formatPattern );		// formatBuilder.setPreviewText( defaultValue );		if ( formatBuilder.open( ) == OK )		{			formatCategroy = getCategroy( (String) formatBuilder.getResult( ) );			formatPattern = getPattern( (String) formatBuilder.getResult( ) );			updateFormatField( );		}	}