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
}
			if ( defaultValue != null )
			{
				defaultValueEditor.setText( defaultValue );
			}
		}
		updateMessageLine( );
	}
	private void initFormatField( )
	{
		if ( ( DesignChoiceConstants.PARAM_TYPE_DECIMAL.equals( lastControlType ) && DesignChoiceConstants.PARAM_TYPE_FLOAT.equals( getSelectedDataType( ) ) )
				|| ( DesignChoiceConstants.PARAM_TYPE_FLOAT.equals( lastControlType ) && DesignChoiceConstants.PARAM_TYPE_DECIMAL.equals( getSelectedDataType( ) ) ) )
		{
			return;
		}
		IChoiceSet choiceSet = getFormatChoiceSet( getSelectedDataType( ) );
		if ( choiceSet == null )
		{
			formatCategroy = formatPattern = null;
		}
		else
		{
			if ( !loading
					|| ( ( inputParameter.getCategory( ) == null && inputParameter.getPattern( ) == null ) ) )
			{
				if ( DesignChoiceConstants.PARAM_TYPE_STRING.equals( getSelectedDataType( ) ) )
				{
					formatCategroy = choiceSet.findChoice( DesignChoiceConstants.STRING_FORMAT_TYPE_UNFORMATTED )
							.getName( );
				}