Bug 192799 Keep value column combo consistent with expression builder button for dynamic parameter definition
When defining a dynamic parameter, if none of the value column contains values of the selected data type, the value combo chooser is disabled. At this time, the expression builder button next to it should be disabled, too. Steps to reproduce: 1. Create a sample datasource and dataset with "select * from CLASSICMODELS.ORDERS". 2. Create a boolean report parameter, combo box, dynamic. Expected result: value column combo and expression builder button are both disabled. Actual result: only value column combo chooser is disabled.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
private static final String COLUMN_VALUE = Messages.getString( "ParameterDialog.Column.Value" ); 
	private static final String COLUMN_DISPLAY_TEXT = Messages.getString( "ParameterDialog.Column.DisplayText" ); 
	private static final String COLUMN_IS_DEFAULT = Messages.getString( "ParameterDialog.Column.Default" ); 
	private static final String BOOLEAN_TRUE = Messages.getString( "ParameterDialog.Boolean.True" ); 
	private static final String BOOLEAN_FALSE = Messages.getString( "ParameterDialog.Boolean.False" ); 
	private static final String PARAM_CONTROL_LIST = DesignChoiceConstants.PARAM_CONTROL_LIST_BOX
			+ "/List"; 
	private static final String PARAM_CONTROL_COMBO = DesignChoiceConstants.PARAM_CONTROL_LIST_BOX
			+ "/Combo"; 
	private static final String DISPLAY_NAME_CONTROL_LIST = Messages.getString( "ParameterDialog.DisplayLabel.List" ); 
	private static final String DISPLAY_NAME_CONTROL_COMBO = Messages.getString( "ParameterDialog.DisplayLabel.Combo" ); 
	private static final String NONE_DISPLAY_TEXT = Messages.getString( "ParameterDialog.Label.None" ); 
	private static final Image DEFAULT_ICON = ReportPlatformUIImages.getImage( IReportGraphicConstants.ICON_DEFAULT );
	private static final Image ERROR_ICON = ReportPlatformUIImages.getImage( ISharedImages.IMG_OBJS_ERROR_TSK );
	private static final String STANDARD_DATE_TIME_PATTERN = "MM/dd/yyyy hh:mm:ss a"; 
	private HashMap dirtyProperties = new HashMap( 5 );
	private ArrayList choiceList = new ArrayList( );
	private static final IChoiceSet DATA_TYPE_CHOICE_SET = DEUtil.getMetaDataDictionary( )
			.getElement( ReportDesignConstants.SCALAR_PARAMETER_ELEMENT )
			.getProperty( ScalarParameterHandle.DATA_TYPE_PROP )
			.getAllowedChoices( );
	private static final IChoiceSet CONTROL_TYPE_CHOICE_SET = DEUtil.getMetaDataDictionary( )
			.getChoiceSet( DesignChoiceConstants.CHOICE_PARAM_CONTROL );
	private ScalarParameterHandle inputParameter;
	private boolean loading = true;
	private Text nameEditor, promptTextEditor, helpTextEditor, formatField;
	
	private Label promptMessageLine;
	
	private CLabel errorMessageLine;