tableTreeContentProvider.setForceRefresh( PreferenceLoader.loadBoolean("forceRefresh") );
	public void createTableTreeViewer(Composite parent, final CoreCommunication mldonkey) {					tableTreeViewer = new CustomTableTreeViewer ( parent,  SWT.MULTI | SWT.FULL_SELECTION );		tableTree = tableTreeViewer.getTableTree();		table = tableTree.getTable();				tableTree.setLayoutData(new GridData(GridData.FILL_BOTH | GridData.GRAB_HORIZONTAL | GridData.GRAB_VERTICAL));				tableTreeViewer.setColumnProperties(COLUMN_LABELS);		table.setLinesVisible( PreferenceLoader.loadBoolean("displayGridLines") );		table.setHeaderVisible( true );				cellEditors = new CellEditor[COLUMN_LABELS.length];		cellEditors[2] = new TextCellEditor(table);						for (int i = 0; i < COLUMN_LABELS.length; i++) {			TableColumn tableColumn = new TableColumn(table, COLUMN_ALIGNMENT[ i ]);			tableColumn.setText ( res.getString( COLUMN_LABELS[ i ] )  );			tableColumn.setWidth(MainTab.getStore().getInt(COLUMN_LABELS [ i ] ));			MainTab.getStore().setDefault(COLUMN_LABELS [ i ] + "_Resizable", true);			tableColumn.setResizable(MainTab.getStore().getBoolean(COLUMN_LABELS [ i ] + "_Resizable" ));			tableColumn.setData(COLUMN_LABELS[ i ]);									final int columnIndex = i;			tableColumn.addDisposeListener(new DisposeListener() {				public synchronized void widgetDisposed( DisposeEvent e ) {					TableColumn thisColumn = ( TableColumn ) e.widget;					MainTab.getStore().setValue(COLUMN_LABELS [ columnIndex ] , thisColumn.getWidth() );					MainTab.getStore().setValue(COLUMN_LABELS [ columnIndex ] + "_Resizable" , thisColumn.getResizable() );				}			} );					tableColumn.addListener( SWT.Selection, new Listener() {				public void handleEvent( Event e ) {					// duplicate to reset the sorter 					DownloadTableTreeSorter dTTS = new DownloadTableTreeSorter();					dTTS.setLastColumnIndex( downloadTableTreeSorter.getLastColumnIndex() );					dTTS.setLastSort( downloadTableTreeSorter.getLastSort() );					downloadTableTreeSorter = dTTS;					// set the column to sort					downloadTableTreeSorter.setColumnIndex( columnIndex );					// close all child editors and sort					tableTreeContentProvider.closeAllEditors();					tableTreeViewer.setSorter( downloadTableTreeSorter );					tableTreeContentProvider.updateAllEditors();				}				} ); 								 		}				DownloadTableTreeLabelProvider treeLabelProvider = new DownloadTableTreeLabelProvider();		treeLabelProvider.setTableTreeViewer(tableTreeViewer);		tableTreeViewer.setLabelProvider(treeLabelProvider);						tableTreeContentProvider = new DownloadTableTreeContentProvider();		tableTreeContentProvider.setUpdateBuffer( PreferenceLoader.loadInteger("displayBuffer") );		tableTreeViewer.setContentProvider(tableTreeContentProvider);		tableTreeViewer.setUseHashlookup(true);				tableTree.addTreeListener(tableTreeContentProvider);					tableTreeMenuListener = new DownloadTableTreeMenuListener(tableTreeViewer, mldonkey);				tableTreeViewer.addSelectionChangedListener(tableTreeMenuListener);		// tableTreeViewer.addTreeListener(tableTreeContentProvider);				popupMenu = new MenuManager("");		popupMenu.setRemoveAllWhenShown(true);		popupMenu.addMenuListener(tableTreeMenuListener);								tableTree.setMenu(popupMenu.createContextMenu(tableTree));				tableTreeViewer.setSorter(downloadTableTreeSorter);			tableTreeViewer.setInput( mldonkey.getFileInfoIntMap() );		mldonkey.getFileInfoIntMap().addObserver( tableTreeContentProvider );		tableTreeContentProvider.updateAllEditors();				if (PreferenceLoader.loadBoolean("tableCellEditors")) {			tableTreeViewer.setCellEditors(cellEditors);			tableTreeViewer.setCellModifier(this);		}			}