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
{
				if ( selectedParameter != null
						&& selectedParameter != newParameter )
				{
					try
					{
						selectedParameter.setAllowNull( allowNull.getSelection( ) );
					}
					catch ( SemanticException e1 )
					{
						ExceptionHandler.handle( e1 );
					}
				}
			}
		} );
	}
	private void createLabel( Composite parent, String content, int width )
	{
		Label label = new Label( parent, SWT.NONE );
		setLabelLayoutData( label, width );
		if ( content != null )
		{
			label.setText( content );
		}
	}
	private void setLabelLayoutData( Control control, int width )
	{
		GridData gd = new GridData( GridData.VERTICAL_ALIGN_BEGINNING );
		gd.widthHint = width;
		control.setLayoutData( gd );