Bug 180645 Support set format for Date/Time type parameter.[0705]
Description: Support set format for Date/Time type parameter. Build number:2.2.0.v200704031345 Steps to reproduce: 1. New a Date report parameter. 2. Click Change... button to set format for it. Expected result: Can set format for Date/Time parameter. Actual result: Change... button is disabled. Error log:N/A
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
private HashMap dirtyProperties = new HashMap( 5 );
	private ArrayList choiceList = new ArrayList( );
	private static final IChoiceSet DATA_TYPE_CHOICE_SET = DEUtil.getMetaDataDictionary( )
			.getElement( ReportDesignConstants.SCALAR_PARAMETER_ELEMENT )
			.getProperty( ScalarParameterHandle.DATA_TYPE_PROP )
			.getAllowedChoices( );
	private static final IChoiceSet CONTROL_TYPE_CHOICE_SET = DEUtil.getMetaDataDictionary( )
			.getChoiceSet( DesignChoiceConstants.CHOICE_PARAM_CONTROL );
	private ScalarParameterHandle inputParameter;
	private boolean loading = true;
	private Text nameEditor, promptTextEditor, helpTextEditor, formatField;
	
	private Label promptMessageLine;
	
	private CLabel errorMessageLine;
	
	private Button isRequired, doNotEcho, isHidden, needSort, distinct;
	
	private Button importValue, changeDefault, changeFormat, createDataSet;
	
	private Button dynamicRadio, staticRadio;
	
	private Combo dataTypeChooser, controlTypeChooser, defaultValueChooser;
	
	private Combo dataSetChooser, columnChooser, displayTextChooser,
			sortKeyChooser, sortDirectionChooser;
	
	private Label previewLabel;
	private TableViewer valueTable;
	private String lastDataType, lastControlType;