result.setDownloading();
result.setDownloading( true );
	public void downloadSelected() {						Download download = new Download( core );		int counter = 0;		for ( int i = 0; i < selectedResults.size(); i++ ) {			ResultInfo result = ( ResultInfo ) selectedResults.get( i );			download.setPossibleNames( result.getNames() );				download.setResultID( result.getResultID() );			download.setForce( false );			if ( result.isDownloading() && result.getHistory() ) {				Shell shell = ( ( TableViewer ) tableViewer ).getTable().getShell();				MessageBox box = new MessageBox( shell, SWT.ICON_WARNING );				box.setText( G2GuiResources.getString( "ST_DOWNLOADED_TEXT" ) );				box.setMessage( G2GuiResources.getString( "ST_DOWNLOADED_MSG" ) );				box.open();			}			else if ( !result.getHistory() ) {				Shell shell = ( ( TableViewer ) tableViewer ).getTable().getShell();				MessageBox box = new MessageBox( shell, SWT.ICON_INFORMATION | SWT.YES | SWT.NO );				box.setText( G2GuiResources.getString( "ST_HISTORY_TEXT" ) );				box.setMessage( G2GuiResources.getString( "ST_HISTORY_MSG" ) );				int rc = box.open();				if ( rc == SWT.YES ) {					download.setForce( true );					download.send();					result.setDownloading();					counter++;				}			}			else {				download.send();				result.setDownloading();				counter++;			}		}		download = null;		/* update the statusline */		String statusline = G2GuiResources.getString( "ST_STARTED_DOWNLOADS" ) + counter;		SearchTab parent = ( SearchTab ) cTabItem.getParent().getData();		parent.getMainTab().getStatusline().update( statusline );			/* update the downloaded tableitems */		if ( counter > 0 )			tableViewer.refresh();	}