public void selectionChanged(SelectionChangedEvent event) { IStructuredSelection selection= (IStructuredSelection) event.getSelection(); Object selectedElement= selection.getFirstElement(); if (selectedElement == null) { fCurrentTreeSelection= null; fListViewer.setInput(fCurrentTreeSelection); return; } populateListViewer(selectedElement);
public void selectionChanged(final SelectionChangedEvent event) { BusyIndicator.showWhile(getTable().getShell().getDisplay(), new Runnable() { public void run() { IStructuredSelection selection= (IStructuredSelection) event.getSelection(); Object selectedElement= selection.getFirstElement(); if (selectedElement == null) { fCurrentTreeSelection= null; fListViewer.setInput(fCurrentTreeSelection); return; } populateListViewer(selectedElement); } });
	public void selectionChanged(SelectionChangedEvent event) {		IStructuredSelection selection= (IStructuredSelection) event.getSelection();		Object selectedElement= selection.getFirstElement();		if (selectedElement == null) {			fCurrentTreeSelection= null;			fListViewer.setInput(fCurrentTreeSelection);			return;		}		populateListViewer(selectedElement);	}