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/CascadingParametersDialog.java
private void setCellEditorItems( )
	{
		( (ComboBoxCellEditor) cellEditors[1] ).setItems( getDataSetColumns( true ) );
		( (ComboBoxCellEditor) cellEditors[2] ).setItems( getDataSetColumns( false ) );
	}
	private IStructuredContentProvider contentProvider = new IStructuredContentProvider( ) {
		public Object[] getElements( Object inputElement )
		{
			ArrayList elementsList = new ArrayList( inputParameterGroup.getParameters( )
					.getContents( ) );
			if ( newParameter == null )
			{
				newParameter = DesignElementFactory.getInstance( )
						.newScalarParameter( null ); 
				try
				{
					newParameter.setControlType( DesignChoiceConstants.PARAM_CONTROL_LIST_BOX );
					newParameter.setValueType( DesignChoiceConstants.PARAM_VALUE_TYPE_DYNAMIC );
				}
				catch ( SemanticException e )
				{
					ExceptionHandler.handle( e );
				}
			}
			elementsList.add( newParameter );
			return elementsList.toArray( );
		}
		public void dispose( )
		{
		}