while (enum.hasNext()) { Object element= enum.next(); doAction(element); }
try { while (enum.hasNext()) { Object element= enum.next(); doAction(element); } } catch(DebugException e) {
	public void run(IAction action) {		Iterator enum= getStructuredSelection().iterator();		//selectionChanged has already checked for correct selection		while (enum.hasNext()) {			Object element= enum.next();			doAction(element);		}