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
private String formatPattern;
	private String formatCategroy;
	private boolean loading = true;
	private Button isRequired;
	private int maxStrLengthProperty;
	private int maxStrLengthOption;
	private String PROPERTY_LABEL_STRING[] = {
			LABEL_PARAM_NAME,
			LABEL_GROUP_PROMPT_TEXT,
			LABEL_PARAMTER_PROMPT_TEXT,
			LABEL_DATA_TYPE,
			LABEL_DISPLAY_TYPE,
			LABEL_DEFAULT_VALUE
	};
	private String OPTION_LABEL_STRING[] = {
			LABEL_HELP_TEXT, LABEL_FORMAT_AS, LABEL_LIST_LIMIT
	};
	protected int getMaxStrLength( String string[], Control control )
	{
		int len = UIUtil.getMaxStringWidth( string, control );
		return len;
	}
	/**
	 * 
	 * Constructor.
	 * 
	 * @param parentShell
	 * @param title
	 */
	public CascadingParametersDialog( Shell parentShell, String title )