Bug 180123 Add input format hint for date and time type as datetime type does.[0705]
Description: Add input format hint for date and time type as datetime type does. build number:2.2.0.v20070330 Steps to reproduce: 1. New a report parameter. 2. Set Type as Date or Time. Expected result: Show value input format below default value as datetime type does. Actual result: No hint about how to input date/time value.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
String displayFormat;
		String previewString;
		String type = getSelectedDataType( );
		IChoiceSet choiceSet = getFormatChoiceSet( type );
		if ( choiceSet == null )
		{ 
			displayFormat = DEUtil.getMetaDataDictionary( )
					.getChoiceSet( DesignChoiceConstants.CHOICE_STRING_FORMAT_TYPE )
					.findChoice( DesignChoiceConstants.STRING_FORMAT_TYPE_UNFORMATTED )
					.getDisplayName( );
			previewString = "True"; 
		}
		else
		{
			displayFormat = choiceSet.findChoice( formatCategroy )
					.getDisplayName( );
			if ( isCustom( ) )
			{
				displayFormat += ": " + formatPattern; 
			}
			if ( defaultValue != null )
			{
				previewString = format( defaultValue );
			}
			else
			{
				if ( type.equals( DesignChoiceConstants.PARAM_TYPE_DATETIME ) )
				{
					previewString = new DateFormatter( isCustom( ) ? formatPattern
							: ( formatCategroy.equals( DesignChoiceConstants.DATETIEM_FORMAT_TYPE_UNFORMATTED ) ? DateFormatter.DATETIME_UNFORMATTED