Bug 114903 Default values are not shown in Show Report Parameters' dialog
Description: Default values are not shown in Show Report Parameters' dialog Steps to reproduce: 1. Create several report parameters, only set default value for them. 2. Drag them to Layout 3. Preview and click Show Report Parameters button. Expected result: Default values are shown in value box, so I can modify the parameter which I want to change. Actual result: In Enter Parameters dialog, all values were empty, I just wanted to modify one parameter and found that I had to input all values.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
if ( column.getDataType( ) == DataType.UNKNOWN_TYPE )
		{
			return false;
		}
		String type = getSelectedDataType( );
		if ( type.equals( DesignChoiceConstants.PARAM_TYPE_STRING ) )
		{
			return true;
		}
		switch ( column.getDataType( ) )
		{
			case DataType.BOOLEAN_TYPE :
				return type.equals( DesignChoiceConstants.PARAM_TYPE_BOOLEAN );
			case DataType.INTEGER_TYPE :
				return type.equals( DesignChoiceConstants.PARAM_TYPE_DECIMAL )
						|| type.equals( DesignChoiceConstants.PARAM_TYPE_FLOAT );
			case DataType.DATE_TYPE :
				return type.equals( DesignChoiceConstants.PARAM_TYPE_DATETIME );
			case DataType.DECIMAL_TYPE :
				return type.equals( DesignChoiceConstants.PARAM_TYPE_DECIMAL )
						|| type.equals( DesignChoiceConstants.PARAM_TYPE_FLOAT );
			case DataType.DOUBLE_TYPE :
				return type.equals( DesignChoiceConstants.PARAM_TYPE_FLOAT );
		}
		return false;
	}
	private String getInputControlType( )
	{
		String type = null;
		if ( inputParameter.getControlType( ) == null )