Bug 153405 Null parameter value is inconsistent between designer and preview
Description: Null parameter value is inconsistent between designer and preview Steps to reproduce: 1. New a report parameter, list-box, tick AllowNull. 2. Click New button, click OK without input anything. 3. Drag the parameter to Layout and preview Actual result: After step2, display text is "Null" and value is empty. However, when preview, the display text is "Null Value". Expected result: Display text and value should be consistent between Edit Parameter Dialog in Layout and Parameter dialog during preview.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
return;
		}
		setResult( inputParameter );
		super.okPressed( );
	}
	private void createLabel( Composite parent, String content )
	{
		Label label = new Label( parent, SWT.NONE );
		if ( content != null )
		{
			label.setText( content );
		}
		setLabelLayoutData( label );
	}
	private void setLabelLayoutData( Label label )
	{
		GridData gd = new GridData( );
		if ( label.getText( ).equals( LABEL_VALUES ) )
		{
			gd.verticalAlignment = GridData.BEGINNING;
		}
		label.setLayoutData( gd );
	}
	private void addCheckBoxListener( final Button checkBox, final String key )
	{
		checkBox.addSelectionListener( new SelectionAdapter( ) {
			public void widgetSelected( SelectionEvent e )
			{
				checkBoxChange( checkBox, key );
			}