Bug 168808 Display text is lost after launching import values dialog
Steps to reproduce: 1.new a parameter; 2.select list box control type; 3.press "Import Values" button to import some values; 4.assign display texts for the imported values; 5.press "Import Values" button to launch import values dialog again; 6.press ok button on dialog; Expected result: The previous assigned display texts are remained. Actual result: The previous display texts are lost.
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( );
	}
}