Bug 114903 Default values are not shown in Show Report Parameters' dialog
Description: Default values are not shown in Show Report Parameters' dialog Steps to reproduce: 1. Create several report parameters, only set default value for them. 2. Drag them to Layout 3. Preview and click Show Report Parameters button. Expected result: Default values are shown in value box, so I can modify the parameter which I want to change. Actual result: In Enter Parameters dialog, all values were empty, I just wanted to modify one parameter and found that I had to input all values.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
{
						if ( !containValue( null, importValues[i], COLUMN_VALUE ) )
						{
							SelectionChoice choice = StructureFactory.createSelectionChoice( );
							choice.setValue( importValues[i] );
							choiceList.add( choice );
						}
					}
					refreshValueTable( );
				}
			}
		} );
		changeDefault = new Button( buttonBar, SWT.TOGGLE );
		changeDefault.addSelectionListener( new SelectionAdapter( ) {
			public void widgetSelected( SelectionEvent e )
			{
				SelectionChoice choice = (SelectionChoice) ( (IStructuredSelection) valueTable.getSelection( ) ).getFirstElement( );
				if ( isDefaultChoice( choice ) )
				{
					defaultValue = null;
				}
				else
				{
					defaultValue = choice.getValue( );
				}
				refreshValueTable( );
				updateMessageLine( );
				updateButtons( );
			}
		} );