ImportValueDialog dialog = new ImportValueDialog( type );
List choices = new ArrayList( ); for ( Iterator iter = choiceList.iterator( ); iter.hasNext( ); ) { SelectionChoice choice = (SelectionChoice) iter.next( ); choices.add( choice.getValue( ) ); } ImportValueDialog dialog = new ImportValueDialog( type, choices );
			public void widgetSelected( SelectionEvent e )			{				String type = getSelectedDataType( );				ImportValueDialog dialog = new ImportValueDialog( type );				if ( dialog.open( ) == OK )				{					String[] importValues = (String[]) dialog.getResult( );					ArrayList valueToAddList = new ArrayList( importValues.length );					for ( int i = 0; i < importValues.length; i++ )					{						if ( !containValue( null, importValues[i], COLUMN_VALUE ) )						{							valueToAddList.add( importValues[i] );						}					}					for ( Iterator iter = valueToAddList.iterator( ); iter.hasNext( ); )					{						SelectionChoice choice = StructureFactory.createSelectionChoice( );						choice.setValue( (String) iter.next( ) );						choiceList.add( choice );					}					refreshValueTable( );				}			}