Bug 168808 Display text is lost after launching import values dialog
Steps to reproduce: 1.new a parameter; 2.select list box control type; 3.press "Import Values" button to import some values; 4.assign display texts for the imported values; 5.press "Import Values" button to launch import values dialog again; 6.press ok button on dialog; Expected result: The previous assigned display texts are remained. Actual result: The previous display texts are lost.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
private boolean isCustom( )
	{
		if ( DesignChoiceConstants.STRING_FORMAT_TYPE_CUSTOM.equals( formatCategroy )
				|| DesignChoiceConstants.NUMBER_FORMAT_TYPE_CUSTOM.equals( formatCategroy )
				|| DesignChoiceConstants.DATETIEM_FORMAT_TYPE_CUSTOM.equals( formatCategroy ) )
		{
			return true;
		}
		return false;
	}
	private void setExpression( Combo chooser, String key )
	{
		chooser.deselectAll( );
		key = StringUtil.trimString( key );
		if ( StringUtil.isBlank( key ) )
		{
			chooser.setText( "" ); 
			return;
		}
		for ( int i = 0; i < columnList.size( ); i++ )
		{
			if ( key.equals( DEUtil.getExpression( columnList.get( i ) ) ) )
			{
				chooser.select( i );
				return;
			}
		}
		chooser.setText( key );
	}
}