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
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Table;
import org.eclipse.swt.widgets.TableColumn;
import org.eclipse.swt.widgets.Text;
import org.eclipse.ui.ISharedImages;
import com.ibm.icu.util.ULocale;
/**
 * The dialog used to create or edit a parameter
 */
public class ParameterDialog extends BaseDialog
{
	private static final String CHOICE_NO_DEFAULT = Messages.getString( "ParameterDialog.Choice.NoDefault" ); 
	private static final String GROUP_PROPERTIES = Messages.getString( "ParameterDialog.Group.Properties" ); 
	private static final String GROUP_MORE_OPTION = Messages.getString( "ParameterDialog.Group.MoreOption" ); 
	private static final String LABEL_NAME = Messages.getString( "ParameterDialog.Label.Name" ); 
	private static final String LABEL_DATETIME_PROMPT = Messages.getString( "ParameterDialog.Label.DateTImePrompt" ); 
	private static final String LABEL_PROMPT_TEXT = Messages.getString( "ParameterDialog.Label.PromptText" ); 
	private static final String LABEL_PARAM_DATA_TYPE = Messages.getString( "ParameterDialog.Label.DataType" ); 
	private static final String LABEL_DISPALY_TYPE = Messages.getString( "ParameterDialog.Label.DisplayType" ); 
	private static final String LABEL_DEFAULT_VALUE = Messages.getString( "ParameterDialog.Label.DefaultValue" ); 
	private static final String LABEL_HELP_TEXT = Messages.getString( "ParameterDialog.Label.HelpText" ); 
	private static final String LABEL_LIST_OF_VALUE = Messages.getString( "ParameterDialog.Label.ListOfValue" ); 	
	private static final String LABEL_VALUES = Messages.getString( "ParameterDialog.Label.Value" ); 
	private static final String LABEL_FORMAT = Messages.getString( "ParameterDialog.Label.Format" ); 
	private static final String LABEL_LIST_LIMIT = Messages.getString( "ParameterDialog.Label.Listlimit" );
	private static final String LABEL_NULL = Messages.getString( "ParameterDialog.Label.Null" ); 
	private static final String LABEL_SELECT_DISPLAY_TEXT = Messages.getString( "ParameterDialog.Label.SelectDisplayText" ); 
	private static final String LABEL_SELECT_VALUE_COLUMN = Messages.getString( "ParameterDialog.Label.SelectValueColumn" ); 
	private static final String LABEL_SELECT_DATA_SET = Messages.getString( "ParameterDialog.Label.SelectDataSet" ); 
	private static final String LABEL_PREVIEW = Messages.getString( "ParameterDialog.Label.Preview" );