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
import org.eclipse.jface.viewers.SelectionChangedEvent;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.CLabel;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.VerifyEvent;
import org.eclipse.swt.events.VerifyListener;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Combo;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Group;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Table;
import org.eclipse.swt.widgets.TableColumn;
import org.eclipse.swt.widgets.Text;
import org.eclipse.ui.ISharedImages;
import com.ibm.icu.util.ULocale;
/**
 * The dialog used to create or edit a parameter
 */
public class ParameterDialog extends BaseDialog