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
if ( defaultValueChooser == null || defaultValueChooser.isDisposed( ) )
			return;
		String textValue = defaultValueChooser.getText( );
		if ( textValue != null
				&& ( textValue.equals( CHOICE_NULL_VALUE ) || textValue.equals( CHOICE_BLANK_VALUE ) ) )
		{
			defaultValueChooser.setText( "" );
		}
	}
	private void clearDefaultValueChooserSelections( )
	{
		if ( defaultValueChooser == null || defaultValueChooser.isDisposed( ) )
			return;
		if ( defaultValueChooser.getItemCount( ) > 1 )
		{
			defaultValueChooser.remove( CHOICE_NULL_VALUE );
			defaultValueChooser.remove( CHOICE_BLANK_VALUE );
		}
	}
	private void createDefaultEditor( )
	{
		createLabel( valueArea, LABEL_DEFAULT_VALUE );
		defaultValueChooser = new Combo( valueArea, SWT.BORDER );
		defaultValueChooser.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
		if ( !isStatic( ) )
		{
			defaultValueChooser.add( CHOICE_SELECT_VALUE );
		}
		if ( getSelectedDataType( ).equals( DesignChoiceConstants.PARAM_TYPE_STRING )
				&& !isRequired.getSelection( ) )