Bug 153026 [regression]Datetime values cannot be imported to report parameter with datetime type.
Description: Datetime values cannot be imported to report parameter with datetime type. Steps to reproduce: 1. New birt sample data source and dataset from table ORDERS. 2. New a report paramter, datetime, listBox, static. 3. Click import button, select all values from ORDERDATE column, click OK Expected result: All values are imported and default value is not set. actual result: Only the first value is imported and it's set as default value.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/ImportValueDialog.java
private void updateButtons( )
	{
		add.setEnabled( valueList.getSelectionCount( ) != 0
				|| ( valueEditor.getText( ).trim( ).length( ) != 0 && selectedList.indexOf( valueEditor.getText( )
						.trim( ) ) == -1 ) );
		addAll.setEnabled( valueList.getItemCount( ) != 0 );
		remove.setEnabled( selectedList.getSelectionCount( ) != 0 );
		removeAll.setEnabled( selectedList.getItemCount( ) != 0 );
		getOkButton( ).setEnabled( selectedList.getItemCount( ) != 0 );
	}
	protected void okPressed( )
	{
		setResult( selectedList.getItems( ) );
		super.okPressed( );
	}
	private DataSetHandle getDataSetHandle( )
	{
		return SessionHandleAdapter.getInstance( )
				.getReportDesignHandle( )
				.findDataSet( currentDataSetName );
	}
	public boolean close( )
	{
		if ( engine != null )
		{
			engine.shutdown( );
		}
		return super.close( );
	}
}