((ListViewer)fViewer).remove(elements);
((ListViewer)fViewer).add(newElements);
			public void run() {				Control ctrl= fViewer.getControl();				if (ctrl != null && !ctrl.isDisposed()) {					if (fViewer instanceof AbstractTreeViewer)						((AbstractTreeViewer)fViewer).remove(elements);					else if (fViewer instanceof ListViewer)						((ListViewer)fViewer).remove(elements);					else if (fViewer instanceof TableViewer)						((TableViewer)fViewer).remove(elements);				}			}