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
removeSelected( );
			}
			public void widgetSelected( SelectionEvent e )
			{
				updateButtons( );
			}
		} );
	}
	private void setListLayoutData( List list )
	{
		GridData gd = new GridData( GridData.FILL_BOTH );
		gd.heightHint = 200;
		gd.widthHint = 200;
		list.setLayoutData( gd );
	}
	private void addSelected( )
	{
		String[] selected = valueList.getSelection( );
		int selectedIndex = valueList.getSelectionIndex( );
		int oldListSize = valueList.getItemCount( );
		if ( selected.length == 0 )
		{
			selected = new String[]{
				valueEditor.getText( )
			};
		}
		for ( int i = 0; i < selected.length; i++ )
		{
			if ( selectedList.indexOf( selected[i] ) == -1 )
			{