if (selection instanceof IStructuredSelection) { Iterator iter= ((IStructuredSelection)selection).iterator(); while (iter.hasNext()) { result.add(iter.next());
if (fTable != null) { ISelection selection= fTable.getSelection(); if (selection instanceof IStructuredSelection) { Iterator iter= ((IStructuredSelection)selection).iterator(); while (iter.hasNext()) { result.add(iter.next()); }
	public List getSelectedElements() {		ISelection selection= fTable.getSelection();				List result= new ArrayList();		if (selection instanceof IStructuredSelection) {			Iterator iter= ((IStructuredSelection)selection).iterator();			while (iter.hasNext()) {				result.add(iter.next());			}		}		return result;	}