Bug 166315 Combo box doesn't allow blank when set string type in parameter editor
Combo box doesn't allow blank when set string type in parameter editor Steps to reproduce: 1.New a parameter, display type is Combo Box 2.Select data type as String Expected result: "Allow blank values" is enable. Actual result: "Allow blank values" is gray and can't be checked.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
private void updateTableButtons( )
	{
		boolean isEnable = true;
		SelectionChoice selectedChoice = null;
		if ( valueTable.getSelection( ).isEmpty( ) )
		{
			isEnable = false;
		}
		else
		{
			selectedChoice = (SelectionChoice) ( (IStructuredSelection) valueTable.getSelection( ) ).getFirstElement( );
			
			
			
			
		}
		boolean isDefault = isEnable && isDefaultChoice( selectedChoice );
		if ( isDefault )
		{
			changeDefault.setText( BUTTON_LABEL_REMOVE_DEFAULT );
		}
		else
		{
			changeDefault.setText( BUTTON_LABEL_SET_DEFAULT );
		}
		changeDefault.setSelection( isDefault );
		changeDefault.setEnabled( isEnable );
	}
	private void updateButtons( )
	{