Bug 177439 Need an easy way to determine default value for a dynamic parameter
Currently, I have to bring up the data set editor, preview the results in the data set and make a mental note of the value to use for a report parameter that depends on a data set. It would be nice to have a drop down on the default value field, such as <Select value> which when selected queries the data set and presents me with a list to select from.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/CascadingParametersDialog.java
propertiesGroup.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
		createLabel( propertiesGroup, LABEL_PARAM_NAME, maxStrLengthProperty );
		paramNameEditor = new Text( propertiesGroup, SWT.BORDER | SWT.READ_ONLY );
		paramNameEditor.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
		paramNameEditor.addModifyListener( new ModifyListener( ) {
			public void modifyText( ModifyEvent e )
			{
				valueTable.refresh( selectedParameter );
			}
		} );
		createLabel( propertiesGroup,
				LABEL_PARAMTER_PROMPT_TEXT,
				maxStrLengthProperty );
		promptText = new Text( propertiesGroup, SWT.BORDER );
		promptText.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
		createLabel( propertiesGroup, LABEL_DATA_TYPE, maxStrLengthProperty );
		dataTypeChooser = new Combo( propertiesGroup, SWT.DROP_DOWN
				| SWT.READ_ONLY );
		dataTypeChooser.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
		dataTypeChooser.setItems( ChoiceSetFactory.getDisplayNamefromChoiceSet( DATA_TYPE_CHOICE_SET ) );
		dataTypeChooser.addSelectionListener( new SelectionAdapter( ) {
			public void widgetSelected( SelectionEvent e )
			{
				if ( selectedParameter != null
						&& selectedParameter != newParameter )
				{
					changeDataType( DATA_TYPE_CHOICE_SET.findChoiceByDisplayName( dataTypeChooser.getText( ) )
							.getName( ) );
					try
					{