Bug 146796 Error message pop up if display text contain non-digital char when add next item
Description: In decimal type parameter creation,display type is "list box", Error message pop up if "display text" contain non-digital char when add next item. Steps: 1.Create a new decimal parameter 2.Set display type as "list box" 3.Input one item: value:1, display text:test 4.Input another item: Value:2 Actual result: error message pop up: The display text already exists! Expected result: Input item succussfully.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
String[] choices;
		if ( isStatic( ) )
		{
			if ( DesignChoiceConstants.PARAM_TYPE_BOOLEAN.equals( type ) )
			{
				choices = new String[3];
			}
			else
			{
				choices = new String[4];
			}
		}
		else
		{
			choices = new String[2];
		}
		if ( controlTypeChooser.getItemCount( ) != choices.length )
		{
			String originalSelection = controlTypeChooser.getText( );
			if ( isStatic( ) )
			{
				if ( DesignChoiceConstants.PARAM_TYPE_BOOLEAN.equals( type ) )
				{
					choices[0] = controlType.findChoice( DesignChoiceConstants.PARAM_CONTROL_CHECK_BOX )
							.getDisplayName( );
				}
				else
				{
					choices[0] = controlType.findChoice( DesignChoiceConstants.PARAM_CONTROL_TEXT_BOX )
							.getDisplayName( );