Bug 180864 Change Allow Null option in Cascading Group.[0705]
Description: Change Allow Null option in Cascading Group. Build number:2.2.0.v20070404 Steps to reproduce: 1. New a cascading group and add sub parameter. Expected result: Is Required option in cascading group definition dialog. Actual result: Allow null value option in Cascading Group definition dialog Error log:N/A
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/CascadingParametersDialog.java
return DesignChoiceConstants.COLUMN_DATA_TYPE_INTEGER.equals( columnHandle.getDataType( ) );
		}else if (DesignChoiceConstants.PARAM_TYPE_DATE.equals(columnHandle.getDataType()))
		{
			return DesignChoiceConstants.COLUMN_DATA_TYPE_DATE.equals( type );
		}else if (DesignChoiceConstants.PARAM_TYPE_TIME.equals(columnHandle.getDataType()))
		{
			return DesignChoiceConstants.COLUMN_DATA_TYPE_TIME.equals( type );
		}
		return false;
	}
	private void saveParameterProperties( ) throws SemanticException
	{
		if ( selectedParameter != null && selectedParameter != newParameter )
		{
			selectedParameter.setPromptText( UIUtil.convertToModelString( promptText.getText( ),
					false ) );
			selectedParameter.setHelpText( UIUtil.convertToModelString( helpTextEditor.getText( ),
					true ) );
			selectedParameter.setDefaultValue( UIUtil.convertToModelString( defaultValueEditor.getText( ),
					true ) );
			if ( StringUtil.isBlank( listLimit.getText( ) ) )
			{
				selectedParameter.setProperty( ScalarParameterHandle.LIST_LIMIT_PROP,
						null );
			}
			else
			{
				selectedParameter.setListlimit( Integer.parseInt( listLimit.getText( ) ) );
			}
			selectedParameter.setAllowNull( allowNull.getSelection( ) );