for ( int i = 0; i < driverViewer.getTable( ).getItemCount( ); i++ ) { TableItem ti = driverViewer.getTable( ).getItem( i );  Object element = ti.getData( );  String c1 = "", c2 = "", c3 = "";  if ( element instanceof Map.Entry ) { Map.Entry entry = (Map.Entry) element; DriverInfo driverInfo = (DriverInfo) entry.getValue( );  c1 = entry.getKey( ).toString( ); c2 = driverInfo.getDisplayName( ); c3 = driverInfo.getUrlTemplate( ); }  ti.setText( 0, "" ); ti.setText( 1, c1 ); ti.setText( 2, c2 ); ti.setText( 3, c3 ); }
refreshDriver( );
	private void refreshDriverViewer( )	{		//TODO: a temporary solution for table refresh error		driverViewer.setInput( null );		driverViewer.setInput( driverMap );		for ( int i = 0; i < driverViewer.getTable( ).getItemCount( ); i++ )		{			TableItem ti = driverViewer.getTable( ).getItem( i );			Object element = ti.getData( );			String c1 = "", c2 = "", c3 = ""; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$			if ( element instanceof Map.Entry )			{				Map.Entry entry = (Map.Entry) element;				DriverInfo driverInfo = (DriverInfo) entry.getValue( );				c1 = entry.getKey( ).toString( );				c2 = driverInfo.getDisplayName( );				c3 = driverInfo.getUrlTemplate( );			}			ti.setText( 0, "" ); //$NON-NLS-1$			ti.setText( 1, c1 );			ti.setText( 2, c2 );			ti.setText( 3, c3 );		}	}