Bug 153391 Some Options in Edit Parameter dialog haven't been saved.
Description: Some Options in Edit Parameter dialog haven't been saved. Steps to reproduce: 1. new a parameter, boolean type, tick AllowNUll and sort alphabetically... 2. Close the dialog and reopen it. 3. new a parameter, string, combo-box, tick AllowNull. 4. Close the dialog and reopen it. Expected result: Ticked options' status are saved Actual result: After reopen parameter dialog, options are unticked.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
private static final String STANDARD_DATE_TIME_PATTERN = "MM/dd/yyyy hh:mm:ss a"; 	
	private HashMap dirtyProperties = new HashMap( 5 );
	private ArrayList choiceList = new ArrayList( );
	private static IChoiceSet dataType = DEUtil.getMetaDataDictionary( )
			.getChoiceSet( DesignChoiceConstants.CHOICE_PARAM_TYPE );
	private static IChoiceSet controlType = DEUtil.getMetaDataDictionary( )
			.getChoiceSet( DesignChoiceConstants.CHOICE_PARAM_CONTROL );
	private ScalarParameterHandle inputParameter;
	private boolean loading = true;
	private Text nameEditor, promptTextEditor, defaultValueEditor,
			helpTextEditor, formatField;
	
	private Label promptMessageLine;
	
	private CLabel errorMessageLine;
	
	private Button allowNull, allowBlank, doNotEcho, isHidden, needSort;
	
	private Button importValue, changeDefault, changeFormat, createDataSet;
	
	private Button dynamicRadio, staticRadio;
	
	private Combo dataTypeChooser, controlTypeChooser, defaultValueChooser;
	
	private Combo dataSetChooser, columnChooser, displayTextChooser;
	
	private Label previewLabel;
	private TableViewer valueTable;
	private String lastDataType, lastControlType;
	private String formatCategroy, formatPattern;