Bug 118757 Focus is lost when select a value during importing values for parameter
"Description: Focus is lost when select a value during importing values for parameter. Steps to reproduce: 1.Create a parameter.Select type as ""List Box"". 2.Click on ""import values"". 3.Select a value from left pane to right pane. 4.After click on "">>"". 5.Select a value from right pane to left pane 6.After click on "<" Actual result: focus is lost."
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/ImportValueDialog.java
}
			}
			catch ( PatternSyntaxException e )
			{
			}
		}
		updateButtons( );
	}
	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 );
	}
}