Bug 153523 OK button in parameter dialog is enabled without default value in combo-box
Description: OK button in parameter dialog is enabled without default value in combo-box Steps to reproduce: 1. New a report parameter, combo-box. 2. Click New button, input abc as value, click OK 3. Set abc as default value and close Edit Parameter dialog. 4. New a data source and dataset 5. Edit the parameter, remove abc value and import values from dataset Expected result: OK button is disabled for there is no default value. Actual result: OK button is enabled.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
if ( isStatic( )
					&& ( PARAM_CONTROL_COMBO.equals( getSelectedControlType( ) ) || DesignChoiceConstants.PARAM_CONTROL_RADIO_BUTTON.equals( getSelectedControlType( ) ) )
					&& !containValue( null, defaultValue, COLUMN_VALUE ) )
			{
				defaultValue = null;
			}
			
			if ( dirtyProperties.containsKey( CHECKBOX_HIDDEN ) )
			{
				inputParameter.setHidden( getProperty( CHECKBOX_HIDDEN ) );
			}
			if ( dirtyProperties.containsKey( CHECKBOX_ALLOW_NULL ) )
			{
				inputParameter.setAllowNull( getProperty( CHECKBOX_ALLOW_NULL ) );
			}
			if ( allowBlank.isEnabled( ) )
			{
				if ( dirtyProperties.containsKey( CHECKBOX_ALLOW_BLANK ) )
				{
					inputParameter.setAllowBlank( getProperty( CHECKBOX_ALLOW_BLANK ) );
				}
			}
			else
			{
				inputParameter.setProperty( ScalarParameterHandle.ALLOW_BLANK_PROP,
						null );
			}
			if ( doNotEcho.isEnabled( ) )
			{
				if ( dirtyProperties.containsKey( CHECKBOX_DO_NOT_ECHO ) )